filterInputData: filterInputData

View source: R/filterInputData.R

filterInputDataR Documentation

filterInputData

Description

Filters given data (input) according to available default variables (cfg). Pre-checks are performed about the consistency of the input data (e.g. illegal or missing variables) and the status (out) returned.

Usage

filterInputData(input, cfg = "CDLINKS", globalenv = FALSE, out = NULL)

Arguments

input

Named list with elements available for check functions

cfg

Project configuration that should be used. Either a project name (currently available: "CDLINKS"), a path to a config file or a data frame specifying available variables and corresponding properties as returned by iamProjectConfig().

globalenv

Boolean deciding whether functions in the global environment should be considered

out

List with status from pre-checks, e.g. illegal or missing variables.

Value

List with 1) filtered input and 2) status-output about the consistency of the input data

Author(s)

Cornelia Auer


IAMconsortium/iamc documentation built on July 8, 2023, 11:35 p.m.