R package mrdrivers, version 0.4.2
Create GDP and population scenarios This package takes care of GDP and population scenario construction, which are important drivers to both the REMIND and MAgPIE models.
This package depends upon the madrat and magclass packages. It integrates into the madrat framework and is structured accordingly. It mainly uses magpie objects (from the magclass package). For more information on madrat or magclass, please visit the respective github repositories (madrat, magclass).
The readSource and calcOutput functions provided by this package are listed below.
readSource:
#> [1] "ARIADNE" "ARIADNE_ReferenceScenario"
#> [3] "EurostatPopGDP" "IMF"
#> [5] "James" "James2019"
#> [7] "MissingIslands" "OECD"
#> [9] "PEAP" "PopulationTWN"
#> [11] "PWT" "SSP"
#> [13] "UN_PopDiv" "WDI"
readSource (deprecated?!):
#> [1] "IIASApop" "SRES"
calcOutput:
#> [1] "DefaultDrivers" "GDP" "GDPFuture" "GDPPast"
#> [5] "GDPpc" "GDPpcFuture" "GDPpcPast" "Labour"
#> [9] "Population" "PopulationFuture" "PopulationPast" "RatioPPP2MER"
#> [13] "Urban" "UrbanFuture" "UrbanPast" "UrbanPop"
For installation of the most recent package version an additional repository has to be added in R:
options(repos = c(CRAN = "@CRAN@", pik = "https://rse.pik-potsdam.de/r/packages"))
The additional repository can be made available permanently by adding the line above to a file called .Rprofile
stored in the home folder of your system (Sys.glob("~")
in R returns the home directory).
After that the most recent version of the package can be installed using install.packages
:
install.packages("mrdrivers")
Package updates can be installed using update.packages
(make sure that the additional repository has been added before running that command):
update.packages()
In case of questions / problems please contact Johannes Koch jokoch@pik-potsdam.de.
To cite package mrdrivers in publications use:
Koch J, Bodirsky B, Baumstark L, Wang X, Chen D, Leip D, Benke F, Eweron A, Rodrigues R, Giannousakis A, Levesque A, Pehl M, Soergel B, Dietrich J (2021). mrdrivers: Create GDP and population scenarios. https://pik-piam.github.io/mrdrivers, https://github.com/pik-piam/mrdrivers.
A BibTeX entry for LaTeX users is
@Manual{,
title = {mrdrivers: Create GDP and population scenarios},
author = {Johannes Koch and Benjamin Leon Bodirsky and Lavinia Baumstark and Xiaoxi Wang and David Chen and Deborra Leip and Falk Benke and Araujo Eweron and Renato Rodrigues and Anastasis Giannousakis and Antoine Levesque and Michaja Pehl and Bjoern Soergel and Jan Philipp Dietrich},
year = {2021},
note = {https://pik-piam.github.io/mrdrivers, https://github.com/pik-piam/mrdrivers},
}