ppi_col_ipa: Function to calculate Poverty Probability Index (PPI) for...

Description Usage Arguments Value Examples

View source: R/07-calculate_ppi_col.R

Description

Function to calculate Poverty Probability Index (PPI) for Colombia using IPA's new PPI methodology

Usage

1
2
3
4
ppi_col_ipa(
  path,
  category = names(ppitables::ppiCOL2018)[2:ncol(ppitables::ppiCOL2018)]
)

Arguments

path

Directory path to IPA's Colombia PPI data analysis and collection XLSX file

category

Poverty classifications that can be calculated for Colombia using IPA's new PPI methodology. By default, all 18 poverty classifications for Colombia are specified (nl100)

Value

A dataframe of PPI for each household in df.

Examples

1
2
ppi_col_ipa(path = paste(system.file("ppi", package = "ppicalc"),
                         "colombia.xlsx", sep = "/"))

ernestguevarra/ppicalc documentation built on Jan. 14, 2020, 2:49 a.m.