get_ssp_regions: get_ssp_regions

get_ssp_regionsR Documentation

get_ssp_regions

Description

Get regions for different income groups in SSP4 2010 (by default)

Usage

get_ssp_regions(
  pcGDP,
  reg_names,
  income_group,
  ssp_filter = "SSP4",
  year_filter = aglu.PCGDP_YEAR
)

Arguments

pcGDP

A tibble with per capita GDP estimates, including columns GCAM_region_ID, scenario, year, and value

reg_names

A tibble with columns GCAM_region_ID and region

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)

Value

A character vector of region names belonging to the specified income group.


bpbond/gcamdata documentation built on March 22, 2023, 4:52 a.m.