set_water_input_name: set_water_input_name

Description Usage Arguments Details Value Author(s)

View source: R/module-helpers.R

Description

Get the appropriate minicam.energy.input name to use in the GCAM supplysector.

Usage

1
2
set_water_input_name(water_sector, water_type, water_mapping,
  GLU = NA_character_)

Arguments

water_sector

A character vector containing water sector information

water_type

A character vector containing water type information

water_mapping

A tibble with a mapping between water.sector and supplysector

GLU

An optional character vector containing GLU information (only used for irrigation with mapped water types)

Details

Get the appropriate minicam.energy.input name to use in the GCAM supplysector by looking up using a mapping to the water.sector and water_type. The minicam.energy.input name to use will have to be some water mapping sector for water_types that are "mapped".

Value

A vector of names of form supplysector_watertype or supplysector_GLU_watertype.

Author(s)

BBL April 2017


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