set_water_input_name: set_water_input_name

View source: R/module-helpers.R

set_water_input_nameR Documentation

set_water_input_name

Description

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

Usage

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


JGCRI/gcamdata documentation built on March 21, 2023, 2:19 a.m.