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)
A tibble, with columns region
and Non.CO2
A tibble, with columns region
and SO2_name
Logical flag - use "_AWB" suffix?
Data object with Non.CO2
changed to SO2 name for SO2 data.
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.