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

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?

Value

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

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.

Author

BBL May 2017