pip_load_inventory: Load inventory of welfare aggregate datasets

View source: R/pip_load_inventory.R

pip_load_inventoryR Documentation

Load inventory of welfare aggregate datasets

Description

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

## Not run: 
pip_load_inventory()

## End(Not run)

PIP-Technical-Team/pipload documentation built on March 22, 2022, 3:22 a.m.