| ppiKHM2023 | R Documentation | 
Poverty Probability Index (PPI) lookup table for Cambodia for 2023
ppiKHM2023
A data frame with 14 columns and 101 rows:
scorePPI score
nl100National poverty line (100%)
nl150National poverty line (150%)
nl200National poverty line (200%)
ppp550Below $3.20 per day purchasing power parity (2011)
ppp800Below $3.20 per day purchasing power parity (2011)
ppp1100Below $11.00 per day purchasing power parity (2011)
ppp1500Below $15.00 per day purchasing power parity (2011)
ppp2170Below $21.70 per day purchasing power parity (2011)
ppp685Below $6.85 per day purchasing power parity (2017)
percentile20Below 20th percentile poverty line
percentile40Below 40th percentile poverty line
percentile60Below 60th percentile poverty line
percentile80Below 80th percentile poverty line
  # Access Cambodia PPI table
  ppiKHM2023
  # Given a specific PPI score (from 0 - 100), get the row of poverty
  # probabilities from PPI table it corresponds to
  ppiScore <- 50
  ppiKHM2023[ppiKHM2023$score == ppiScore, ]
  # Use subset() function to get the row of poverty probabilities corresponding
  # to specific PPI score
  ppiScore <- 50
  subset(ppiKHM2023, 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
  ppiKHM2023[ppiKHM2023$score == ppiScore, "nl100"]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.