addMIBatchCSV | R Documentation |
Parse the raw output of a GCAM batch query and add them into a project.
addMIBatchCSV(
fn,
proj,
clobber = FALSE,
transformations = NULL,
saveProj = TRUE,
saveProjEach = FALSE,
warn.empty = TRUE
)
fn |
Name of the file containing the output from the GCAM Model Interface. |
proj |
Project to add extracted results to. Can be either a project data structure or the name of a project data file. The file will be created if it doesn't already exist. |
clobber |
If |
transformations |
Transformation functions to apply to the queries (see details). |
saveProj |
A flag to save the project to disk after data has been added.
A user may want to avoid it if they are for instance calling this method several
times and would prefer to save at the end. Users can always save at anytime by
calling |
saveProjEach |
A flag to save the project to disk after each query has completed. This would be useful if a user suspects a failure in the middle of running queries and would like to not loose progress made. |
warn.empty |
Flag: issue warning when a query returns an empty table |
This function could be usefult for users who have exsisting CSV batch query output they would like to import without having to re-run the queries.
The project dataset with the new scenario added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.