getData_raw: getData_raw

Description Usage Arguments Value Author(s) See Also Examples

View source: R/getData_raw.R

Description

Function to retrieve validation data from the library.

Usage

1
getData_raw(collections,level="glo",historical=NULL,datasources=NULL,query=NULL)

Arguments

collections

A vector of strings specifying the name of the collections in the library shall be accessed to retrieve data.

level

The requested aggregation level of the data. Can be "cell","country","reg" or "glo".

historical

Determines what kind of data is returned. Either historical data (TRUE), projections (FALSE) or both (NULL).

datasources

A vector containing the names of the datasets that shall be returned. If NULL (default) all datasets belonging to one of the specified collections are returned.

query

an alternative aggregation query for groupAggregate if the default query should not be used.

Value

A list of magpie objects. The substructure is out$collection$data$historical/projection$datasource. Additionally, units are provided under out$collection$unit.

Author(s)

Markus Bonsch

See Also

validationPlot,getData,add_aggrType,show_aggrTypes,addMapping,addData_raw

Examples

1
## Not run: getData_raw(collection="cropland_physical",level="glo")

pik-piam/validation documentation built on Nov. 5, 2019, 12:50 a.m.