View source: R/getReportINMS.R
getReportINMS | R Documentation |
Puts together a report for the INMS project based on a MAgPIE gdx file
getReportINMS(
gdx,
file = NULL,
scenario = NULL,
filter = c(2, 7),
detail = TRUE,
dir = ".",
...
)
gdx |
GDX file |
file |
a file name the output should be written to using write.report. If NULL the report is returned instead as a MAgPIE object. |
scenario |
Name of the scenario used for the list-structure of a reporting object (x$scenario$MAgPIE). If NULL the report is returned instead as a MAgPIE object. |
filter |
Modelstat filter. Here you have to set the modelstat values for which results should be used. All values for time steps in which the modelstat is different or for which one of the previous modelstats were different are set to NA. |
detail |
Crop specific (TRUE) or aggregated outputs (FALSE) |
dir |
directory with spamfiles |
... |
additional arguments for write.report. Will only be taken into account if argument "file" is not NULL. |
A MAgPIE object containing the report in the case that "file" is NULL.
Benjamin Bodirsky, Florian Humpenoeder
## Not run:
x <- getReport(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.