add_logit_tables_xml: Add a table which has definitions with logit.type to be...

Description Usage Arguments Value Note Author(s)

View source: R/xml.R

Description

Such tables need to get partitioned into a series of tables due to limitations in the way that the Model Interfaces processes information. In particular all XML tag names have to be specified in the header and can not be set dynamically as is the intention with the logit.type.

Usage

1
add_logit_tables_xml(dot, data, header, base_logit_header = header)

Arguments

dot

The current state of the pipeline started from create_xml

data

The tibble of data to add to the conversion

header

The header tag to can be looked up in the header file to convert data

base_logit_header

The base header tag to use for the generated logit type tables such that paste(base_logit_header, logit.type, sep = "_") corresponds to the appropriate model interface header. Note by default this value is the same as header as often this is the case but certainly not always.

Value

A "data structure" to hold the various parts needed to run the model interface CSV to XML conversion.

Note

For documentation of the options for logit choice functions in GCAM, see http://jgcri.github.io/gcam-doc/choice.html.

Author(s)

Pralit Patel


rohmin9122/gcam-korea-release documentation built on Nov. 26, 2020, 8:11 a.m.