Description Usage Arguments Details Value
An rgcam project file is restructured so that queries are the top-layer of a list, with entry holding query data for all scenarios.
1 |
proj |
rgcam project, a list of scenarios |
transf |
list of functions, each named for query it restructures |
Any queries that have a 'GHG' column are separated by GHG. See breakoutGHGs() for details.
The processed project data is assigned class according to the queries it holds. See system.file("classes.csv") for what queries compose each class. Currently throws an error if the project data is assigned more than 1 query-class because this would disrupt method dispatch.
The final step is to calculate whatever additional queries are possible given those already contained in project data. For example, in the land class, if queries "Land Allocation" and "Ag Production by Crop Type" are present, "Average Yield" will be calculated automatically. See calculateQueries() in script calculations.R for the queries that can be calculated for each class.
list of dataframes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.