View source: R/module-helpers.R
set_traded_names | R Documentation |
Re-set region names in tables with traded secondary goods so that the traded secondary goods are all contained within one specified region, with the (actual) region name prepended to the subsector and technology names (where applicable)
set_traded_names(data, GCAM_region_names, apply_selected_only = TRUE)
data |
Tibble to operate on |
GCAM_region_names |
Tibble with GCAM region names and ID numbers |
apply_selected_only |
Logical indicating whether region/subsector/technology re-assignment is applied to the whole tibble, or only selected rows |
Tibble returned with modified region, subsector, and/or technology information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.