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

pip_load_dlw_inventory(
  root_dir = Sys.getenv("PIP_ROOT_DIR"),
  dlw_dir = pip_create_globals(root_dir)$DLW_RAW_DIR
)

Arguments

root_dir

character: root directory of the PIP data

dlw_dir

character: path of datalibweb raw data

Value

data.table

Examples

pip_load_dlw_inventory()
#> ! root_dir is not defined. Directory paths will lack network-drive root
#> directory
#> Error: [EACCES] Failed to make directory '/PIP-Data_QA': permission denied