Skip to contents

This function was deprecated because DLW data will loaded directly from a flat folder structure which allows bypassing the use of datalibweb in Stata, making the pipdp Stata package useless.From now on, use the dlw functions: pip_load_dlw_inventory, pip_find_dlw, and pip_load_dlw.

Usage

pip_load_inventory(
  root_dir = Sys.getenv("PIP_ROOT_DIR"),
  maindir = pip_create_globals(root_dir)$PIP_DATA_DIR,
  inv_file = fs::path(maindir, "_inventory/inventory.fst")
)

Arguments

root_dir

character: root directory of the PIP data

maindir

character: main directory. By default it uses pip_create_globals(root_dir)$PIP_DATA_DIR

inv_file

character: file path to be loaded.

Value

data.table

Examples

if (FALSE) {
pip_load_inventory()
}