set_traded_names: set_traded_names

Description Usage Arguments Value

View source: R/module-helpers.R

Description

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)

Usage

1
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.


rohmin9122/gcam-korea-release documentation built on Nov. 26, 2020, 8:11 a.m.