pip_load_results: Load PIP pre-calculated data sets

View source: R/pip_load_results.R

pip_load_resultsR Documentation

Load PIP pre-calculated data sets

Description

Load PIP pre-calculated data sets

Usage

pip_load_results(
  output = NULL,
  country = NULL,
  year = NULL,
  tool = c("PC", "TB"),
  type = c("dataframe", "list"),
  root_dir = Sys.getenv("PIP_ROOT_DIR"),
  verbose = getOption("pipload.verbose")
)

Arguments

output

character: name of the output file

country

character: vector of ISO3 country codes.

year

numeric: survey year

tool

character: PIP tool in which data will be used. It could be PC for Poverty Calculator or TB for Table Maker. Others will be added

type

character: Either dataframe or list. Defaults is dataframe.

root_dir

character: root directory of the PIP data

verbose

logical: If TRUE, display informative messages. Default TRUE

Value

data.table

Examples

pip_load_results("interpolated_means")

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