rename_SO2: rename_SO2

View source: R/module-helpers.R

rename_SO2R Documentation

rename_SO2

Description

Add a suffix to the SO2 gas name indicating which of four major world regions to assign the emissions to

Usage

rename_SO2(x, so2_map, is_awb = FALSE)

Arguments

x

A tibble, with columns region and Non.CO2

so2_map

A tibble, with columns region and SO2_name

is_awb

Logical flag - use "_AWB" suffix?

Details

Add a suffix to the SO2 gas name indicating which of four major world regions to assign the emissions to, as Hector considers the geographic location of sulfur emissions. Any code writing out CSVs for conversion to XML handling SO2 related data should use this function. Agricultural waste burning emissions already have a suffix assigned (_AWB), so in this case, the SO2 region number is assigned between the "SO2" and "AWB" strings.

Value

Data object with Non.CO2 changed to SO2 name for SO2 data.

Author(s)

BBL May 2017


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