R/xml.R
add_logit_tables_xml.Rd
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.
add_logit_tables_xml(dot, data, header, base_logit_header = header)
The current state of the pipeline started from create_xml
The tibble of data to add to the conversion
The header tag to can be looked up in the header file to
convert data
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.
A "data structure" to hold the various parts needed to run the model interface CSV to XML conversion.
For documentation of the options for logit choice functions in GCAM, see http://jgcri.github.io/gcam-doc/choice.html.