Run the entire data system.
driver(
all_data = empty_data(),
stop_before = NULL,
stop_after = NULL,
return_inputs_of = stop_before,
return_outputs_of = stop_after,
return_data_names = union(inputs_of(return_inputs_of), outputs_of(return_outputs_of)),
return_data_map_only = FALSE,
write_outputs = FALSE,
write_xml = write_outputs,
outdir = OUTPUTS_DIR,
xmldir = XML_DIR,
quiet = FALSE
)
Data to be pre-loaded into data system
Stop immediately before this chunk (character)
Stop immediately after this chunk (character)
Return the data objects that are inputs for these chunks (character).
If stop_before
is specified, by default that chunk's inputs are returned
Return the data objects that are output from these chunks (character)
If stop_after
is specified, by default that chunk's outputs are returned
Return these data objects (character). By default this is the union of return_inputs_of
and return_outputs_of
Return only the precursor information? (logical) This overrides
the other return_*
parameters above
Write all chunk outputs to disk?
Write XML Batch chunk outputs to disk?
Location to write output data (ignored if write_outputs
is FALSE
)
Location to write output XML (ignored if write_outputs
is FALSE
)
Suppress output?
A list of all built data (or a data map tibble if requested).
The driver loads any necessary data from input files, runs all code chunks in an order dictated by their dependencies, does error-checking, and writes outputs. For more details, see the relevant wiki page at https://github.com/bpbond/gcamdata/wiki/Driver.