ppiKEN2011 | R Documentation |
Poverty Probability Index (PPI) lookup table for Kenya
ppiKEN2011
A data frame with 11 columns and 101 rows:
score
PPI score
nlFood
Food poverty line
nl100
National poverty line (100%)
nl150
National poverty line (150%)
extreme
USAID extreme poverty
ppp125
Below $1.25 per day purchasing power parity (2005)
ppp250
Below $2.50 per day purchasing power parity (2005)
ppp400
Below $4.00 per day purchasing power parity (2005)
ppp844
Below $8.44 per day purchasing power parity (2005)
ppp190
Below $1.90 per day purchasing power parity (2011)
ppp310
Below $3.10 per day purchasing power parity (2011)
# Access Kenya PPI table
ppiKEN2011
# Given a specific PPI score (from 0 - 100), get the row of poverty
# probabilities from PPI table it corresponds to
ppiScore <- 50
ppiKEN2011[ppiKEN2011$score == ppiScore, ]
# Use subset() function to get the row of poverty probabilities corresponding
# to specific PPI score
ppiScore <- 50
subset(ppiKEN2011, score == ppiScore)
# Given a specific PPI score (from 0 - 100), get a poverty probability
# based on a specific poverty definition. In this example, the USAID
# extreme poverty definition
ppiScore <- 50
ppiKEN2011[ppiKEN2011$score == ppiScore, "extreme"]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.