Save survey data to .fst file in specified output directory.
save_survey_data(
dt,
cols = NULL,
output_dir,
cache_filename,
future_plan = c("sequential", "multisession", "callr"),
compress,
save = TRUE,
load = FALSE,
verbose = FALSE
)
Data frame from cache to be saved
character: Vector with columns to save. If NULL all columns are saved.
character: Output folder.
character: Vector with new names for microdata.
character: future
plan to use.
numeric: Compression level used in fst::write_fst()
.
logical: if TRUE save data file. Default is TRUE
logical: if TRUE loads data. Default is FALSE and returns file directory path
logical: Whether to display messages. Default is TRUE