Process survey data to cache file

process_svy_data_to_cache(
  survey_id,
  cache_id,
  pip_data_dir,
  cache_svy_dir,
  compress = 100,
  cols = NULL,
  cpi_table,
  ppp_table,
  pfw_table,
  pop_table
)

Arguments

survey_id

character: Original Survey ID

cache_id

character: cache id vector

pip_data_dir

character: Input folder for the raw survey data.

cache_svy_dir

character: Output directory

compress

numeric: Compression level used in fst::write_fst().

cols

character: vector of variables to keep. Default is NULL.

cpi_table

data.table: A table with CPI data.

ppp_table

data.table: A table with PPP data.

pfw_table

data.table: A table with the price framework file.

pop_table

data.table: A table with population data.

Value

data frame with status of process