retrieveData: retrieveData

Description Usage Arguments Author(s) See Also Examples

View source: R/retrieveData.R

Description

Function to retrieve a predefined collection of calculations for a specific regionmapping.

Usage

1
retrieveData(model, rev = 0, dev = "", cachetype = "rev", ...)

Arguments

model

The names of the model for which the data should be provided (e.g. "magpie").

rev

data revision which should be used/produced. Format must be compatible to numeric_version.

dev

development suffix to distinguish development versions for the same data revision. This can be useful to distinguish parallel lines of development.

cachetype

defines what cache should be used. "rev" points to a cache shared by all calculations for the given revision and sets forcecache to TRUE, "def" points to the cache as defined in the current settings and does not change forcecache setting.

...

(Optional) Settings that should be changed using setConfig (e.g. regionmapping). or arguments which should be forwarded to the corresponding fullXYZ function (Please make sure that argument names in full functions do not match settings in setConfig!)

Author(s)

Jan Philipp Dietrich, Lavinia Baumstark

See Also

calcOutput,setConfig

Examples

1
2
3
4
## Not run: 
retrieveData("example", rev = "2.1.1", dev = "test", regionmapping = "regionmappingH12.csv")

## End(Not run)

madrat documentation built on Oct. 11, 2021, 9:10 a.m.