Provide functions for converting GCAM output into the format used by most IAM experiments to enter results into their databases. Users provide a table of desired outputs, along with options (such as filtering and aggregation), and the package runs the necessary GCAM queries (no more than once per query) and passes the results to the functions that produce the output.
There are two main user-visible functions in the
gcamrpt package. The
first is the
listVariables function. This function returns a
list of the variables the system knows how to produce, which can be helpful
in putting together your control files.
The main entry point into the report generator is the
function. The generate function takes the names of two control files and a
string giving the location of your GCAM output databases. There are also a
variety of options that determine how the output is formatted. These options
and the the control file format are described in more detail in the
generate('my-scenarios.ctl', 'my-vars.ctl', '~/wrk/data/gcam-dbfiles', fileformat='CSV')
Examples of these files can be found here:
To use this package it first must be installed. You can do this using the R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.