Description Usage Arguments Details Value TODO
View source: R/utility-functions-analysis.R
Fetch land use results and aggregate to region, commodity, year, and scenario.
1 | get_scenario_land_data(aScenarioList)
|
aScenarioList |
List of ScenarioInfo structures for the runs. |
The name of the input file is constructed from the ScenarioInfo structure's
mOutputDir
and mFileName
attributes. It is permissible to have
multiple output directories and/or file names in the list of structures
passed as an argument. Each file will be read only once.
The return value is a list of data frames, indexed by the scenario name. The data frames returned this way have columns for region, land-type, year, and area.
List of data frames containing land data.
Currently the land use results don't have a region column, so we can't aggregate by region (we have to assume that the results are all for a single region). Once we add a region column to the model output, we will want to add region to the grouping variables for this function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.