Save scenario object on disk in parquet format using `arrow` package.
Source:R/arrow.R
save_scenario.Rd
Save scenario object on disk in parquet format using `arrow` package.
Usage
save_scenario(
scen,
path = scen@path,
format = "parquet",
overwrite = TRUE,
clean_start = FALSE,
write_log = TRUE,
verbose = TRUE
)
Arguments
- scen
scenario object.
- path
character. Path to scenario directory.
- format
file format (currently `parquet` only, arrow or feather will be implemented in further releases).
- overwrite
logical. Overwrite existing scenario directory.
- clean_start
logical. Clean scenario directory before saving.
- write_log
logical. Write (update) logfile.
- verbose
logical. Print messages.