ppiUGA2022 | R Documentation |
Poverty Probability Index (PPI) lookup table for Uganda 2022
ppiUGA2022
A data frame with 21 columns and 100 rows:
score
PPI score
ppp100
Below $1.00 per day purchasing power parity (2011)
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)
ppp800
Below $8.00 per day purchasing power parity (2011)
ppp1100
Below $11.00 per day purchasing power parity (2011)
ppp1500
Below $15.00 per day purchasing power parity (2011)
ppp2170
Below $21.70 per day purchasing power parity (2011)
percentile20
Below 20th percentile poverty line
percentile40
Below 40th percentile poverty line
percentile60
Below 50th percentile poverty line
percentile80
Below 60th percentile poverty line
# Access Uganda PPI table
ppiUGA2022
# Given a specific PPI score (from 0 - 100), get the row of poverty
# probabilities from PPI table it corresponds to
ppiScore <- 50
ppiUGA2022[ppiUGA2022$score == ppiScore, ]
# Use subset() function to get the row of poverty probabilities corresponding
# to specific PPI score
ppiScore <- 50
subset(ppiUGA2022, score == ppiScore)
# Given a specific PPI score (from 0 - 100), get a poverty probability
# based on a specific poverty definition. In this example, the purchasing
# power parity at $1.00
ppiScore <- 50
ppiUGA2022[ppiUGA2022$score == ppiScore, "ppp100"]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.