Update PIP microdata inventory
pip_update_inventory.Rd
Update PIP microdata inventory
Usage
pip_update_inventory(
country = NULL,
root_dir = Sys.getenv("PIP_ROOT_DIR"),
maindir = pip_create_globals(root_dir)$PIP_DATA_DIR,
force = FALSE,
time = format(Sys.time(), "%Y%m%d%H%M%S"),
user = Sys.info()[8]
)
Arguments
- 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
- time
time: time of execution to be saved in data signature. Default is
format(Sys.time(), "%Y%m%d%H%M%S")
- user
character: Names or UPI of user. Default is
Sys.info()[8]