diff --git a/NEWS.md b/NEWS.md index d85644e2..efd0b052 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,13 +2,8 @@ This is the tenth CRAN release of `ppitables`. In this release, I added: -* new PPI tables for Uganda using the new PPI calculation approach developed -by the International Poverty Alliance (IPA) based on data from the Uganda -National Panel Survey of 2020 - -* new PPI tables for Tanzania using the new PPI calculation approach developed -by the International Poverty Alliance (IPA) based on data from the Tanzania -Household Budget Survey of 2017/2018 +* new PPI tables for multiple countries released during the period of 2021 to +2023 * updated `steer` data that serves as an index to the tables to include the new Indonesia PPI tables diff --git a/R/00_benin.R b/R/00_benin.R new file mode 100644 index 00000000..d12f136d --- /dev/null +++ b/R/00_benin.R @@ -0,0 +1,141 @@ +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Benin +#' +#' @format A data frame with 7 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{extreme}}{USAID extreme poverty} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' } +#' +#' @examples +#' # Access Benin PPI table +#' ppiBEN2012 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiBEN2012[ppiBEN2012$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiBEN2012, 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 +#' ppiBEN2012[ppiBEN2012$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiBEN2012" + + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Benin for 2022 for 11 +#' questions score card +#' +#' @format A data frame with 14 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} +#' \item{\code{ppp215}}{Below $2.15 per day purchasing power parity (2017)} +#' \item{\code{ppp365}}{Below $3.65 per day purchasing power parity (2017)} +#' \item{\code{ppp685}}{Below $6.85 per day purchasing power parity (2017)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' +#' @examples +#' # 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"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiBEN2022_11q" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Benin for 2022 for 6 +#' questions score card +#' +#' @format A data frame with 14 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} +#' \item{\code{ppp215}}{Below $2.15 per day purchasing power parity (2017)} +#' \item{\code{ppp365}}{Below $3.65 per day purchasing power parity (2017)} +#' \item{\code{ppp685}}{Below $6.85 per day purchasing power parity (2017)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' +#' @examples +#' # Access Benin PPI table +#' ppiBEN2022_6q +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiBEN2022_6q[ppiBEN2022_6q$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiBEN2022_6q, 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_6q[ppiBEN2022_6q$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiBEN2022_6q" diff --git a/R/00_bolivia.R b/R/00_bolivia.R new file mode 100644 index 00000000..3ec5f952 --- /dev/null +++ b/R/00_bolivia.R @@ -0,0 +1,94 @@ +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Bolivia +#' +#' @format A data frame with 10 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{half100}}{Poorest half below 100\% national} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' \item{\code{ppp844}}{Below $8.44 per day purchasing power parity (2005)} + +#' } +#' +#' @examples +#' # Access Bolivia PPI table +#' ppiBOL2015 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiBOL2015[ppiBOL2015$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiBOL2015, score == ppiScore) +#' +#' # Given a specific PPI score (from 0 - 100), get a poverty probability +#' # based on a specific poverty definition. In this example, the food +#' # poverty line definition +#' ppiScore <- 50 +#' ppiBOL2015[ppiBOL2015$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiBOL2015" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Bolivia for 2023 +#' +#' @format A data frame with 15 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl_extreme}}{National poverty line (extreme)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{ppp190}}{Below $1.25 per day purchasing power parity (2011)} +#' \item{\code{ppp320}}{Below $1.25 per day purchasing power parity (2011)} +#' \item{\code{ppp550}}{Below $2.00 per day purchasing power parity (2011)} +#' \item{\code{ppp215}}{Below $2.15 per day purchasing power parity (2017)} +#' \item{\code{ppp365}}{Below $3.65 per day purchasing power parity (2017)} +#' \item{\code{ppp685}}{Below $6.85 per day purchasing power parity (2017)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' +#' @examples +#' # Access Bolivia PPI table +#' ppiBOL2023 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiBOL2023[ppiBOL2023$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiBOL2023, score == ppiScore) +#' +#' # Given a specific PPI score (from 0 - 100), get a poverty probability +#' # based on a specific poverty definition. In this example, the food +#' # poverty line definition +#' ppiScore <- 50 +#' ppiBOL2023[ppiBOL2023$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiBOL2023" diff --git a/R/00_burkina_faso.R b/R/00_burkina_faso.R new file mode 100644 index 00000000..cc06a814 --- /dev/null +++ b/R/00_burkina_faso.R @@ -0,0 +1,153 @@ +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Burkina Faso +#' +#' @format A data frame with 8 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl50}}{National poverty line (50\%)} +#' \item{\code{nl75}}{National poverty line (75\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{extreme}}{USAID extreme poverty} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' } +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiBFA2011" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Burkina Faso +#' +#' @format A data frame with 18 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{food}}{Food poverty line} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{ppp125}}{Below $1.00 per day purchasing power parity (2005)} +#' \item{\code{ppp200}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' \item{\code{ppp844}}{Below $8.44 per day purchasing power parity (2005)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp310}}{Below $3.10 per day purchasing power parity (2011)} +#' \item{\code{median}}{Median poverty line} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile50}}{Below 50th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiBFA2014" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Burkina Faso +#' +#' @format A data frame with 15 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' \item{\code{ppp100}}{Below $1.00 per day purchasing power parity (2011)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' +#' @examples +#' # Access Burkina Faso PPI table +#' ppiBFA2017 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiBFA2017[ppiBFA2017$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiBFA2017, 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 +#' ppiBFA2017[ppiBFA2017$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiBFA2017" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Burkina Faso for 2023 +#' +#' @format A data frame with 14 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{ppp215}}{Below $1.25 per day purchasing power parity (2017)} +#' \item{\code{ppp365}}{Below $2.50 per day purchasing power parity (2017)} +#' \item{\code{ppp685}}{Below $5.00 per day purchasing power parity (2017)} +#' \item{\code{ppp190}}{Below $1.00 per day purchasing power parity (2011)} +#' \item{\code{ppp320}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp550}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' +#' @examples +#' # Access Burkina Faso PPI table +#' ppiBFA2023 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiBFA2023[ppiBFA2023$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiBFA2023, 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 +#' ppiBFA2023[ppiBFA2023$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiBFA2023" + + diff --git a/R/00_cambodia.R b/R/00_cambodia.R new file mode 100644 index 00000000..339ab910 --- /dev/null +++ b/R/00_cambodia.R @@ -0,0 +1,177 @@ +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Cambodia +#' +#' @format A data frame with 9 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{median}}{Median poverty line} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' } +#' +#' @examples +#' # Access Cambodia PPI table +#' ppiKHM2015_wb +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiKHM2015_wb[ppiKHM2015_wb$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiKHM2015_wb, 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 +#' ppiKHM2015_wb[ppiKHM2015_wb$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiKHM2015_wb" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Cambodia +#' +#' @format A data frame with 9 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{median}}{Median poverty line} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' } +#' +#' @examples +#' # Access Cambodia PPI table +#' ppiKHM2015_gov +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiKHM2015_gov[ppiKHM2015_gov$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiKHM2015_gov, 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 +#' ppiKHM2015_gov[ppiKHM2015_gov$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiKHM2015_gov" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Cambodia +#' +#' @format A data frame with 6 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power poverty (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power poverty (2005)} +#' } +#' +#' @examples +#' # Access Cambodia PPI table +#' ppiKHM2015 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiKHM2015[ppiKHM2015$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiKHM2015, 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 +#' ppiKHM2015[ppiKHM2015$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiKHM2015" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Cambodia for 2023 +#' +#' @format A data frame with 14 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{ppp550}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{ppp800}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{ppp1100}}{Below $11.00 per day purchasing power parity (2011)} +#' \item{\code{ppp1500}}{Below $15.00 per day purchasing power parity (2011)} +#' \item{\code{ppp2170}}{Below $21.70 per day purchasing power parity (2011)} +#' \item{\code{ppp685}}{Below $6.85 per day purchasing power parity (2017)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' +#' @examples +#' # 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"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiKHM2023" + diff --git a/R/00_ecuador.R b/R/00_ecuador.R new file mode 100644 index 00000000..46e8f802 --- /dev/null +++ b/R/00_ecuador.R @@ -0,0 +1,100 @@ +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Ecuador +#' +#' @format A data frame with 11 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nlFood}}{Food poverty line} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{half100}}{Poorest half below 100\% national} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' \item{\code{ppp844}}{Below $8.44 per day purchasing power parity (2005)} +#' } +#' +#' @examples +#' # Access Ecuador PPI table +#' ppiECU2015 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiECU2015[ppiECU2015$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiECU2015, 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 +#' ppiECU2015[ppiECU2015$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiECU2015" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Ecuador for 2022 +#' +#' @format A data frame with 20 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl_extreme}}{National poverty line (extreme)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{ppp215}}{Below $2.15 per day purchasing power parity (2017)} +#' \item{\code{ppp365}}{Below $3.65 per day purchasing power parity (2017)} +#' \item{\code{ppp685}}{Below $6.85 per day purchasing power parity (2017)} +#' \item{\code{ppp100}}{Below $1.00 per day purchasing power parity (2011)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} +#' \item{\code{ppp800}}{Below $8.00 per day purchasing power parity (2011)} +#' \item{\code{ppp1100}}{Below $11.00 per day purchasing power parity (2011)} +#' \item{\code{ppp1500}}{Below $15.00 per day purchasing power parity (2011)} +#' \item{\code{ppp2170}}{Below $21.70 per day purchasing power parity (2011)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' +#' @examples +#' # Access Ecuador PPI table +#' ppiECU2015 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiECU2015[ppiECU2015$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiECU2015, 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 +#' ppiECU2015[ppiECU2015$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiECU2022" + diff --git a/R/00_el_salvador.R b/R/00_el_salvador.R new file mode 100644 index 00000000..c840e1c0 --- /dev/null +++ b/R/00_el_salvador.R @@ -0,0 +1,101 @@ +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for El Salvador +#' +#' @format A data frame with 9 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nlFood}}{Food poverty line} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{extreme}}{USAID extreme poverty} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp375}}{Below $3.75 per day purchasing power parity (2005)} +#' } +#' +#' @examples +#' # Access El Salvador PPI table +#' ppiSLV2010 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiSLV2010[ppiSLV2010$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiSLV2010, 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 +#' ppiSLV2010[ppiSLV2010$score == ppiScore, "extreme"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiSLV2010" + + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for El Salvador for 2021 +#' +#' @format A data frame with 21 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl_extreme}}{National poverty line (extreme)} +#' \item{\code{ppp215}}{Below $2.15 per day purchasing power parity (2017)} +#' \item{\code{ppp365}}{Below $3.65 per day purchasing power parity (2017)} +#' \item{\code{ppp685}}{Below $6.85 per day purchasing power parity (2017)} +#' \item{\code{ppp100}}{Below $1.00 per day purchasing power parity (2011)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} +#' \item{\code{ppp800}}{Below $8.00 per day purchasing power parity (2011)} +#' \item{\code{ppp1100}}{Below $11.00 per day purchasing power parity (2011)} +#' \item{\code{ppp1500}}{Below $15.00 per day purchasing power parity (2011)} +#' \item{\code{ppp2170}}{Below $21.70 per day purchasing power parity (2011)} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' +#' @examples +#' # Access El Salvador PPI table +#' ppiSLV2021 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiSLV2021[ppiSLV2021$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiSLV2021, 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 +#' ppiSLV2021[ppiSLV2021$score == ppiScore, "nl_extreme"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiSLV2021" + + diff --git a/R/00_ethiopia.R b/R/00_ethiopia.R new file mode 100644 index 00000000..57804a79 --- /dev/null +++ b/R/00_ethiopia.R @@ -0,0 +1,109 @@ +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Ethiopia +#' +#' @format A data frame with 21 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nlFood}}{Food poverty line} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{ppp100}}{Below $1.00 per day purchasing power parity (2005)} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp175}}{Below $1.75 per day purchasing power parity (2005)} +#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp310}}{Below $3.10 per day purchasing power parity (2011)} +#' \item{\code{ppp380}}{Below $3.80 per day purchasing power parity (2011)} +#' \item{\code{ppp400}}{Below $4.00 per day purchasing power parity (2011)} +#' \item{\code{half100}}{Poorest half below 100 national} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile50}}{Below 50th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' +#' @examples +#' # Access Ethiopia PPI table +#' ppiETH2016 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiETH2016[ppiETH2016$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiETH2016, 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 +#' ppiETH2016[ppiETH2016$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiETH2016" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Ethiopia for 2023 +#' +#' @format A data frame with 20 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl_extreme}}{National poverty line (extreme)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{ppp100}}{Below $1.00 per day purchasing power parity (2011)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} +#' \item{\code{ppp800}}{Below $8.00 per day purchasing power parity (2011)} +#' \item{\code{ppp1100}}{Below $11.00 per day purchasing power parity (2011)} +#' \item{\code{ppp1500}}{Below $15.00 per day purchasing power parity (2011)} +#' \item{\code{ppp2170}}{Below $21.70 per day purchasing power parity (2011)} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' +#' @examples +#' # Access Ethiopia PPI table +#' ppiETH2023 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiETH2023[ppiETH2023$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiETH2023, 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 +#' ppiETH2023[ppiETH2023$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiETH2023" diff --git a/R/00_guatemala.R b/R/00_guatemala.R new file mode 100644 index 00000000..3e875b3c --- /dev/null +++ b/R/00_guatemala.R @@ -0,0 +1,97 @@ +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Guatemala +#' +#' @format A data frame with 17 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nlFood}}{Food poverty line} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{half100}}{Poorest half below 100\% national} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp310}}{Below $3.10 per day purchasing power parity (2011)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile50}}{Below 50th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' +#' @examples +#' # Access Guatemala PPI table +#' ppiGTM2016 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiGTM2016[ppiGTM2016$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiGTM2016, 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 +#' ppiGTM2016[ppiGTM2016$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiGTM2016" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Guatemala for 2023 +#' +#' @format A data frame with 17 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} +#' \item{\code{ppp215}}{Below $2.15 per day purchasing power parity (2017)} +#' \item{\code{ppp365}}{Below $3.65 per day purchasing power parity (2017)} +#' \item{\code{ppp685}}{Below $6.85 per day purchasing power parity (2017)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' +#' @examples +#' # Access Guatemala PPI table +#' ppiGTM2023 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiGTM2023[ppiGTM2023$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiGTM2023, 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 +#' ppiGTM2023[ppiGTM2023$score == ppiScore, "ppp190"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiGTM2023" + diff --git a/R/00_honduras.R b/R/00_honduras.R new file mode 100644 index 00000000..4e53b544 --- /dev/null +++ b/R/00_honduras.R @@ -0,0 +1,93 @@ +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Honduras +#' +#' @format A data frame with 7 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nlFood}}{Food poverty line} +#' \item{\code{extreme}}{USAID extreme poverty} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp375}}{Below $3.75 per day purchasing power parity (2005)} +#' } +#' +#' @examples +#' # Access Honduras PPI table +#' ppiHND2010 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiHND2010[ppiHND2010$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiHND2010, 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 +#' ppiHND2010[ppiHND2010$score == ppiScore, "extreme"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiHND2010" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Honduras for 2023 +#' +#' @format A data frame with 18 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl_extreme}}{National poverty line (extreme)} +#' \item{\code{ppp100}}{Below $1.00 per day purchasing power parity (2011)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} +#' \item{\code{ppp800}}{Below $8.00 per day purchasing power parity (2011)} +#' \item{\code{ppp1100}}{Below $11.00 per day purchasing power parity (2011)} +#' \item{\code{ppp1500}}{Below $15.00 per day purchasing power parity (2011)} +#' \item{\code{ppp2170}}{Below $21.70 per day purchasing power parity (2011)} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' +#' @examples +#' # Access Honduras PPI table +#' ppiHND2023 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiHND2023[ppiHND2023$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiHND2023, 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 +#' ppiHND2023[ppiHND2023$score == ppiScore, "nl_extreme"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiHND2023" diff --git a/R/00_indonesia.R b/R/00_indonesia.R new file mode 100644 index 00000000..bc3e7cda --- /dev/null +++ b/R/00_indonesia.R @@ -0,0 +1,184 @@ +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Indonesia using legacy +#' poverty definitions +#' +#' @format A data frame with 4 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' } +#' +#' @examples +#' # Access Indonesia PPI table +#' ppiIDN2012 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiIDN2012[ppiIDN2012$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiIDN2012, 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 +#' ppiIDN2012[ppiIDN2012$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiIDN2012" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Indonesia using new +#' poverty definitions +#' +#' @format A data frame with 9 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{extreme}}{USAID extreme poverty} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp310}}{Below $3.10 per day purchasing power parity (2011)} +#' } +#' +#' @examples +#' # Access Indonesia PPI table +#' ppiIDN2012_a +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiIDN2012_a[ppiIDN2012_a$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiIDN2012_a, 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 +#' ppiIDN2012_a[ppiIDN2012_a$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiIDN2012_a" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Indonesia +#' +#' @format A data frame with 20 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{extreme}}{Extreme poverty line} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{ppp100}}{Below $1.00 per day purchasing power parity (2011)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} +#' \item{\code{ppp800}}{Below $8.00 per day purchasing power parity (2011)} +#' \item{\code{ppp1100}}{Below $11.00 per day purchasing power parity (2011)} +#' \item{\code{ppp1500}}{Below $15.00 per day purchasing power parity (2011)} +#' \item{\code{ppp2170}}{Below $21.70 per day purchasing power parity (2011)} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 50th percentile poverty line} +#' \item{\code{percentile80}}{Below 60th percentile poverty line} +#' } +#' +#' @examples +#' # Access Indonesia PPI table +#' ppiIDN2020 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiIDN2020[ppiIDN2020$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiIDN2020, 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 +#' ppiIDN2020[ppiIDN2020$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiIDN2020" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Indonesia for 2023 +#' +#' @format A data frame with 10 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{ppp365}}{Below $3.65 per day purchasing power parity (2017)} +#' \item{\code{ppp685}}{Below $6.85 per day purchasing power parity (2017)} +#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 50th percentile poverty line} +#' \item{\code{percentile80}}{Below 60th percentile poverty line} +#' } +#' +#' @examples +#' # Access Indonesia PPI table +#' ppiIDN2023 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiIDN2023[ppiIDN2023$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiIDN2023, 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 +#' ppiIDN2023[ppiIDN2023$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiIDN2023" + diff --git a/R/00_malawi.R b/R/00_malawi.R new file mode 100644 index 00000000..c87ab189 --- /dev/null +++ b/R/00_malawi.R @@ -0,0 +1,235 @@ +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Malawi using government +#' poverty definitions +#' +#' @format A data frame with 14 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nlFood}}{Food poverty line} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{half100}}{Poorest half below 100\% national} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' \item{\code{ppp844}}{Below $8.44 per day purchasing power parity (2005)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp310}}{Below $3.10 per day purchasing power parity (2011)} +#' \item{\code{ppp1000}}{Below $10.00 per day purchasing power parity (2011)} +#' } +#' +#' @examples +#' # Access Malawi PPI table +#' ppiMWI2015_gov +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiMWI2015_gov[ppiMWI2015_gov$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiMWI2015_gov, 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 +#' ppiMWI2015_gov[ppiMWI2015_gov$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiMWI2015_gov" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Malawi using legacy +#' poverty definitions +#' +#' @format A data frame with 3 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' } +#' +#' @examples +#' # Access Malawi PPI table +#' ppiMWI2015 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiMWI2015[ppiMWI2015$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiMWI2015, score == ppiScore) +#' +#' # Given a specific PPI score (from 0 - 100), get a poverty probability +#' # based on a specific poverty definition. In this example, below $1.25 +#' # purchasing power parity (2005) +#' ppiScore <- 50 +#' ppiMWI2015[ppiMWI2015$score == ppiScore, "ppp125"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiMWI2015" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Malawi using PBM poverty +#' definitions +#' +#' @format A data frame with 13 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nlFood}}{Food poverty line} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{half100}}{Poorest half below 100\% national} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' \item{\code{ppp844}}{Below $8.44 per day purchasing power parity (2005)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp310}}{Below $3.10 per day purchasing power parity (2011)} +#' } +#' +#' @examples +#' # Access Malawi PPI table +#' ppiMWI2015_pbm +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiMWI2015_pbm[ppiMWI2015_pbm$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiMWI2015_pbm, 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 +#' ppiMWI2015_pbm[ppiMWI2015_pbm$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiMWI2015_pbm" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Malawi +#' +#' @format A data frame with 16 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{extreme}}{Extreme poverty line} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{ppp100}}{Below $1.00 per day purchasing power parity (2011)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 50th percentile poverty line} +#' \item{\code{percentile80}}{Below 60th percentile poverty line} +#' } +#' +#' @examples +#' # Access Malawi PPI table +#' ppiMWI2020 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiMWI2020[ppiMWI2020$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiMWI2020, 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 +#' ppiMWI2020[ppiMWI2020$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiMWI2020" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Malawi for 2023 +#' +#' @format A data frame with 13 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{food}}{Food poverty line} +#' \item{\code{ppp215}}{Below $2.15 per day purchasing power parity (2017)} +#' \item{\code{ppp365}}{Below $3.65 per day purchasing power parity (2017)} +#' \item{\code{ppp685}}{Below $6.85 per day purchasing power parity (2017)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 50th percentile poverty line} +#' \item{\code{percentile80}}{Below 60th percentile poverty line} +#' } +#' +#' @examples +#' # Access Malawi PPI table +#' ppiMWI2023 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiMWI2023[ppiMWI2023$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiMWI2023, 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 +#' ppiMWI2023[ppiMWI2023$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiMWI2023" diff --git a/R/00_papua_new_guinea.R b/R/00_papua_new_guinea.R new file mode 100644 index 00000000..db1173f0 --- /dev/null +++ b/R/00_papua_new_guinea.R @@ -0,0 +1,43 @@ +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Papua New Guinea 2023 +#' +#' @format A data frame with 9 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{percentile20_wi}}{Below 20th percentile wealth index} +#' \item{\code{percentile40_wi}}{Below 40th percentile wealth index} +#' \item{\code{percentile60_wi}}{Below 60th percentile wealth index} +#' \item{\code{percentile80_wi}}{Below 80th percentile wealth index} +#' \item{\code{percentile20_wi_ur}}{Below 20th percentile wealth index urban/rural} +#' \item{\code{percentile40_wi_ur}}{Below 40th percentile wealth index urban/rural} +#' \item{\code{percentile60_wi_ur}}{Below 60th percentile wealth index urban/rural} +#' \item{\code{percentile80_wi_ur}}{Below 80th percentile wealth index urban/rural} +#' } +#' +#' @examples +#' # Access Papua New Guinea PPI table +#' ppiPNG2023 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiPNG2023[ppiPNG2023$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiPNG2023, 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 +#' ppiPNG2023[ppiPNG2023$score == ppiScore, "percentile20_wi"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiPNG2023" + diff --git a/R/00_philippines.R b/R/00_philippines.R new file mode 100644 index 00000000..1b81a0d6 --- /dev/null +++ b/R/00_philippines.R @@ -0,0 +1,147 @@ +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Philippines using legacy +#' poverty definitions +#' +#' @format A data frame with 6 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' \item{\code{ppp432}}{Below $4.32 per day purchasing power parity (1993)} +#' } +#' +#' @examples +#' # Access Philippines PPI table +#' ppiPHL2014 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiPHL2014[ppiPHL2014$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiPHL2014, 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 +#' ppiPHL2014[ppiPHL2014$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiPHL2014" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Philippines using new +#' poverty definitions +#' +#' @format A data frame with 11 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{median}}{Poorest half below 100\% national} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp310}}{Below $3.10 per day purchasing power parity (2011)} +#' } +#' +#' @examples +#' # Access Philippines PPI table +#' ppiPHL2014_a +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiPHL2014_a[ppiPHL2014_a$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiPHL2014_a, 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 +#' ppiPHL2014_a[ppiPHL2014_a$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiPHL2014_a" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Philippines +#' +#' @format A data frame with 18 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{food}}{Food poverty line} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} +#' \item{\code{ppp800}}{Below $8.00 per day purchasing power parity (2011)} +#' \item{\code{ppp1100}}{Below $11.00 per day purchasing power parity (2011)} +#' \item{\code{ppp1500}}{Below $15.00 per day purchasing power parity (2011)} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiPHL2018" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Philippines for 2023 +#' +#' @format A data frame with 13 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{food}}{Food poverty line} +#' \item{\code{ppp215}}{Below $2.15 per day purchasing power parity (2017)} +#' \item{\code{ppp365}}{Below $3.65 per day purchasing power parity (2017)} +#' \item{\code{ppp685}}{Below $6.85 per day purchasing power parity (2017)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiPHL2023" + diff --git a/R/00_south_africa.R b/R/00_south_africa.R new file mode 100644 index 00000000..56e1b814 --- /dev/null +++ b/R/00_south_africa.R @@ -0,0 +1,82 @@ +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for South Africa +#' +#' @format A data frame with 8 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nlFood}}{Food poverty line} +#' \item{\code{extreme}}{USAID extreme poverty} +#' \item{\code{nu100}}{National upper poverty line (100\%)} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp400}}{Below $4.00 per day purchasing power parity (2005)} +#' } +#' +#' @examples +#' # Access South Africa PPI table +#' ppiZAF2009 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiZAF2009[ppiZAF2009$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiZAF2009, 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 +#' ppiZAF2009[ppiZAF2009$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiZAF2009" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for South Africa for 2023 +#' +#' @format A data frame with 6 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{wealth_index}}{Wealth index poverty line} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' +#' @examples +#' # Access South Africa PPI table +#' ppiZAF2023 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiZAF2023[ppiZAF2023$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiZAF2023, 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 +#' ppiZAF2023[ppiZAF2023$score == ppiScore, "wealth_index"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiZAF2023" diff --git a/R/00_togo.R b/R/00_togo.R new file mode 100644 index 00000000..9760ca5e --- /dev/null +++ b/R/00_togo.R @@ -0,0 +1,56 @@ +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Togo +#' +#' @format A data frame with 15 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{ppp100}}{Below $1.00 per day purchasing power parity (2011)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiTGO2018" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Togo for 2023 +#' +#' @format A data frame with 14 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{ppp215}}{Below $2.15 per day purchasing power parity (2017)} +#' \item{\code{ppp365}}{Below $3.65 per day purchasing power parity (2017)} +#' \item{\code{ppp685}}{Below $6.85 per day purchasing power parity (2017)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} +#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiTGO2023" + diff --git a/R/00_vietnam.R b/R/00_vietnam.R new file mode 100644 index 00000000..5f040ce3 --- /dev/null +++ b/R/00_vietnam.R @@ -0,0 +1,81 @@ +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Vietnam +#' +#' @format A data frame with 8 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nlFood}}{Food poverty line} +#' \item{\code{extreme}}{USAID extreme poverty line} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp175}}{Below $1.75 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{molisa}}{MOLISA poverty line} +#' } +#' +#' @examples +#' # Access Vietnam PPI table +#' ppiVNM2009 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiVNM2009[ppiVNM2009$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiVNM2009, 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 +#' ppiVNM2009[ppiVNM2009$score == ppiScore, "nl100"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiVNM2009" + + +################################################################################ +# +#' Poverty Probability Index (PPI) lookup table for Vietnam for 2023 +#' +#' @format A data frame with 8 columns and 101 rows: +#' \describe{ +#' \item{\code{score}}{PPI score} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} +#' } +#' +#' @examples +#' # Access Vietnam PPI table +#' ppiVNM2023 +#' +#' # Given a specific PPI score (from 0 - 100), get the row of poverty +#' # probabilities from PPI table it corresponds to +#' ppiScore <- 50 +#' ppiVNM2023[ppiVNM2023$score == ppiScore, ] +#' +#' # Use subset() function to get the row of poverty probabilities corresponding +#' # to specific PPI score +#' ppiScore <- 50 +#' subset(ppiVNM2023, 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 +#' ppiVNM2023[ppiVNM2023$score == ppiScore, "percentile20"] +#' +#' @source \url{https://www.povertyindex.org} +#' +# +################################################################################ +"ppiVNM2023" diff --git a/R/ppitables.R b/R/01_ppitables.R similarity index 100% rename from R/ppitables.R rename to R/01_ppitables.R diff --git a/R/find_table.R b/R/02_find_table.R similarity index 95% rename from R/find_table.R rename to R/02_find_table.R index 8134e7d2..62a68ede 100644 --- a/R/find_table.R +++ b/R/02_find_table.R @@ -1,5 +1,4 @@ -################################################################################ -# +#' #' Search for PPI table by specifying region, country and/or calculation type. #' #' @param region Region of the world to search PPI table from. Default is @@ -26,8 +25,6 @@ #' #' @export #' -# -################################################################################ find_table <- function(region = steer$region, country = steer$country[steer$region %in% region], diff --git a/R/get_table.R b/R/03_get_table.R similarity index 94% rename from R/get_table.R rename to R/03_get_table.R index 03a9c0ae..1d2554a5 100644 --- a/R/get_table.R +++ b/R/03_get_table.R @@ -1,5 +1,4 @@ -################################################################################ -# +#' #' Get PPI table/s based on a specified PPI table/s search output #' #' @param region Region of the world to search PPI table from. Default is @@ -26,8 +25,6 @@ #' #' @export #' -# -################################################################################ get_table <- function(region = steer$region, country = steer$country[steer$region %in% region], diff --git a/R/data.R b/R/04_data.R similarity index 71% rename from R/data.R rename to R/04_data.R index ed63717e..785452cd 100644 --- a/R/data.R +++ b/R/04_data.R @@ -130,93 +130,6 @@ "ppiBGD2013" -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Bolivia -#' -#' @format A data frame with 10 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nl100}}{Food poverty line} -#' \item{\code{nl150}}{National poverty line (100\%)} -#' \item{\code{nl200}}{National poverty line (150\%)} -#' \item{\code{half100}}{National poverty line (200\%)} -#' \item{\code{ppp125}}{Poorest half below 100\% national} -#' \item{\code{ppp200}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.00 per day purchasing power parity (2005)} -#' \item{\code{ppp500}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp844}}{Below $5.00 per day purchasing power parity (2005)} -#' } -#' -#' @examples -#' # Access Bolivia PPI table -#' ppiBOL2015 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiBOL2015[ppiBOL2015$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiBOL2015, score == ppiScore) -#' -#' # Given a specific PPI score (from 0 - 100), get a poverty probability -#' # based on a specific poverty definition. In this example, the food -#' # poverty line definition -#' ppiScore <- 50 -#' ppiBOL2015[ppiBOL2015$score == ppiScore, "nlFood"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiBOL2015" - - -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Benin -#' -#' @format A data frame with 7 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{extreme}}{USAID extreme poverty} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' } -#' -#' @examples -#' # Access Benin PPI table -#' ppiBEN2012 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiBEN2012[ppiBEN2012$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiBEN2012, 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 -#' ppiBEN2012[ppiBEN2012$score == ppiScore, "extreme"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiBEN2012" - - ################################################################################ # #' Poverty Probability Index (PPI) lookup table for Brazil @@ -262,56 +175,6 @@ "ppiBRA2010" -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Burkina Faso -#' -#' @format A data frame with 15 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} -#' \item{\code{ppp100}}{Below $1.00 per day purchasing power parity (2011)} -#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} -#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} -#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} -#' \item{\code{percentile20}}{Below 20th percentile poverty line} -#' \item{\code{percentile40}}{Below 40th percentile poverty line} -#' \item{\code{percentile60}}{Below 60th percentile poverty line} -#' \item{\code{percentile80}}{Below 80th percentile poverty line} -#' } -#' -#' @examples -#' # Access Burkina Faso PPI table -#' ppiBFA2017 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiBFA2017[ppiBFA2017$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiBFA2017, 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 -#' ppiBFA2017[ppiBFA2017$score == ppiScore, "nl100"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiBFA2017" - - ################################################################################ # #' Poverty Probability Index (PPI) lookup table for Cameroon @@ -401,52 +264,6 @@ "ppiDOM2010" -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Ecuador -#' -#' @format A data frame with 11 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nlFood}}{Food poverty line} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{half100}}{Poorest half below 100\% national} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} -#' \item{\code{ppp844}}{Below $8.44 per day purchasing power parity (2005)} -#' } -#' -#' @examples -#' # Access Ecuador PPI table -#' ppiECU2015 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiECU2015[ppiECU2015$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiECU2015, 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 -#' ppiECU2015[ppiECU2015$score == ppiScore, "nl100"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiECU2015" - - ################################################################################ # #' Poverty Probability Index (PPI) lookup table for Egypt @@ -490,106 +307,6 @@ "ppiEGY2010" -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for El Salvador -#' -#' @format A data frame with 9 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nlFood}}{Food poverty line} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{extreme}}{USAID extreme poverty} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp375}}{Below $3.75 per day purchasing power parity (2005)} -#' } -#' -#' @examples -#' # Access El Salvador PPI table -#' ppiSLV2010 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiSLV2010[ppiSLV2010$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiSLV2010, 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 -#' ppiSLV2010[ppiSLV2010$score == ppiScore, "extreme"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiSLV2010" - - -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Ethiopia -#' -#' @format A data frame with 21 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nlFood}}{Food poverty line} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{ppp100}}{Below $1.00 per day purchasing power parity (2005)} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp175}}{Below $1.75 per day purchasing power parity (2005)} -#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} -#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} -#' \item{\code{ppp310}}{Below $3.10 per day purchasing power parity (2011)} -#' \item{\code{ppp380}}{Below $3.80 per day purchasing power parity (2011)} -#' \item{\code{ppp400}}{Below $4.00 per day purchasing power parity (2011)} -#' \item{\code{half100}}{Poorest half below 100 national} -#' \item{\code{percentile20}}{Below 20th percentile poverty line} -#' \item{\code{percentile40}}{Below 40th percentile poverty line} -#' \item{\code{percentile50}}{Below 50th percentile poverty line} -#' \item{\code{percentile60}}{Below 60th percentile poverty line} -#' \item{\code{percentile80}}{Below 80th percentile poverty line} -#' } -#' -#' @examples -#' # Access Ethiopia PPI table -#' ppiETH2016 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiETH2016[ppiETH2016$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiETH2016, 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 -#' ppiETH2016[ppiETH2016$score == ppiScore, "nl100"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiETH2016" - - ################################################################################ # #' Poverty Probability Index (PPI) lookup table for Fiji @@ -769,100 +486,6 @@ "ppiGHA2015_b" -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Guatemala -#' -#' @format A data frame with 17 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nlFood}}{Food poverty line} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{half100}}{Poorest half below 100\% national} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} -#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} -#' \item{\code{ppp310}}{Below $3.10 per day purchasing power parity (2011)} -#' \item{\code{percentile20}}{Below 20th percentile poverty line} -#' \item{\code{percentile40}}{Below 40th percentile poverty line} -#' \item{\code{percentile50}}{Below 50th percentile poverty line} -#' \item{\code{percentile60}}{Below 60th percentile poverty line} -#' \item{\code{percentile80}}{Below 80th percentile poverty line} -#' } -#' -#' @examples -#' # Access Guatemala PPI table -#' ppiGTM2016 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiGTM2016[ppiGTM2016$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiGTM2016, 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 -#' ppiGTM2016[ppiGTM2016$score == ppiScore, "nl100"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiGTM2016" - - -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Honduras -#' -#' @format A data frame with 7 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nlFood}}{Food poverty line} -#' \item{\code{extreme}}{USAID extreme poverty} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp375}}{Below $3.75 per day purchasing power parity (2005)} -#' } -#' -#' @examples -#' # Access Honduras PPI table -#' ppiHND2010 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiHND2010[ppiHND2010$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiHND2010, 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 -#' ppiHND2010[ppiHND2010$score == ppiScore, "extreme"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiHND2010" - - ################################################################################ # #' Poverty Probability Index (PPI) lookup table for Haiti @@ -988,188 +611,106 @@ #' # ################################################################################ -"ppiIND2016_r62" - - -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for India using r66 poverty -#' definitions -#' -#' @format A data frame with 8 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{tendulkar}}{National tendulkar} -#' \item{\code{tendulkar100}}{National tendulkar (100\%)} -#' \item{\code{tendulkar150}}{National tendulkar (150\%)} -#' \item{\code{tendulkar200}}{National tendulkar (200\%)} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp188}}{Below $1.88 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' } -#' -#' @examples -#' # Access India PPI table -#' ppiIND2016_r66 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiIND2016_r66[ppiIND2016_r66$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiIND2016_r66, 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 -#' # tendulkar poverty definition -#' ppiScore <- 50 -#' ppiIND2016_r66[ppiIND2016_r66$score == ppiScore, "tendulkar"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiIND2016_r66" - - -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for India using r68 poverty -#' definitions -#' -#' @format A data frame with 16 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{rangarajan100}}{National rangarajan (100\%)} -#' \item{\code{rangarajan150}}{National rangarajan (150\%)} -#' \item{\code{rangarajan200}}{National rangarajan (200\%)} -#' \item{\code{half100}}{Poorest half below 100\% national} -#' \item{\code{rbiUrban}}{RBI urban} -#' \item{\code{rbiRural}}{RBI rural} -#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} -#' \item{\code{ppp310}}{Below $3.10 per day purchasing power parity (2011)} -#' \item{\code{ppp380}}{Below $3.80 per day purchasing power parity (2011)} -#' \item{\code{ppp400}}{Below $4.00 per day purchasing power parity (2011)} -#' \item{\code{percentile20}}{Below 20th percentile poverty line} -#' \item{\code{percentile40}}{Below 40th percentile poverty line} -#' \item{\code{percentile50}}{Below 50th percentile poverty line} -#' \item{\code{percentile60}}{Below 60th percentile poverty line} -#' \item{\code{percentile80}}{Below 80th percentile poverty line} -#' } -#' -#' @examples -#' # Access India PPI table -#' ppiIND2016_r68 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiIND2016_r68[ppiIND2016_r68$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiIND2016_r68, 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 -#' # rangarajan poverty definition -#' ppiScore <- 50 -#' ppiIND2016_r68[ppiIND2016_r68$score == ppiScore, "rangarajan100"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiIND2016_r68" +"ppiIND2016_r62" ################################################################################ # -#' Poverty Probability Index (PPI) lookup table for Indonesia using legacy -#' poverty definitions +#' Poverty Probability Index (PPI) lookup table for India using r66 poverty +#' definitions #' -#' @format A data frame with 4 columns and 101 rows: +#' @format A data frame with 8 columns and 101 rows: #' \describe{ #' \item{\code{score}}{PPI score} -#' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{tendulkar}}{National tendulkar} +#' \item{\code{tendulkar100}}{National tendulkar (100\%)} +#' \item{\code{tendulkar150}}{National tendulkar (150\%)} +#' \item{\code{tendulkar200}}{National tendulkar (200\%)} #' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp188}}{Below $1.88 per day purchasing power parity (2005)} #' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} #' } #' #' @examples -#' # Access Indonesia PPI table -#' ppiIDN2012 +#' # Access India PPI table +#' ppiIND2016_r66 #' #' # Given a specific PPI score (from 0 - 100), get the row of poverty #' # probabilities from PPI table it corresponds to #' ppiScore <- 50 -#' ppiIDN2012[ppiIDN2012$score == ppiScore, ] +#' ppiIND2016_r66[ppiIND2016_r66$score == ppiScore, ] #' #' # Use subset() function to get the row of poverty probabilities corresponding #' # to specific PPI score #' ppiScore <- 50 -#' subset(ppiIDN2012, score == ppiScore) +#' subset(ppiIND2016_r66, 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 +#' # tendulkar poverty definition #' ppiScore <- 50 -#' ppiIDN2012[ppiIDN2012$score == ppiScore, "nl100"] +#' ppiIND2016_r66[ppiIND2016_r66$score == ppiScore, "tendulkar"] #' #' @source \url{https://www.povertyindex.org} #' # ################################################################################ -"ppiIDN2012" +"ppiIND2016_r66" ################################################################################ # -#' Poverty Probability Index (PPI) lookup table for Indonesia using new -#' poverty definitions +#' Poverty Probability Index (PPI) lookup table for India using r68 poverty +#' definitions #' -#' @format A data frame with 9 columns and 101 rows: +#' @format A data frame with 16 columns and 101 rows: #' \describe{ #' \item{\code{score}}{PPI score} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{extreme}}{USAID extreme poverty} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{rangarajan100}}{National rangarajan (100\%)} +#' \item{\code{rangarajan150}}{National rangarajan (150\%)} +#' \item{\code{rangarajan200}}{National rangarajan (200\%)} +#' \item{\code{half100}}{Poorest half below 100\% national} +#' \item{\code{rbiUrban}}{RBI urban} +#' \item{\code{rbiRural}}{RBI rural} #' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} #' \item{\code{ppp310}}{Below $3.10 per day purchasing power parity (2011)} +#' \item{\code{ppp380}}{Below $3.80 per day purchasing power parity (2011)} +#' \item{\code{ppp400}}{Below $4.00 per day purchasing power parity (2011)} +#' \item{\code{percentile20}}{Below 20th percentile poverty line} +#' \item{\code{percentile40}}{Below 40th percentile poverty line} +#' \item{\code{percentile50}}{Below 50th percentile poverty line} +#' \item{\code{percentile60}}{Below 60th percentile poverty line} +#' \item{\code{percentile80}}{Below 80th percentile poverty line} #' } #' #' @examples -#' # Access Indonesia PPI table -#' ppiIDN2012_a +#' # Access India PPI table +#' ppiIND2016_r68 #' #' # Given a specific PPI score (from 0 - 100), get the row of poverty #' # probabilities from PPI table it corresponds to #' ppiScore <- 50 -#' ppiIDN2012_a[ppiIDN2012_a$score == ppiScore, ] +#' ppiIND2016_r68[ppiIND2016_r68$score == ppiScore, ] #' #' # Use subset() function to get the row of poverty probabilities corresponding #' # to specific PPI score #' ppiScore <- 50 -#' subset(ppiIDN2012_a, score == ppiScore) +#' subset(ppiIND2016_r68, 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 +#' # based on a specific poverty definition. In this example, the national +#' # rangarajan poverty definition #' ppiScore <- 50 -#' ppiIDN2012_a[ppiIDN2012_a$score == ppiScore, "extreme"] +#' ppiIND2016_r68[ppiIND2016_r68$score == ppiScore, "rangarajan100"] #' #' @source \url{https://www.povertyindex.org} #' # ################################################################################ -"ppiIDN2012_a" +"ppiIND2016_r68" + + + ################################################################################ @@ -1395,144 +936,6 @@ "ppiMDG2015" -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Malawi using government -#' poverty definitions -#' -#' @format A data frame with 14 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nlFood}}{Food poverty line} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{half100}}{Poorest half below 100\% national} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} -#' \item{\code{ppp844}}{Below $8.44 per day purchasing power parity (2005)} -#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} -#' \item{\code{ppp310}}{Below $3.10 per day purchasing power parity (2011)} -#' \item{\code{ppp1000}}{Below $10.00 per day purchasing power parity (2011)} -#' } -#' -#' @examples -#' # Access Malawi PPI table -#' ppiMWI2015_gov -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiMWI2015_gov[ppiMWI2015_gov$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiMWI2015_gov, 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 -#' ppiMWI2015_gov[ppiMWI2015_gov$score == ppiScore, "nl100"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiMWI2015_gov" - - -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Malawi using legacy -#' poverty definitions -#' -#' @format A data frame with 3 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' } -#' -#' @examples -#' # Access Malawi PPI table -#' ppiMWI2015 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiMWI2015[ppiMWI2015$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiMWI2015, score == ppiScore) -#' -#' # Given a specific PPI score (from 0 - 100), get a poverty probability -#' # based on a specific poverty definition. In this example, below $1.25 -#' # purchasing power parity (2005) -#' ppiScore <- 50 -#' ppiMWI2015[ppiMWI2015$score == ppiScore, "ppp125"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiMWI2015" - - -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Malawi using PBM poverty -#' definitions -#' -#' @format A data frame with 13 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nlFood}}{Food poverty line} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{half100}}{Poorest half below 100\% national} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} -#' \item{\code{ppp844}}{Below $8.44 per day purchasing power parity (2005)} -#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} -#' \item{\code{ppp310}}{Below $3.10 per day purchasing power parity (2011)} -#' } -#' -#' @examples -#' # Access Malawi PPI table -#' ppiMWI2015_pbm -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiMWI2015_pbm[ppiMWI2015_pbm$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiMWI2015_pbm, 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 -#' ppiMWI2015_pbm[ppiMWI2015_pbm$score == ppiScore, "nl100"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiMWI2015_pbm" - - ################################################################################ # #' Poverty Probability Index (PPI) lookup table for Mali @@ -2126,219 +1529,133 @@ #' @format A data frame with 11 columns and 101 rows: #' \describe{ #' \item{\code{score}}{PPI score} -#' \item{\code{deep}}{Deep poverty} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{median}}{Poorest half below 100\% national} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp375}}{Below $3.75 per day purchasing power parity (2005)} -#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} -#' } -#' -#' @examples -#' # Access Palestine PPI table -#' ppiPSE2014 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiPSE2014[ppiPSE2014$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiPSE2014, 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 -#' ppiPSE2014[ppiPSE2014$score == ppiScore, "nl100"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiPSE2014" - - -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Paraguay -#' -#' @format A data frame with 8 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nlFood}}{Food poverty line} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{extreme}}{USAID extreme poverty} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' } -#' -#' @examples -#' # Access Paraguay PPI table -#' ppiPRY2012 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiPRY2012[ppiPRY2012$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiPRY2012, 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 -#' ppiPRY2012[ppiPRY2012$score == ppiScore, "nl100"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiPRY2012" - - -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Peru -#' -#' @format A data frame with 9 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nlFood}}{Food poverty line} +#' \item{\code{deep}}{Deep poverty} #' \item{\code{nl100}}{National poverty line (100\%)} #' \item{\code{nl150}}{National poverty line (150\%)} #' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{extreme}}{USAID extreme poverty} +#' \item{\code{median}}{Poorest half below 100\% national} #' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} #' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} #' \item{\code{ppp375}}{Below $3.75 per day purchasing power parity (2005)} +#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} #' } #' #' @examples -#' # Access Peru PPI table -#' ppiPER2012 +#' # Access Palestine PPI table +#' ppiPSE2014 #' #' # Given a specific PPI score (from 0 - 100), get the row of poverty #' # probabilities from PPI table it corresponds to #' ppiScore <- 50 -#' ppiPER2012[ppiPER2012$score == ppiScore, ] +#' ppiPSE2014[ppiPSE2014$score == ppiScore, ] #' #' # Use subset() function to get the row of poverty probabilities corresponding #' # to specific PPI score #' ppiScore <- 50 -#' subset(ppiPER2012, score == ppiScore) +#' subset(ppiPSE2014, 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 -#' ppiPER2012[ppiPER2012$score == ppiScore, "nl100"] +#' ppiPSE2014[ppiPSE2014$score == ppiScore, "nl100"] #' #' @source \url{https://www.povertyindex.org} #' # ################################################################################ -"ppiPER2012" +"ppiPSE2014" ################################################################################ # -#' Poverty Probability Index (PPI) lookup table for Philippines using legacy -#' poverty definitions +#' Poverty Probability Index (PPI) lookup table for Paraguay #' -#' @format A data frame with 6 columns and 101 rows: +#' @format A data frame with 8 columns and 101 rows: #' \describe{ #' \item{\code{score}}{PPI score} +#' \item{\code{nlFood}}{Food poverty line} #' \item{\code{nl100}}{National poverty line (100\%)} +#' \item{\code{nl150}}{National poverty line (150\%)} +#' \item{\code{nl200}}{National poverty line (200\%)} +#' \item{\code{extreme}}{USAID extreme poverty} #' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} #' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} -#' \item{\code{ppp432}}{Below $4.32 per day purchasing power parity (1993)} #' } #' #' @examples -#' # Access Philippines PPI table -#' ppiPHL2014 +#' # Access Paraguay PPI table +#' ppiPRY2012 #' #' # Given a specific PPI score (from 0 - 100), get the row of poverty #' # probabilities from PPI table it corresponds to #' ppiScore <- 50 -#' ppiPHL2014[ppiPHL2014$score == ppiScore, ] +#' ppiPRY2012[ppiPRY2012$score == ppiScore, ] #' #' # Use subset() function to get the row of poverty probabilities corresponding #' # to specific PPI score #' ppiScore <- 50 -#' subset(ppiPHL2014, score == ppiScore) +#' subset(ppiPRY2012, 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 -#' ppiPHL2014[ppiPHL2014$score == ppiScore, "nl100"] +#' ppiPRY2012[ppiPRY2012$score == ppiScore, "nl100"] #' #' @source \url{https://www.povertyindex.org} #' # ################################################################################ -"ppiPHL2014" +"ppiPRY2012" ################################################################################ # -#' Poverty Probability Index (PPI) lookup table for Philippines using new -#' poverty definitions +#' Poverty Probability Index (PPI) lookup table for Peru #' -#' @format A data frame with 11 columns and 101 rows: +#' @format A data frame with 9 columns and 101 rows: #' \describe{ #' \item{\code{score}}{PPI score} +#' \item{\code{nlFood}}{Food poverty line} #' \item{\code{nl100}}{National poverty line (100\%)} #' \item{\code{nl150}}{National poverty line (150\%)} #' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{median}}{Poorest half below 100\% national} +#' \item{\code{extreme}}{USAID extreme poverty} #' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} #' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} -#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} -#' \item{\code{ppp310}}{Below $3.10 per day purchasing power parity (2011)} +#' \item{\code{ppp375}}{Below $3.75 per day purchasing power parity (2005)} #' } #' #' @examples -#' # Access Philippines PPI table -#' ppiPHL2014_a +#' # Access Peru PPI table +#' ppiPER2012 #' #' # Given a specific PPI score (from 0 - 100), get the row of poverty #' # probabilities from PPI table it corresponds to #' ppiScore <- 50 -#' ppiPHL2014_a[ppiPHL2014_a$score == ppiScore, ] +#' ppiPER2012[ppiPER2012$score == ppiScore, ] #' #' # Use subset() function to get the row of poverty probabilities corresponding #' # to specific PPI score #' ppiScore <- 50 -#' subset(ppiPHL2014_a, score == ppiScore) +#' subset(ppiPER2012, 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 -#' ppiPHL2014_a[ppiPHL2014_a$score == ppiScore, "nl100"] +#' ppiPER2012[ppiPER2012$score == ppiScore, "nl100"] #' #' @source \url{https://www.povertyindex.org} #' # ################################################################################ -"ppiPHL2014_a" +"ppiPER2012" + + + ################################################################################ @@ -2610,49 +1927,6 @@ "ppiLKA2016" -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for South Africa -#' -#' @format A data frame with 8 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nlFood}}{Food poverty line} -#' \item{\code{extreme}}{USAID extreme poverty} -#' \item{\code{nu100}}{National upper poverty line (100\%)} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp400}}{Below $4.00 per day purchasing power parity (2005)} -#' } -#' -#' @examples -#' # Access South Africa PPI table -#' ppiZAF2009 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiZAF2009[ppiZAF2009$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiZAF2009, 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 -#' ppiZAF2009[ppiZAF2009$score == ppiScore, "nl100"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiZAF2009" - - ################################################################################ # #' Poverty Probability Index (PPI) lookup table for Syria @@ -2764,339 +2038,168 @@ #' \item{\code{median}}{Poorest half below 100\% national} #' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} #' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' } -#' -#' @examples -#' # Access Tajikistan PPI table -#' ppiTJK2015 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiTJK2015[ppiTJK2015$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiTJK2015, 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 -#' ppiTJK2015[ppiTJK2015$score == ppiScore, "nl100"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiTJK2015" - - -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Timor Leste -#' -#' @format A data frame with 8 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nl100}}{National lower poverty line (100\%)} -#' \item{\code{nu100}}{National upper poverty line (100\%)} -#' \item{\code{nu150}}{National upper poverty line (150\%)} -#' \item{\code{nu200}}{National upper poverty line (200\%)} -#' \item{\code{extreme}}{USAID extreme poverty} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' } -#' -#' @examples -#' # Access Timor Leste PPI table -#' ppiTLS2013 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiTLS2013[ppiTLS2013$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiTLS2013, 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 -#' ppiTLS2013[ppiTLS2013$score == ppiScore, "nl100"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiTLS2013" - - -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Uganda -#' -#' @format A data frame with 13 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{half100}}{Poorest half below 100\% national} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp400}}{Below $4.00 per day purchasing power parity (2005)} -#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} -#' \item{\code{ppp844}}{Below $8.44 per day purchasing power parity (2005)} -#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} -#' \item{\code{ppp310}}{Below $3.10 per day purchasing power parity (2011)} -#' } -#' -#' @examples -#' # Access Uganda PPI table -#' ppiUGA2015 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiUGA2015[ppiUGA2015$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiUGA2015, 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 -#' ppiUGA2015[ppiUGA2015$score == ppiScore, "nl100"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiUGA2015" - - -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Vietnam -#' -#' @format A data frame with 8 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nlFood}}{Food poverty line} -#' \item{\code{extreme}}{USAID extreme poverty line} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp175}}{Below $1.75 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{molisa}}{MOLISA poverty line} -#' } -#' -#' @examples -#' # Access Vietnam PPI table -#' ppiVNM2009 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiVNM2009[ppiVNM2009$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiVNM2009, 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 -#' ppiVNM2009[ppiVNM2009$score == ppiScore, "nl100"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiVNM2009" - - -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Yemen -#' -#' @format A data frame with 8 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nlFood}}{Food poverty line} -#' \item{\code{extreme}}{USAID extreme poverty} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp300}}{Below $3.00 per day purchasing power parity (2005)} -#' \item{\code{ppp400}}{Below $4.00 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} #' } #' #' @examples -#' # Access Yemen PPI table -#' ppiYEM2009 +#' # Access Tajikistan PPI table +#' ppiTJK2015 #' #' # Given a specific PPI score (from 0 - 100), get the row of poverty #' # probabilities from PPI table it corresponds to #' ppiScore <- 50 -#' ppiYEM2009[ppiYEM2009$score == ppiScore, ] +#' ppiTJK2015[ppiTJK2015$score == ppiScore, ] #' #' # Use subset() function to get the row of poverty probabilities corresponding #' # to specific PPI score #' ppiScore <- 50 -#' subset(ppiYEM2009, score == ppiScore) +#' subset(ppiTJK2015, 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 -#' ppiYEM2009[ppiYEM2009$score == ppiScore, "nl100"] +#' ppiTJK2015[ppiTJK2015$score == ppiScore, "nl100"] #' #' @source \url{https://www.povertyindex.org} #' # ################################################################################ -"ppiYEM2009" +"ppiTJK2015" ################################################################################ # -#' Poverty Probability Index (PPI) lookup table for Cambodia +#' Poverty Probability Index (PPI) lookup table for Timor Leste #' -#' @format A data frame with 9 columns and 101 rows: +#' @format A data frame with 8 columns and 101 rows: #' \describe{ #' \item{\code{score}}{PPI score} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{median}}{Median poverty line} +#' \item{\code{nl100}}{National lower poverty line (100\%)} +#' \item{\code{nu100}}{National upper poverty line (100\%)} +#' \item{\code{nu150}}{National upper poverty line (150\%)} +#' \item{\code{nu200}}{National upper poverty line (200\%)} +#' \item{\code{extreme}}{USAID extreme poverty} #' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} #' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} #' } #' #' @examples -#' # Access Cambodia PPI table -#' ppiKHM2015_wb +#' # Access Timor Leste PPI table +#' ppiTLS2013 #' #' # Given a specific PPI score (from 0 - 100), get the row of poverty #' # probabilities from PPI table it corresponds to #' ppiScore <- 50 -#' ppiKHM2015_wb[ppiKHM2015_wb$score == ppiScore, ] +#' ppiTLS2013[ppiTLS2013$score == ppiScore, ] #' #' # Use subset() function to get the row of poverty probabilities corresponding #' # to specific PPI score #' ppiScore <- 50 -#' subset(ppiKHM2015_wb, score == ppiScore) +#' subset(ppiTLS2013, 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 -#' ppiKHM2015_wb[ppiKHM2015_wb$score == ppiScore, "nl100"] +#' ppiTLS2013[ppiTLS2013$score == ppiScore, "nl100"] #' #' @source \url{https://www.povertyindex.org} #' # ################################################################################ -"ppiKHM2015_wb" +"ppiTLS2013" + ################################################################################ # -#' Poverty Probability Index (PPI) lookup table for Cambodia +#' Poverty Probability Index (PPI) lookup table for Uganda #' -#' @format A data frame with 9 columns and 101 rows: +#' @format A data frame with 13 columns and 101 rows: #' \describe{ #' \item{\code{score}}{PPI score} #' \item{\code{nl100}}{National poverty line (100\%)} #' \item{\code{nl150}}{National poverty line (150\%)} #' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{median}}{Median poverty line} +#' \item{\code{half100}}{Poorest half below 100\% national} #' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} #' \item{\code{ppp200}}{Below $2.00 per day purchasing power parity (2005)} #' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp400}}{Below $4.00 per day purchasing power parity (2005)} #' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} +#' \item{\code{ppp844}}{Below $8.44 per day purchasing power parity (2005)} +#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} +#' \item{\code{ppp310}}{Below $3.10 per day purchasing power parity (2011)} #' } #' #' @examples -#' # Access Cambodia PPI table -#' ppiKHM2015_gov +#' # Access Uganda PPI table +#' ppiUGA2015 #' #' # Given a specific PPI score (from 0 - 100), get the row of poverty #' # probabilities from PPI table it corresponds to #' ppiScore <- 50 -#' ppiKHM2015_gov[ppiKHM2015_gov$score == ppiScore, ] +#' ppiUGA2015[ppiUGA2015$score == ppiScore, ] #' #' # Use subset() function to get the row of poverty probabilities corresponding #' # to specific PPI score #' ppiScore <- 50 -#' subset(ppiKHM2015_gov, score == ppiScore) +#' subset(ppiUGA2015, 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 -#' ppiKHM2015_gov[ppiKHM2015_gov$score == ppiScore, "nl100"] +#' ppiUGA2015[ppiUGA2015$score == ppiScore, "nl100"] #' #' @source \url{https://www.povertyindex.org} #' # ################################################################################ -"ppiKHM2015_gov" +"ppiUGA2015" ################################################################################ # -#' Poverty Probability Index (PPI) lookup table for Cambodia +#' Poverty Probability Index (PPI) lookup table for Yemen #' -#' @format A data frame with 6 columns and 101 rows: +#' @format A data frame with 8 columns and 101 rows: #' \describe{ #' \item{\code{score}}{PPI score} #' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power poverty (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power poverty (2005)} +#' \item{\code{nlFood}}{Food poverty line} +#' \item{\code{extreme}}{USAID extreme poverty} +#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} +#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} +#' \item{\code{ppp300}}{Below $3.00 per day purchasing power parity (2005)} +#' \item{\code{ppp400}}{Below $4.00 per day purchasing power parity (2005)} #' } #' #' @examples -#' # Access Cambodia PPI table -#' ppiKHM2015 +#' # Access Yemen PPI table +#' ppiYEM2009 #' #' # Given a specific PPI score (from 0 - 100), get the row of poverty #' # probabilities from PPI table it corresponds to #' ppiScore <- 50 -#' ppiKHM2015[ppiKHM2015$score == ppiScore, ] +#' ppiYEM2009[ppiYEM2009$score == ppiScore, ] #' #' # Use subset() function to get the row of poverty probabilities corresponding #' # to specific PPI score #' ppiScore <- 50 -#' subset(ppiKHM2015, score == ppiScore) +#' subset(ppiYEM2009, 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 -#' ppiKHM2015[ppiKHM2015$score == ppiScore, "nl100"] +#' ppiYEM2009[ppiYEM2009$score == ppiScore, "nl100"] #' #' @source \url{https://www.povertyindex.org} #' # ################################################################################ -"ppiKHM2015" +"ppiYEM2009" ################################################################################ @@ -3207,65 +2310,6 @@ "ppiPER2018" -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Philippines -#' -#' @format A data frame with 18 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{food}}{Food poverty line} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} -#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} -#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} -#' \item{\code{ppp800}}{Below $8.00 per day purchasing power parity (2011)} -#' \item{\code{ppp1100}}{Below $11.00 per day purchasing power parity (2011)} -#' \item{\code{ppp1500}}{Below $15.00 per day purchasing power parity (2011)} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} -#' \item{\code{percentile20}}{Below 20th percentile poverty line} -#' \item{\code{percentile40}}{Below 40th percentile poverty line} -#' \item{\code{percentile60}}{Below 60th percentile poverty line} -#' \item{\code{percentile80}}{Below 80th percentile poverty line} -#' } -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiPHL2018" - -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Togo -#' -#' @format A data frame with 15 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{ppp100}}{Below $1.00 per day purchasing power parity (2011)} -#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} -#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} -#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} -#' \item{\code{percentile20}}{Below 20th percentile poverty line} -#' \item{\code{percentile40}}{Below 40th percentile poverty line} -#' \item{\code{percentile60}}{Below 60th percentile poverty line} -#' \item{\code{percentile80}}{Below 80th percentile poverty line} -#' } -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiTGO2018" - ################################################################################ # #' Poverty Probability Index (PPI) lookup table for Colombia @@ -3329,67 +2373,14 @@ #' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} #' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} #' \item{\code{ppp800}}{Below $8.00 per day purchasing power parity (2011)} -#' \item{\code{ppp1100}}{Below $15.00 per day purchasing power parity (2011)} -#' \item{\code{ppp1500}}{Below $21.70 per day purchasing power parity (2011)} -#' \item{\code{ppp2170}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp125}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $5.00 per day purchasing power parity (2005)} -#' \item{\code{ppp500}}{Below 20th percentile poverty line} -#' \item{\code{percentile20}}{Below 40th percentile poverty line} -#' \item{\code{percentile40}}{Below 60th percentile poverty line} -#' \item{\code{percentile60}}{Below 80th percentile poverty line} -#' \item{\code{percentile80}}{NA} -#' } -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiCOL2018" - - -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Burkina Faso -#' -#' @format A data frame with 8 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nl50}}{National poverty line (50\%)} -#' \item{\code{nl75}}{National poverty line (75\%)} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{extreme}}{USAID extreme poverty} +#' \item{\code{ppp1100}}{Below $11.00 per day purchasing power parity (2011)} +#' \item{\code{ppp1500}}{Below $15.00 per day purchasing power parity (2011)} +#' \item{\code{ppp2170}}{Below $21.70 per day purchasing power parity (2011)} #' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} #' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' } -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiBFA2011" - -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Burkina Faso -#' -#' @format A data frame with 18 columns and 101 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{food}}{Food poverty line} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{ppp125}}{Below $1.00 per day purchasing power parity (2005)} -#' \item{\code{ppp200}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} #' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} -#' \item{\code{ppp844}}{Below $8.44 per day purchasing power parity (2005)} -#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} -#' \item{\code{ppp310}}{Below $3.10 per day purchasing power parity (2011)} -#' \item{\code{median}}{Median poverty line} #' \item{\code{percentile20}}{Below 20th percentile poverty line} #' \item{\code{percentile40}}{Below 40th percentile poverty line} -#' \item{\code{percentile50}}{Below 50th percentile poverty line} #' \item{\code{percentile60}}{Below 60th percentile poverty line} #' \item{\code{percentile80}}{Below 80th percentile poverty line} #' } @@ -3397,7 +2388,7 @@ #' # ################################################################################ -"ppiBFA2014" +"ppiCOL2018" ################################################################################ @@ -3809,110 +2800,6 @@ "ppiRWA2019" -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Malawi -#' -#' @format A data frame with 16 columns and 100 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{extreme}}{Extreme poverty line} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{ppp100}}{Below $1.00 per day purchasing power parity (2011)} -#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} -#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} -#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} -#' \item{\code{percentile20}}{Below 20th percentile poverty line} -#' \item{\code{percentile40}}{Below 40th percentile poverty line} -#' \item{\code{percentile60}}{Below 50th percentile poverty line} -#' \item{\code{percentile80}}{Below 60th percentile poverty line} -#' } -#' -#' @examples -#' # Access Malawi PPI table -#' ppiMWI2020 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiMWI2020[ppiMWI2020$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiMWI2020, 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 -#' ppiMWI2020[ppiMWI2020$score == ppiScore, "extreme"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiMWI2020" - -################################################################################ -# -#' Poverty Probability Index (PPI) lookup table for Indonesia -#' -#' @format A data frame with 20 columns and 100 rows: -#' \describe{ -#' \item{\code{score}}{PPI score} -#' \item{\code{nl100}}{National poverty line (100\%)} -#' \item{\code{extreme}}{Extreme poverty line} -#' \item{\code{nl150}}{National poverty line (150\%)} -#' \item{\code{nl200}}{National poverty line (200\%)} -#' \item{\code{ppp100}}{Below $1.00 per day purchasing power parity (2011)} -#' \item{\code{ppp190}}{Below $1.90 per day purchasing power parity (2011)} -#' \item{\code{ppp320}}{Below $3.20 per day purchasing power parity (2011)} -#' \item{\code{ppp550}}{Below $5.50 per day purchasing power parity (2011)} -#' \item{\code{ppp800}}{Below $8.00 per day purchasing power parity (2011)} -#' \item{\code{ppp1100}}{Below $11.00 per day purchasing power parity (2011)} -#' \item{\code{ppp1500}}{Below $15.00 per day purchasing power parity (2011)} -#' \item{\code{ppp2170}}{Below $21.70 per day purchasing power parity (2011)} -#' \item{\code{ppp125}}{Below $1.25 per day purchasing power parity (2005)} -#' \item{\code{ppp250}}{Below $2.50 per day purchasing power parity (2005)} -#' \item{\code{ppp500}}{Below $5.00 per day purchasing power parity (2005)} -#' \item{\code{percentile20}}{Below 20th percentile poverty line} -#' \item{\code{percentile40}}{Below 40th percentile poverty line} -#' \item{\code{percentile60}}{Below 50th percentile poverty line} -#' \item{\code{percentile80}}{Below 60th percentile poverty line} -#' } -#' -#' @examples -#' # Access Indonesia PPI table -#' ppiIDN2020 -#' -#' # Given a specific PPI score (from 0 - 100), get the row of poverty -#' # probabilities from PPI table it corresponds to -#' ppiScore <- 50 -#' ppiIDN2020[ppiIDN2020$score == ppiScore, ] -#' -#' # Use subset() function to get the row of poverty probabilities corresponding -#' # to specific PPI score -#' ppiScore <- 50 -#' subset(ppiIDN2020, 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 -#' ppiIDN2020[ppiIDN2020$score == ppiScore, "extreme"] -#' -#' @source \url{https://www.povertyindex.org} -#' -# -################################################################################ -"ppiIDN2020" - ################################################################################ # #' Poverty Probability Index (PPI) lookup table for Tanzania 2022 diff --git a/R/sysdata.rda b/R/sysdata.rda index 87dcf0e6..d140ef9a 100644 Binary files a/R/sysdata.rda and b/R/sysdata.rda differ diff --git a/README.Rmd b/README.Rmd index 10d27519..18410f00 100644 --- a/README.Rmd +++ b/README.Rmd @@ -67,7 +67,7 @@ These three components are joined together without any spaces or gaps. Some country lookup tables may have additional components to their name which are added after the year separated with an underscore. These usually signify that a lookup table released on a particular year has a subset table in which the poverty likelihoods for a given `PPI` score are reported based on a different poverty definition or cut-off. This additional component to the table name is usually a character value or alphanumeric and is usually country-specific. To know more about what this additional component to some `PPI` tables refer to, read the index table below of the `PPI` tables available in this package. -Following are the available PPI country tables from the `ppitables` package. This is updated as at 21 September 2020 using information from the PPI [site](https://www.povertyindex.org). +Following are the available PPI country tables from the `ppitables` package. This is updated as at 11 April 2023 using information from the PPI [site](https://www.povertyindex.org). ### List of PPI country tables @@ -84,6 +84,14 @@ Following are the available PPI country tables from the `ppitables` package. Thi +-----+-----------------+-----------------------------------------------------+-----------------+ | 3. | `ppiBEN2012` | PPI for Benin based on 2010 data | 2012 | +-----+-----------------+-----------------------------------------------------+-----------------+ +| | `ppiBEN2022_11q`| PPI for Benin based on 2018/9 Enquete Harmonisée sur| 2022 | +| | | le Conditions de Vie des Ménages (EHCVM) and using | | +| | | an 11 question score card | | ++-----+-----------------+-----------------------------------------------------+-----------------+ +| | `ppiBEN2022_6q` | PPI for Benin based on 2018/9 Enquete Harmonisée sur| 2022 | +| | | le Conditions de Vie des Ménages (EHCVM) and using | | +| | | a 6 question score card | | ++-----+-----------------+-----------------------------------------------------+-----------------+ | 4. | `ppiBFA2011` | PPI for Burkina Faso using Burkina Faso's 2003 | 2011 | | | | Household Living Standards Survey | | +-----+-----------------+-----------------------------------------------------+-----------------+ @@ -94,12 +102,19 @@ Following are the available PPI country tables from the `ppitables` package. Thi | | | Enquête Multisectorielle Continue (EMC) based on | | | | | IPA's new approach to PPI calculation | | +-----+-----------------+-----------------------------------------------------+-----------------+ +| | `ppiBFA2023` | PPI for Burkina FASO based on data from 2018 Enquête| 2023 | +| | | Harmonisée sur le Conditions de Vie des Ménages | | +| | | (EHCVM) | | ++-----+-----------------+-----------------------------------------------------+-----------------+ | 5. | `ppiBGD2013` | PPI for Bangladesh using Bangaldesh's 2010 HIES | 2013 | | | | Survey | | +-----+-----------------+-----------------------------------------------------+-----------------+ | 6. | `ppiBOL2015` | PPI for Bolivia using Bolivia’s 2013 Household | 2015 | | | | Survey | | +-----+-----------------+-----------------------------------------------------+-----------------+ +| | `ppiBOL2023` | PPI for Bolivia using data from Encuesta de Hogares | 2023 | +| | | 2020 | | ++-----+-----------------+-----------------------------------------------------+-----------------+ | 7. | `ppiBRA2010` | PPI for Brazil based on the 2008 PNAD | 2010 | +-----+-----------------+-----------------------------------------------------+-----------------+ | 8. | `ppiCIV2013` | PPI for Ivory Coast using the Ivory Coast's 2008 | 2013 | @@ -132,11 +147,18 @@ Following are the available PPI country tables from the `ppitables` package. Thi | 12. | `ppiECU2015` | PPI for Ecuador based on the 2013 Living Standards | 2015 | | | | Survey | | +-----+-----------------+-----------------------------------------------------+-----------------+ +| | `ppiECU2022` | PPI for Ecuador based on data from the Encuesta | 2022 | +| | | Nacional de Empleo, Desempleo y Subempleo (ENEMDU) | | +| | | from 2019, 2020 and 2021 | | ++-----+-----------------+-----------------------------------------------------+-----------------+ | 13. | `ppiEGY2010` | PPI for Egypt based on the 2004/5 HIECS | 2010 | +-----+-----------------+-----------------------------------------------------+-----------------+ | 14. | `ppiETH2016` | PPI for Ethiopia based on Ethiopia’s 2010/11 | 2016 | | | | Household Consumption and Expenditure Survey | | +-----+-----------------+-----------------------------------------------------+-----------------+ +| | `ppiETH2023` | PPI for Ethiopia based on data from the | 2023 | +| | | Socioeconomic Survey 2018/2019" | | ++-----+-----------------+-----------------------------------------------------+-----------------+ | 15. | `ppiFJI2014` | PPI for Fiji based on Fiji’s 2008/9 Household Income| 2014 | | | | and Expenditure Survey | | +-----+-----------------+-----------------------------------------------------+-----------------+ @@ -158,8 +180,15 @@ Following are the available PPI country tables from the `ppitables` package. Thi | 17. | `ppiGTM2016` | PPI for Guatemala based on Guatemala’s 2014 | 2016 | | | | Household Living Standards Survey | | +-----+-----------------+-----------------------------------------------------+-----------------+ +| | `ppiGTM2023` | PPI for Guatemala based on data from Encuesta | 2023 | +| | | Nacional de Empleo e Ingresos of 2021 | | ++-----+-----------------+-----------------------------------------------------+-----------------+ | 18. | `ppiHND2010` | PPI for Honduras based on the 2007 EPHPM | 2010 | +-----+-----------------+-----------------------------------------------------+-----------------+ +| | `ppiHND2023` | PPI for Honduras based on data from the Encuesta | 2023 | +| | | Permanente de Hogares de Propósitos Múltiples | | +| | | (EPHPM) 2019 | | ++-----+-----------------+-----------------------------------------------------+-----------------+ | 19. | `ppiHTI2016` | PPI for Haiti based on Haiti’s 2012 Post-Earthquake | 2016 | | | | Living Standards Survey | | +-----+-----------------+-----------------------------------------------------+-----------------+ @@ -172,6 +201,9 @@ Following are the available PPI country tables from the `ppitables` package. Thi | | `ppiIDN2020` | PPI for Indonesia based on data from Indonesia's | 2020 | | | | SUSENA 2016 | | +-----+-----------------+-----------------------------------------------------+-----------------+ +| | `ppiIDN2023` | PPI for Indonesia based on data from the 2022 | 2023 | +| | | National Socioeconomic Survey (SUSENAS) | | ++-----+-----------------+-----------------------------------------------------+-----------------+ | 21. | `ppiIND2016_r59`| PPI for India using India’s 2011/12 Socio-Economic | 2016 | | | | using the R59 legacy poverty lines using MRP | | | | | consumption | | @@ -212,6 +244,9 @@ Following are the available PPI country tables from the `ppitables` package. Thi | | | Socio-Economic Survey based using World Bank | | | | | definition poverty lines | | +-----+-----------------+-----------------------------------------------------+-----------------+ +| | `ppiKHM2023` | PPI for Cambodia using data from 2020 Living | 2023 | +| | | Standards Measurement Study - Plus (LSMS+) | | ++-----+-----------------+-----------------------------------------------------+-----------------+ | 26. | `ppiLKA2016` | PPI for Sri Lanka using Sri Lanka’s 2012/13 | 2016 | | | | Household Income and Expenditure Survey | | +-----+-----------------+-----------------------------------------------------+-----------------+ @@ -261,6 +296,9 @@ Following are the available PPI country tables from the `ppitables` package. Thi | | | Integrated Household Survey (IHS4) using new PPI | | | | | definitions | | +-----+-----------------+-----------------------------------------------------+-----------------+ +| | `ppiMWI2023` | PPI for Malawi based on data from the Fifth | 2023 | +| | | Integrated Household Survey 2019 | | ++-----+-----------------+-----------------------------------------------------+-----------------+ | 35. | `ppiNAM2013` | PPI for Namibia based on Namibia’s 2009/10 Household| 2013 | | | | Income and Expenditure Survey | | +-----+-----------------+-----------------------------------------------------+-----------------+ @@ -293,16 +331,22 @@ Following are the available PPI country tables from the `ppitables` package. Thi | | `ppiPHL2018` | PPI for the Philippines based on Philippines' 2015 | 2018 | | | | Family Income and Expenditure Survey (FIES) | | +-----+-----------------+-----------------------------------------------------+-----------------+ -| 43. | `ppiPRY2012` | PPI for Paraguay based on Paraguay’s 2011 EPH | 2012 | +| | `ppiPHL2023` | PPI for the Philippines based on data from the 2018 | 2023 | +| | | Family Income and Expenditure Survey (FIES) | | ++-----+-----------------+-----------------------------------------------------+-----------------+ +| 43. | `ppiPNG2023` | PPI for Papua New Guinea based on data from | 2023 | +| | | 2016-2018 Demographic and Health Survey (DHS) | | ++-----+-----------------+-----------------------------------------------------+-----------------+ +| 44. | `ppiPRY2012` | PPI for Paraguay based on Paraguay’s 2011 EPH | 2012 | +-----+-----------------+-----------------------------------------------------+-----------------+ -| 44. | `ppiPSE2014` | PPI for Palestine based on Palestine's 2011 | 2014 | +| 45. | `ppiPSE2014` | PPI for Palestine based on Palestine's 2011 | 2014 | | | | Expenditure and Consumption Survey | | +-----+-----------------+-----------------------------------------------------+-----------------+ -| 45. | `ppiROU2009` | PPI for Romania based on the 2007 HBS | 2009 | +| 46. | `ppiROU2009` | PPI for Romania based on the 2007 HBS | 2009 | +-----+-----------------+-----------------------------------------------------+-----------------+ -| 46. | `ppiRUS2010` | PPI for Russia based on 2007 HBS | 2010 | +| 47. | `ppiRUS2010` | PPI for Russia based on 2007 HBS | 2010 | +-----+-----------------+-----------------------------------------------------+-----------------+ -| 47. | `ppiRWA2016` | PPI for Rwanda based on Rwanda’s 2010/11 Integrated | 2016 | +| 48. | `ppiRWA2016` | PPI for Rwanda based on Rwanda’s 2010/11 Integrated | 2016 | | | | Household Living Standards Survey | | +-----+-----------------+-----------------------------------------------------+-----------------+ | | `ppiRWA2019` | PPI for Rwanda based on Rwanda's 2016/2017 | 2019 | @@ -311,47 +355,60 @@ Following are the available PPI country tables from the `ppitables` package. Thi | | | Statistics of Rwanda (NISR) and the Ministry of | | | | | Finance and Planning | | +-----+-----------------+-----------------------------------------------------+-----------------+ -| 48. | `ppiSEN2009` | PPI for Senegal based on Senegal's 2005/6 Enquête de| 2009 | +| 49. | `ppiSEN2009` | PPI for Senegal based on Senegal's 2005/6 Enquête de| 2009 | | | | Suivi de la Pauvreté au Sénégal (ESPS) | | +-----+-----------------+-----------------------------------------------------+-----------------+ | | `ppiSEN2018` | PPI for Senegal based on Senegal's 2011 Enquête de | 2018 | | | | Suivi de la Pauvreté au Sénégal (ESPS) | | +-----+-----------------+-----------------------------------------------------+-----------------+ -| 49. | `ppiSLE2011` | PPI for Sierra Leone based on Sierra Leone's 2003/4 | 2011 | +| 50. | `ppiSLE2011` | PPI for Sierra Leone based on Sierra Leone's 2003/4 | 2011 | | | | HIS | | +-----+-----------------+-----------------------------------------------------+-----------------+ -| 50. | `ppiSLV2010` | PPI for El Salvador based on the 2008 EHPM | 2010 | +| 51. | `ppiSLV2010` | PPI for El Salvador based on the 2008 EHPM | 2010 | +-----+-----------------+-----------------------------------------------------+-----------------+ -| 51. | `ppiSYR2010` | PPI for Syria based on Syria's 2006/7 Household | 2010 | +| | `ppiSLV2021` | PPI for El Salvador based on data from 2019 Encuesta| 2021 | +| | | de Hogares de Propósitos Múltiples | | ++-----+-----------------+-----------------------------------------------------+-----------------+ +| 52. | `ppiSYR2010` | PPI for Syria based on Syria's 2006/7 Household | 2010 | | | | Income and Expenditure Survey | | +-----+-----------------+-----------------------------------------------------+-----------------+ -| 52. | `ppiTJK2015` | PPI for Tajikistan based on 2007 data | 2015 | +| 53. | `ppiTJK2015` | PPI for Tajikistan based on 2007 data | 2015 | +-----+-----------------+-----------------------------------------------------+-----------------+ -| 53. | `ppiTLS2013` | PPI for Timor Leste based on Timor-Leste’s 2007 | 2013 | +| 54. | `ppiTLS2013` | PPI for Timor Leste based on Timor-Leste’s 2007 | 2013 | | | | Survey of Living Standards | | +-----+-----------------+-----------------------------------------------------+-----------------+ -| 54. | `ppiTZA2016` | PPI for Tanzania based on Tanzania’s 2011/12 | 2016 | +| 55. | `ppiTZA2016` | PPI for Tanzania based on Tanzania’s 2011/12 | 2016 | | | | Household Budget Survey | | +-----+-----------------+-----------------------------------------------------+-----------------+ | | `ppiTZA2022` | PPI for Tanzania based on Tanzania's 2017/2018 | 2022 | | | | Household Budget Survey | | +-----+-----------------+-----------------------------------------------------+-----------------+ -| 55. | `ppiTGO2018` | PPI for Togo based on Togo’s 2015 Questionnaire des | 2018 | +| 56. | `ppiTGO2018` | PPI for Togo based on Togo’s 2015 Questionnaire des | 2018 | | | | Indicateurs de Base du Bien-être (QUIBB) | | +-----+-----------------+-----------------------------------------------------+-----------------+ -| 56. | `ppiUGA2015` | PPI for Uganda based on Uganda's 2012/13 National | 2015 | +| | `ppiTGO2023` | PPI for Togo based on data from the 2018 Enquête | 2023 | +| | | Harmonisée sur le Conditions de Vie des Ménages | | +| | | (EHCVM) | | ++-----+-----------------+-----------------------------------------------------+-----------------+ +| 57. | `ppiUGA2015` | PPI for Uganda based on Uganda's 2012/13 National | 2015 | | | | Household Survey | | +-----+-----------------+-----------------------------------------------------+-----------------+ | | `ppiUGA2022` | PPI for Uganda based on Uganda's 2020 National | 2022 | | | | Household Survey | | +-----+-----------------+-----------------------------------------------------+-----------------+ -| 57. | `ppiVNM2009` | PPI for Vietnam based on the 2006 VHLSS | 2009 | +| 58. | `ppiVNM2009` | PPI for Vietnam based on the 2006 VHLSS | 2009 | ++-----+-----------------+-----------------------------------------------------+-----------------+ +| | `ppiVNM2023` | PPI for Vietnam based on data from the 2021 Multiple| 2023 | +| | | Indicator Cluster Survey | | ++-----+-----------------+-----------------------------------------------------+-----------------+ +| 59. | `ppiYEM2009` | PPI for Yemen based on 2005/06 HBS | 2009 | +-----+-----------------+-----------------------------------------------------+-----------------+ -| 58. | `ppiYEM2009` | PPI for Yemen based on 2005/06 HBS | 2009 | +| 60. | `ppiZAF2009` | PPI for South Africa based on the 2005/6 IES | 2009 | +-----+-----------------+-----------------------------------------------------+-----------------+ -| 59. | `ppiZAF2009` | PPI for South Africa based on the 2005/6 IES | 2009 | +| | `ppiZAF2023` | PPI for South Africa based on data from the 2019 | 2023 | +| | | General Household Survey | | +-----+-----------------+-----------------------------------------------------+-----------------+ -| 60. | `ppiZMB2013_got`| PPI for Zambia based on Zambia's 2010 Living | 2013 | +| 61. | `ppiZMB2013_got`| PPI for Zambia based on Zambia's 2010 Living | 2013 | | | | Conditions Monitoring Survey (LCMS) using Göttingen | | | | | poverty definitions | | +-----+-----------------+-----------------------------------------------------+-----------------+ diff --git a/README.md b/README.md index 90baaa78..6b906ba5 100644 --- a/README.md +++ b/README.md @@ -83,8 +83,8 @@ this additional component to some `PPI` tables refer to, read the index table below of the `PPI` tables available in this package. Following are the available PPI country tables from the `ppitables` -package. This is updated as at 21 September 2020 using information from -the PPI [site](https://www.povertyindex.org). +package. This is updated as at 11 April 2023 using information from the +PPI [site](https://www.povertyindex.org). ### List of PPI country tables @@ -131,6 +131,20 @@ Survey
ppiBEN2022_11q
ppiBEN2022_6q
ppiBFA2023
ppiBOL2023
ppiECU2022
ppiETH2023
ppiGTM2023
ppiHND2023
ppiIDN2023
ppiIND2016_r62
ppiIND2016_r66
ppiIND2016_r68
ppiKEN2018
ppiKHM2015_gov
ppiKHM2015_wb
ppiKHM2023
ppiMWI2023
ppiNPL2013_a
ppiPER2018
ppiPHL2018
ppiPHL2023
ppiPNG2023
ppiPRY2012
ppiPSE2014
ppiROU2009
ppiRUS2010
ppiRWA2016
ppiRWA2019
ppiSEN2009
ppiSEN2018
ppiSLE2011
ppiSLV2010
ppiSLV2021
ppiSYR2010
ppiTJK2015
ppiTLS2013
ppiTZA2016
ppiTGO2018
ppiTGO2023
ppiUGA2015
ppiUGA2022
ppiVNM2009
ppiVNM2023
ppiYEM2009
ppiZAF2009
ppiZAF2023
ppiZMB2013_got
ppiZMB2013_cso
ppiZMB2017
ppiZMB2017_a