get_historical_land_data: Get historical land use data

Description Usage Arguments Details Value

View source: R/utility-functions-analysis.R

Description

Fetch the historical land use data and filter to the desired regions, years, and GCAM commodities.

Usage

1
get_historical_land_data(regions = NULL, years = NULL, commodities = NULL)

Arguments

regions

Regions to keep in filtered data. (Default is use all regions.)

years

Years to keep in filtered data. (Default is use all years.). Note, this function calculates the linear trend in historic data; therefore subsetting to different years with this argument will result in different trend lines.

commodities

GCAM commodities to keep in filtered data (Default is to use all commodities.)

Details

All of the runs in a single ensemble should have the same regions, years, and commodities, so generally it will only be necessary to run this function once at the beginning of the analysis. The resulting data can be matched to the model results for each of the models run in order to calculate Bayesian likelihoods and objective function evaluations.

Value

Data frame containing the filtered data.


JGCRI/gcamland documentation built on Oct. 6, 2020, 5:30 p.m.