Load criteria definitions.
Description
Loads and returns the criteria definitions contained in the package.
Usage
load_criteria(
components = NULL,
load_all = FALSE,
csv_engine = "read.csv",
criteria_types = NULL,
reference_subset = NULL
)
Arguments
components: A string or character vector of component names. The return type changes depending on whether a single string or a vector is provided. Available components:"criteria-thresholds","criteria-descriptions","criteria-variables","criteria-types","reference-data","reference-metadata","sources".load_all: Logical. Load all available components. Cannot be combined withcomponents.csv_engine: The method for loading CSV files. One of"read.csv"(default),"readr", or"data.table".criteria_types: Character string or vector. When loading"criteria-thresholds"or"criteria-descriptions", restrict to these criteria types only. Defaults to all types.reference_subset: Character string or vector. When loading"reference-data"or"reference-metadata", restrict to these datasets only. Defaults to all datasets.
Value
The loaded data. A data frame or named list for a single component; a named list of those when multiple components are requested.
Examples
df_thresholds <- load_criteria("criteria-thresholds")
print(df_thresholds)
list_metadata <- load_criteria("criteria-descriptions")
print(list_metadata)
criteria <- load_criteria(c("criteria-thresholds", "criteria-descriptions"))
print(criteria[["criteria-descriptions"]])
Scenario Vetting Criteria R-package
Description
Common definitions of vetting criteria for IAM scenarios
Seealso
Useful links:
Author
Philipp C. Verpoort philipp.verpoort@pik-potsdam.de
Keyword
Assessment
Keyword
Climate
Keyword
Criteria
Keyword
Emissions
Keyword
Energy
Keyword
Integrated
Keyword
Land-use
Keyword
Modelling
Keyword
Pathways
Keyword
Scenario
Keyword
Validation
Keyword
Vetting