View source: R/get_sec_codes.R
get_sec_codes | R Documentation |
Gets the ISO3 codes of standard sector groups available for the
different input-output tables. The resulting format can be used to
extract elements of a matrix using grep
.
get_sec_codes(sector_id, wiotype = "icio2023", remove_letter = FALSE)
sector_id |
String, sector or sector group code. Available
|
wiotype |
String, type of input-output database. |
remove_letter |
Boolean. If |
Codes of sector ready to grep, e.g. _01|_02|_03
.
# Get sector codes for manufactures in the icio2023 database.
get_sec_codes("MANUF", "icio2023")
# Get sector codes for services (including construction)
get_sec_codes("SRVWC", "icio2023")
# Get sector codes for manufacturing, removing the first letter so
# the result can be used with `grep` to select specific sectors from
# a matrix
get_sec_codes("MANUF", "icio2023", remove_letter = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.