Processes a list as containing the required information to
generate a base XML file for OpenMalaria. This file is used to generate
the scenarios for simulation.
Usage
createBaseXml(data = NULL, replace = "ask")
create_base_xml(data = NULL, replace = "ask")
Arguments
- data
List containing all information
- replace
Overwrite output XML if it is already present.
Possible values are TRUE, FALSE, or "ask".
Details
The 'data' argument is a nested list resembling the input XML of
OpenMalaria. The attribute names and possible values can be found in
OpenMalaria's schema documentation. Some attributes are not part of the
official schema, like 'expName'. More details can be found in the
vignette.