Skip to content

load_criteria

Description

Loads and returns the criteria definitions contained in the package.

Usage

load_criteria(components, csv_engine = "read.csv")

Arguments

  • components: A string or list/vector of strings. The return type changes depending on whether a list/vector or a single string is provided.
  • csv_engine: The method for loading CSV files if these are supposed to be loaded. Must be one of read.csv, readr, and data.table. Defaults to read.csv.

Value

Returns the loaded data. This data can be a dataframe or a nested list. If multiple data components are requested, then the components are returned inside a keyworded list.

Examples

df.criteria.thresholds <- load_criteria('criteria-thresholds')
print(df.criteria.thresholds)

list.criteria.metadata <- load_criteria('criteria-metadata')
print(list.criteria.metadata)

criteria.defs <- load_criteria(c('criteria-thresholds', 'criteria-metadata', 'reference-data'))
print(criteria.defs[['criteria-metadata']])

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