ppiMEX2017: Poverty Probability Index (PPI) lookup table for Mexico using...

ppiMEX2017R Documentation

Poverty Probability Index (PPI) lookup table for Mexico using legacy definitions

Description

Poverty Probability Index (PPI) lookup table for Mexico using legacy definitions

Usage

ppiMEX2017

Format

A data frame with 8 columns and 101 rows:

score

PPI score

nlFood

Food poverty line

nlCapability

Capabilities

nl100

National poverty line (100%)

nl125

National poverty line (125%)

nl150

National poverty line (150%)

ppp125

Below $1.25 per day purchasing power parity (2005)

ppp250

Below $2.50 per day purchasing power parity (2005)

Source

https://www.povertyindex.org

Examples

  # Access Mexico PPI table
  ppiMEX2017

  # Given a specific PPI score (from 0 - 100), get the row of poverty
  # probabilities from PPI table it corresponds to
  ppiScore <- 50
  ppiMEX2017[ppiMEX2017$score == ppiScore, ]

  # Use subset() function to get the row of poverty probabilities corresponding
  # to specific PPI score
  ppiScore <- 50
  subset(ppiMEX2017, score == ppiScore)

  # Given a specific PPI score (from 0 - 100), get a poverty probability
  # based on a specific poverty definition. In this example, the national
  # poverty line definition
  ppiScore <- 50
  ppiMEX2017[ppiMEX2017$score == ppiScore, "nl100"]


ppitables documentation built on May 29, 2024, 5:22 a.m.