Semi-automate the extraction of key quantities from model results and time series data from exported figure/table .rda files for eventual transmittance to SIS via asar::export_to_sis().

extract_sis_data(
  sis_data_dir = getwd(),
  key_quantities_dir = getwd(),
  figures_tables_dir = getwd()
)

Arguments

sis_data_dir

Path. Location to save the sis_assmt_template.csv and sis_ts_template.csv files or, if present, the location of the existing sis_assmt_template.csv file.

Default: The working directory.

key_quantities_dir

Path. Location of the existing key_quantities.csv file.

Default: The working directory.

figures_tables_dir

Path. Location of the existing 'figures' and 'tables' directories.

Default: The working directory.

Details

See the "Automating data extraction for SIS" vignette for a detailed overview of the workflow and requirements for this function.

Examples

if (FALSE) { # \dontrun{
extract_sis_data(
  sis_data_dir = getwd(),
  key_quantities_dir = "my_dir",
  figures_tables_dir = "my_other_dir"
)
} # }