May All Data be Reproducible and Transparent (MADRaT) *

Provides a framework which should improve reproducibility and transparency in data processing. It provides functionality such as automatic meta data creation and management, rudimentary quality management, data caching, work-flow management and data aggregation. * The title is a wish not a promise. By no means we expect this package to deliver everything what is needed to achieve full reproducibility and transparency, but we believe that it supports efforts in this direction.


May All Data be Reproducible and Transparent (MADRaT) *

R package madrat, version 3.37.1

CRAN status DOI R build status codecov r-universe

Purpose and Functionality

Provides a framework which should improve reproducibility and transparency in data processing. It provides functionality such as automatic meta data creation and management, rudimentary quality management, data caching, work-flow management and data aggregation. * The title is a wish not a promise. By no means we expect this package to deliver everything what is needed to achieve full reproducibility and transparency, but we believe that it supports efforts in this direction.

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

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

update.packages()

Tutorial

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

vignette("madrat-caching") # Data caching in madrat
vignette("madrat-puc")     # Portable unagreggated collections (PUCs) in MADRaT
vignette("madrat")         # Data preparation with madrat

Questions / Problems

In case of questions / problems please contact Jan Philipp Dietrich [email protected].

Citation

To cite package madrat in publications use:

Dietrich J, Sauer P, Baumstark L, Wirth S, Giannousakis A, Rodrigues R, Bodirsky B, Leip D, Crawford M, Kreidenweis U, Klein D, Rein P (2026). "madrat: May All Data be Reproducible and Transparent (MADRaT) *." doi:10.5281/zenodo.1115490 https://doi.org/10.5281/zenodo.1115490, Version: 3.37.1, https://github.com/pik-piam/madrat.

A BibTeX entry for LaTeX users is

@Misc{,
 title = {madrat: May All Data be Reproducible and Transparent (MADRaT) *},
 author = {Jan Philipp Dietrich and Pascal Sauer and Lavinia Baumstark and Stephen Wirth and Anastasis Giannousakis and Renato Rodrigues and Benjamin Leon Bodirsky and Debbora Leip and Michael Crawford and Ulrich Kreidenweis and David Klein and Patrick Rein},
 doi = {10.5281/zenodo.1115490},
 date = {2026-07-01},
 year = {2026},
 url = {https://github.com/pik-piam/madrat},
 note = {Version: 3.37.1},
}

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("madrat")

3.37.1 by Jan Philipp Dietrich, 3 months ago


https://github.com/pik-piam/madrat, https://doi.org/10.5281/zenodo.1115490


Report a bug at https://github.com/pik-piam/madrat/issues


Browse source code at https://github.com/cran/madrat


Authors: Jan Philipp Dietrich [aut, cre] (affiliation: Potsdam Institute for Climate Impact Research , ORCID: , Pascal Sauer [aut] (affiliation: Potsdam Institute for Climate Impact Research , ORCID: , Lavinia Baumstark [aut] (affiliation: Potsdam Institute for Climate Impact Research) , Stephen Wirth [aut] (affiliation: Potsdam Institute for Climate Impact Research) , Anastasis Giannousakis [aut] , Renato Rodrigues [aut] (affiliation: Potsdam Institute for Climate Impact Research) , Benjamin Leon Bodirsky [aut] (affiliation: Potsdam Institute for Climate Impact Research) , Debbora Leip [aut] (affiliation: Potsdam Institute for Climate Impact Research) , Michael Crawford [aut] (affiliation: Potsdam Institute for Climate Impact Research) , Ulrich Kreidenweis [aut] , David Klein [aut] (affiliation: Potsdam Institute for Climate Impact Research) , Patrick Rein [aut] (affiliation: Potsdam Institute for Climate Impact Research , ORCID:


Documentation:   PDF Manual  


BSD_2_clause + file LICENSE license


Imports callr, digest, filelock, igraph, Matrix, methods, pkgload, renv, stringi, tools, utils, withr, yaml

Depends on magclass

Suggests covr, ggplot2, graphics, grDevices, knitr, rmarkdown, terra, testthat, tibble


Suggested by GDPuc.


See at CRAN