ppiBEN2022_11q | R Documentation |
Poverty Probability Index (PPI) lookup table for Benin for 2022 for 11 questions score card
ppiBEN2022_11q
A data frame with 14 columns and 101 rows:
score
PPI score
nl100
National poverty line (100%)
nl150
National poverty line (150%)
nl200
National poverty line (200%)
ppp190
Below $1.90 per day purchasing power parity (2011)
ppp320
Below $3.20 per day purchasing power parity (2011)
ppp550
Below $5.50 per day purchasing power parity (2011)
ppp215
Below $2.15 per day purchasing power parity (2017)
ppp365
Below $3.65 per day purchasing power parity (2017)
ppp685
Below $6.85 per day purchasing power parity (2017)
percentile20
Below 20th percentile poverty line
percentile40
Below 40th percentile poverty line
percentile60
Below 60th percentile poverty line
percentile80
Below 80th percentile poverty line
# Access Benin PPI table
ppiBEN2022_11q
# Given a specific PPI score (from 0 - 100), get the row of poverty
# probabilities from PPI table it corresponds to
ppiScore <- 50
ppiBEN2022_11q[ppiBEN2022_11q$score == ppiScore, ]
# Use subset() function to get the row of poverty probabilities corresponding
# to specific PPI score
ppiScore <- 50
subset(ppiBEN2022_11q, 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
ppiBEN2022_11q[ppiBEN2022_11q$score == ppiScore, "nl100"]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.