Generate pie-charts with the contribution of different within-region population groups to different pollutant emissions by scenario and year
calc_ResidEm_grp(
db_path = NULL,
query_path = "./inst/extdata",
db_name = NULL,
prj_name,
scen_name,
queries = "queries_rhap.xml",
final_db_year = 2100,
year,
pollutant,
region,
saveOutput = T,
pie = T
)
Path to the GCAM database
Path to the query file
Name of the GCAM database
Name of the rgcam project. This can be an existing project, or, if not, this will be the name
Vector names of the GCAM scenarios to be processed
Name of the GCAM query file. The file by default includes the queries required to run rfasst
Final year in the GCAM database (this allows to process databases with user-defined "stop periods")
Select the year. 2020:2100
Select the pollutant. List of available gases in "rhap::all_pollutants"
Select the region. It includes the GCAM 32 geopolitical regions + EU-27 + Global: https://github.com/JGCRI/gcam-doc/blob/gh-pages/overview.md
Writes the emission files. By default=T
Produce the maps. By default=F
Contribution of different groups to pollutant emissions