get_ssp_regions | R Documentation |
Get regions for different income groups in SSP4 2010 (by default)
get_ssp_regions(
pcGDP,
reg_names,
income_group,
ssp_filter = "SSP4",
year_filter = aglu.PCGDP_YEAR
)
pcGDP |
A tibble with per capita GDP estimates, including columns |
reg_names |
A tibble with columns |
income_group |
A string indicating which region group (low, medium, high) |
ssp_filter |
A string indicating which SSP to filter to (SSP4 by default) |
year_filter |
An integer indicating which year to use (2010 by default) |
A character vector of region names belonging to the specified income group.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.