Skip to contents

takes dlw inventory in csv form in the official folder structure and format it to be included in the pipeline. The original csv file is updated each time the dlw inventory is updated

Usage

update_dlw_inventory(
  root_dir = Sys.getenv("PIP_ROOT_DIR"),
  dlw_dir = pipfun::pip_create_globals(root_dir)$DLW_RAW_DIR,
  force = FALSE
)

Arguments

root_dir

character: root directory of the PIP data

dlw_dir

character: path of dlw raw data

force

logical: force update of data

Value

logical. TRUE if data changed. FALSE otherwise

Examples

update_dlw_inventory()
#> ! root_dir is not defined. Directory paths will lack network-drive root
#> directory
#> Error: [ENOENT] Failed to search directory '/pip_ingestion_pipeline/pc_data/cache/clean_survey_data': no such file or directory