mrdrivers

Create GDP and population scenarios

https://github.com/pik-piam/mrdrivers

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.6%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

Create GDP and population scenarios

Basic Info
Statistics
  • Stars: 0
  • Watchers: 4
  • Forks: 10
  • Open Issues: 4
  • Releases: 0
Created over 4 years ago · Last pushed about 1 year ago
Metadata Files
Readme License Citation

README.md

Create GDP and Population Scenarios

R package mrdrivers, version 7.2.0

CRAN status R build status codecov r-universe

Purpose and Functionality

Create GDP and population scenarios This package constructs the GDP and population scenarios used as drivers in both the REMIND and MAgPIE models.

Framework

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).

Functions

The key madrat::readSource() and madrat::calcOutput() functions provided by this package are listed below.

readSource:

#> [1] "readSSP"       "readWDI"       "readIMF"       "readUN_PopDiv"
#> [5] "readPEAP"

calcOutput:

#> [1] "calcGDP"          "calcGDPpc"        "calcPopulation"   "calcLabour"      
#> [5] "calcUrban"        "calcRatioPPP2MER"

Then there are number of important and/or useful tool functions:

  • The function tooGetUnitDollar() is where the default unit for all monetary units in REMIND and MAgPIE is defined.
  • The function tooGetScenarioDefinition() is where the scenarios are defined and can be helpful when searching for scenario information.
  • The functions toolGeneralConvert(), toolHarmonizePast() and toolHarmonizeFuture() handle common tasks and are potentially useful outside of mrdrivers.

Scenarios

See vignette("scenarios") for more information on - and references for - available scenarios.

Installation

For installation of the most recent package version an additional repository has to be added in R:

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:

r install.packages("mrdrivers")

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

r update.packages()

Tutorial

The package comes with a vignette describing the basic functionality of the package and how to use it. You can load it with the following command (the package needs to be installed):

r vignette("scenarios") # Scenarios

Questions / Problems

In case of questions / problems please contact Johannes Koch jokoch@pik-potsdam.de.

Citation

To cite package mrdrivers in publications use:

Koch J, Soergel B, Leip D, Benke F, Dietrich J (2025). "mrdrivers: Create GDP and Population Scenarios." Version: 7.2.0, https://pik-piam.github.io/mrdrivershttps://github.com/pik-piam/mrdrivers.

A BibTeX entry for LaTeX users is

latex @Misc{, title = {mrdrivers: Create GDP and Population Scenarios}, author = {Johannes Koch and Bjoern Soergel and Deborra Leip and Falk Benke and Jan Philipp Dietrich}, date = {2025-06-06}, year = {2025}, url = {https://pik-piam.github.io/mrdrivers}, url = {https://github.com/pik-piam/mrdrivers}, note = {Version: 7.2.0}, }

Owner

  • Name: Potsdam Integrated Assessment Modelling (PIAM)
  • Login: pik-piam
  • Kind: organization
  • Location: Potsdam Institute for Climate Impact Research (PIK), Germany

Tools developed for use with data and models related to PIK's research.

Citation (CITATION.cff)

cff-version: 1.2.0
message: If you use this software, please cite it using the metadata from this file.
type: software
title: 'mrdrivers: Create GDP and Population Scenarios'
version: 7.2.0
date-released: '2025-06-06'
abstract: Create GDP and population scenarios This package constructs the GDP and
  population scenarios used as drivers in both the REMIND and MAgPIE models.
authors:
- family-names: Koch
  given-names: Johannes
  email: jokoch@pik-potsdam.de
- family-names: Soergel
  given-names: Bjoern
- family-names: Leip
  given-names: Deborra
- family-names: Benke
  given-names: Falk
- family-names: Dietrich
  given-names: Jan Philipp
license: LGPL (>= 3)
url: https://pik-piam.github.io/mrdrivers
repository-code: https://github.com/pik-piam/mrdrivers

GitHub Events

Total
  • Issues event: 29
  • Watch event: 1
  • Issue comment event: 22
  • Push event: 41
  • Pull request review comment event: 2
  • Pull request review event: 10
  • Pull request event: 48
  • Fork event: 4
  • Create event: 1
Last Year
  • Issues event: 29
  • Watch event: 1
  • Issue comment event: 22
  • Push event: 41
  • Pull request review comment event: 2
  • Pull request review event: 10
  • Pull request event: 48
  • Fork event: 4
  • Create event: 1

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 85
  • Total Committers: 9
  • Avg Commits per committer: 9.444
  • Development Distribution Score (DDS): 0.129
Past Year
  • Commits: 21
  • Committers: 5
  • Avg Commits per committer: 4.2
  • Development Distribution Score (DDS): 0.19
Top Committers
Name Email Commits
Johannes Koch j****h@p****e 74
pre-commit-ci[bot] 6****] 3
Jan Philipp Dietrich d****h@p****e 2
Baseer Ahmad Baheer b****r@p****e 1
Debbora Leip l****p@p****e 1
Bjoern Soergel 1****8 1
Falk Benke f****e@p****e 1
Pascal Führlich 8****k 1
orichters o****r@p****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 35
  • Total pull requests: 67
  • Average time to close issues: 4 months
  • Average time to close pull requests: 6 days
  • Total issue authors: 6
  • Total pull request authors: 11
  • Average comments per issue: 0.6
  • Average comments per pull request: 0.36
  • Merged pull requests: 61
  • Bot issues: 0
  • Bot pull requests: 4
Past Year
  • Issues: 5
  • Pull requests: 17
  • Average time to close issues: 4 months
  • Average time to close pull requests: 2 days
  • Issue authors: 2
  • Pull request authors: 4
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.59
  • Merged pull requests: 14
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • johanneskoch94 (26)
  • 0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q (9)
  • cchrisgong (1)
  • benjaminpeeters (1)
  • giannou (1)
  • mikapfl (1)
Pull Request Authors
  • johanneskoch94 (66)
  • pre-commit-ci[bot] (6)
  • bs538 (2)
  • fbenke-pik (2)
  • 0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q (2)
  • whitehacker (1)
  • benjaminpeeters (1)
  • deleip (1)
  • orichters (1)
  • pfuehrlich-pik (1)
  • tscheypidi (1)
Top Labels
Issue Labels
enhancement (10) bug (9) documentation (6) question (3) good first issue (1)
Pull Request Labels
documentation (3) bug (2) enhancement (1)

Dependencies

DESCRIPTION cran
  • madrat >= 2.5.1 depends
  • magclass >= 6.0.3 depends
  • GDPuc >= 0.8.0 imports
  • WDI * imports
  • bezier * imports
  • countrycode * imports
  • dplyr * imports
  • glue * imports
  • lifecycle * imports
  • magrittr * imports
  • purrr * imports
  • readr * imports
  • readxl * imports
  • rlang * imports
  • tibble * imports
  • tidyr * imports
  • tidyselect * imports
  • zoo * imports
  • covr * suggests
  • crayon * suggests
  • testthat >= 3.0.0 suggests
  • withr >= 2.4.2 suggests
.github/actions/setup-r-dependencies-with-rse-repo/action.yml actions
  • actions/cache v2 composite
.github/workflows/lucode2-check.yaml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • pat-s/always-upload-cache v3 composite
  • r-lib/actions/setup-pandoc v1 composite
.github/workflows/pkgdown.yaml actions
  • ./.github/actions/setup-r-dependencies-with-rse-repo * composite
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite