Update correspondence inventory file

pip_update_cache_inventory(
  pipeline_inventory,
  pip_data_dir,
  cache_svy_dir,
  tool = c("PC", "TB"),
  save = TRUE,
  load = FALSE,
  verbose = FALSE
)

Arguments

pipeline_inventory

data.table: Pipeline inventory table.

pip_data_dir

character: Input folder for the raw survey data.

cache_svy_dir

character: Output folder for the cached survey data.

tool

character: Either "PC" or "TB" for poverty calculator and Table Baker, receptively

save

logical. If true, it saves, if FALSE it loads the data

load

logical. If true, loads data. if False return TRUE invisibly

verbose

logical: Whether to display messages. Default is TRUE

Value

TRUE if file is update. FALSE If no data is in directory