add_node_equiv_xml: add_node_equiv_xml

View source: R/xml.R

add_node_equiv_xmlR Documentation

add_node_equiv_xml

Description

Add a table to an XML pipeline that instructs the ModelInterface to treat tags in the same class as the same when enabled, thus not requiring multiple headers for instance to read in a share-weight into a technology intermittent-technology or tranTechnology. A user taking advantage of this feature would then read this table early in the XML pipeline.

Usage

add_node_equiv_xml(dot, equiv_class)

Arguments

dot

The current state of the pipeline started from create_xml

equiv_class

A name of the equivalence class to add. This could be any key in the list XML_NODE_EQUIV.

Value

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

Author(s)

Pralit Patel


JGCRI/gcamdata documentation built on March 21, 2023, 2:19 a.m.