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)

Arguments

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

Value

Tibble returned with modified region, subsector, and/or technology information.