ppiBRA2010 | R Documentation |
Poverty Probability Index (PPI) lookup table for Brazil
ppiBRA2010
A data frame with 10 columns and 101 rows:
score
PPI score
belowHalfWage
Below the half minimum wage line
belowQtrWage
Below the quarter minimum wage line
belowOneWage
Below the one minimum wage line
belowTwoWage
Below the two minimum wage line
extreme
USAID extreme poverty
ppp125
Below $1.25 per day purchasing power parity (2005)
ppp250
Below $2.50 per day purchasing power parity (2005)
ppp375
Below $3.75 per day purchasing power parity (2005)
ppp500
Below $5.00 per day purchasing power parity (2005)
# Access Brazil PPI table
ppiBRA2010
# Given a specific PPI score (from 0 - 100), get the row of poverty
# probabilities from PPI table it corresponds to
ppiScore <- 50
ppiBRA2010[ppiBRA2010$score == ppiScore, ]
# Use subset() function to get the row of poverty probabilities corresponding
# to specific PPI score
ppiScore <- 50
subset(ppiBRA2010, 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
ppiBRA2010[ppiBRA2010$score == ppiScore, "extreme"]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.