Skip to content

The package provides cellular magpie related data via the madrat framework.

License

Notifications You must be signed in to change notification settings

pik-piam/mrmagpie

Repository files navigation

madrat based MAgPIE Input Data Library

R package mrmagpie, version 1.52.6

CRAN status DOI R build status codecov r-universe

Purpose and Functionality

Provides functions for MAgPIE country and cellular input data generation.

Installation

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("mrmagpie")

Package updates can be installed using update.packages (make sure that the additional repository has been added before running that command):

update.packages()

Questions / Problems

In case of questions / problems please contact Kristine Karstens [email protected].

Citation

To cite package mrmagpie in publications use:

Karstens K, Dietrich J, Chen D, Windisch M, Alves M, Beier F, Köberle A, v. Jeetze P, Mishra A, Humpenoeder F, Sauer P (2024). mrmagpie: madrat based MAgPIE Input Data Library. doi: 10.5281/zenodo.4319612 (URL: https://doi.org/10.5281/zenodo.4319612), R package version 1.52.6, <URL: https://github.com/pik-piam/mrmagpie>.

A BibTeX entry for LaTeX users is

@Manual{,
 title = {mrmagpie: madrat based MAgPIE Input Data Library},
 author = {Kristine Karstens and Jan Philipp Dietrich and David Chen and Michael Windisch and Marcos Alves and Felicitas Beier and Alexandre Köberle and Patrick {v. Jeetze} and Abhijeet Mishra and Florian Humpenoeder and Pascal Sauer},
 year = {2024},
 note = {R package version 1.52.6},
 doi = {10.5281/zenodo.4319612},
 url = {https://github.com/pik-piam/mrmagpie},
}