Load or Update PIP microdata inventory. Wrapper of function pip_load_inventory and pip_update_inventory
pip_inventory.Rd
Load or Update PIP microdata inventory. Wrapper of function pip_load_inventory and pip_update_inventory
Usage
pip_inventory(
action = "load",
country = NULL,
root_dir = Sys.getenv("PIP_ROOT_DIR"),
maindir = pip_create_globals(root_dir)$PIP_DATA_DIR,
force = FALSE,
inventory_version = NULL
)
Arguments
- action
character: Either
load
orupdate
- country
character: vector with ISO3 country code to update
- 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
- force
logical: If TRUE, forced update implemented
- inventory_version
date: date of inventory version to load