Save a cleaned version of the survey data in the cache survey data directory.
create_cache_file(
pipeline_inventory,
pip_data_dir,
cache_svy_dir,
tool = c("PC", "TB"),
compress = 100,
verbose = FALSE,
force = FALSE,
cpi_table,
ppp_table,
pfw_table,
pop_table
)
data.table: Pipeline inventory table.
character: Input folder for the raw survey data.
character: Output folder for the cached survey data.
character: Either "PC" or "TB" for poverty calculator and Table Baker, receptively
numeric: Compression level used in fst::write_fst()
.
boolean: If TRUE additional messages are printed to the console.
logical: if TRUE, all files will be generate again.
data.table: A table with the price framework file.
data.table: A table with population data.
list: creation status and cache data availability