|
3858 | 3858 | #
|
3859 | 3859 | ################################################################################
|
3860 | 3860 | "ppiMWI2020"
|
| 3861 | + |
| 3862 | +################################################################################ |
| 3863 | +# |
| 3864 | +#' Poverty Probability Index (PPI) lookup table for Indonesia |
| 3865 | +#' |
| 3866 | +#' @format A data frame with 20 columns and 100 rows: |
| 3867 | +#' \describe{ |
| 3868 | +#' \item{\code{score}}{PPI score} |
| 3869 | +#' \item{\code{nl100}}{National poverty line (100\%)} |
| 3870 | +#' \item{\code{extreme}}{Extreme poverty line} |
| 3871 | +#' \item{\code{nl150}}{National poverty line (150\%)} |
| 3872 | +#' \item{\code{nl200}}{National poverty line (200\%)} |
| 3873 | +#' \item{\code{ppp100}}{Below $1.00 per day purchasing power parity (2011)} |
| 3874 | +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} |
| 3875 | +#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} |
| 3876 | +#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} |
| 3877 | +#' \item{\code{ppp800}}{Below $8.00 per day purchasing power parity (2011)} |
| 3878 | +#' \item{\code{ppp1100}}{Below $11.00 per day purchasing power parity (2011)} |
| 3879 | +#' \item{\code{ppp1500}}{Below $15.00 per day purchasing power parity (2011)} |
| 3880 | +#' \item{\code{ppp2170}}{Below $21.70 per day purchasing power parity (2011)} |
| 3881 | +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} |
| 3882 | +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} |
| 3883 | +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} |
| 3884 | +#' \item{\code{percentile20}}{Below 20th percentile poverty line} |
| 3885 | +#' \item{\code{percentile40}}{Below 40th percentile poverty line} |
| 3886 | +#' \item{\code{percentile60}}{Below 50th percentile poverty line} |
| 3887 | +#' \item{\code{percentile80}}{Below 60th percentile poverty line} |
| 3888 | +#' } |
| 3889 | +#' |
| 3890 | +#' @examples |
| 3891 | +#' # Access Indonesia PPI table |
| 3892 | +#' ppiIDN2020 |
| 3893 | +#' |
| 3894 | +#' # Given a specific PPI score (from 0 - 100), get the row of poverty |
| 3895 | +#' # probabilities from PPI table it corresponds to |
| 3896 | +#' ppiScore <- 50 |
| 3897 | +#' ppiIDN2020[ppiIDN2020$score == ppiScore, ] |
| 3898 | +#' |
| 3899 | +#' # Use subset() function to get the row of poverty probabilities corresponding |
| 3900 | +#' # to specific PPI score |
| 3901 | +#' ppiScore <- 50 |
| 3902 | +#' subset(ppiIDN2020, score == ppiScore) |
| 3903 | +#' |
| 3904 | +#' # Given a specific PPI score (from 0 - 100), get a poverty probability |
| 3905 | +#' # based on a specific poverty definition. In this example, the USAID |
| 3906 | +#' # extreme poverty definition |
| 3907 | +#' ppiScore <- 50 |
| 3908 | +#' ppiIDN2020[ppiIDN2020$score == ppiScore, "extreme"] |
| 3909 | +#' |
| 3910 | +#' @source \url{https://www.povertyindex.org} |
| 3911 | +#' |
| 3912 | +# |
| 3913 | +################################################################################ |
| 3914 | +"ppiIDN2020" |
0 commit comments