View source: R/get_geo_codes.R
get_geo_codes | R Documentation |
Gets the ISO3 codes of standard country groups available for the
different input-output tables. The resulting format can be used to
extract elements of a matrix using grep
.
get_geo_codes(geo_id, wiotype = "icio2023", icio_extend = FALSE)
geo_id |
String, country group id. Available |
wiotype |
String, type of input-output table. |
icio_extend |
Boolean. If |
Codes of country/countries ready to grep, e.g. AUS|ARG|BEL
# Get the codes of EU27 countries
get_geo_codes("EU27", "icio2023")
# Gets the codes for NAFTA and extends MEX to MX1|MX2
get_geo_codes("NAFTA", "icio2023", icio_extend = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.