Package: madrat 3.37.1

Jan Philipp Dietrich

madrat: 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.

Authors:Jan Philipp Dietrich [aut, cre], Pascal Sauer [aut], Lavinia Baumstark [aut], Stephen Wirth [aut], Anastasis Giannousakis [aut], Renato Rodrigues [aut], Benjamin Leon Bodirsky [aut], Debbora Leip [aut], Michael Crawford [aut], Ulrich Kreidenweis [aut], David Klein [aut], Patrick Rein [aut]

madrat_3.37.1.tar.gz
madrat_3.37.1.tar.gz(r-4.7-any)madrat_3.37.1.tar.gz(r-4.6-any)
madrat_3.37.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
madrat/json (API)

# Install 'madrat' in R:
install.packages('madrat', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/pik-piam/madrat/issues

On CRAN:

Conda:

6.34 score 38 packages 127 scripts 451 downloads 55 exports 30 dependencies

Last updated from:f2136656ec. Checks:4 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK245
source / vignettesOK192
linux-release-x86_64OK174
wasm-releaseOK170

Exports:addMappingcacheCleanupcacheCopycalcOutputcompareDatacompareMadratOutputsdownloadSourcefindBottlenecksgetCalculationsgetConfiggetDependenciesgetFromCommentgetISOlistgetLinkFunctiongetLocationgetMadratGraphgetMadratInfogetMadratMessagegetSourcesinstalledMadratUniverselocalConfigmadratAttachmadratDetachmetadataGFZpucAggregateputMadratMessagereadSourceredirectSourceregionscoderesetMadratMessagesretrieveDatareturnCalcOutputsetConfigtoolAggregatetoolCodeLabelstoolCompareStatusLogstoolConditionalReplacetoolConvertMappingtoolCountry2isocodetoolCountryFilltoolFillWithRegionAvgtoolFillYearstoolFixWeighttoolGetMappingtoolISOhistoricaltoolManualDownloadtoolNAreplacetoolOrderCellstoolSplitSubtypetoolSubtypeSelecttoolTimeAveragetoolTimeSplinetoolXlargestvcatvisualizeDependencies

Dependencies:abindcallrclicpp11data.tabledescdigestfilelockfsglueigraphlatticelifecyclemagclassmagrittrMatrixotelpkgbuildpkgconfigpkgloadprocessxpsR6renvrlangrprojrootstringivctrswithryaml

Data caching in madrat
Basics | Fingerprint | Customize fingerprinting | Control flags | Examples | forcecache

Last update: 2026-07-02
Started: 2021-10-05

Portable unagreggated collections (PUCs) in MADRaT
Basics | A typical workflow | Making a madrat preprocessing ready for puc-files | Potential problems

Last update: 2026-07-02
Started: 2023-05-02

Data preparation with madrat
Setup | madrat framework components | downloadSource | readSource | read | correct | convert | calcOutput | retrieveData | Coding etiquette | Use own functions with madrat | Create madrat-based package

Last update: 2023-05-02
Started: 2017-09-06

Readme and manuals

Help Manual

Help pageTopics
May All Data be Reproducible And Transparent (madrat) *madrat-package madrat
addMappingaddMapping
cacheCleanupcacheCleanup
cacheCopycacheCopy
calcOutputcalcOutput
Calculate total taucalcTauTotal
compareDatacompareData
Compare a madrat function's output with and without your changescompareMadratOutputs
Convert TauconvertTau
downloadSourcedownloadSource
findBottlenecksfindBottlenecks
fullExamplefullEXAMPLE
getCalculationsgetCalculations
getConfiggetConfig
getDependenciesgetDependencies
getFromCommentgetFromComment
get official ISO listgetISOlist
getLinkFunctiongetLinkFunction
getLocationgetLocation
getMadratGraphgetMadratGraph
getMadratInfogetMadratInfo
getMadratMessagegetMadratMessage
getSourcesgetSources
installedMadratUniverseinstalledMadratUniverse
madratAttach / madratDetachmadratAttach madratDetach
metadataGFZmetadataGFZ
pucAggregatepucAggregate
putMadratMessageputMadratMessage
readSourcereadSource
Read TaureadTau
redirectSourceredirectSource
redirectTauredirectTau
Tool: regionscoderegionscode
resetMadratMessagesresetMadratMessages
retrieveDataretrieveData
Construct a list with the information required for calc-functions to returnreturnCalcOutput
setConfiglocalConfig setConfig
toolAggregatetoolAggregate
Tool: CodeLabelstoolCodeLabels
toolCompareStatusLogstoolCompareStatusLogs
toolConditionalReplacetoolConditionalReplace
Tool: ConvertMappingtoolConvertMapping
toolCountry2isocodetoolCountry2isocode
Tool: CountryFilltoolCountryFill
Tool: FillWithRegionAvgtoolFillWithRegionAvg
toolFillYearstoolFillYears
toolFixWeighttoolFixWeight
Tool: GetMappingtoolGetMapping
Tool: ISOhistoricaltoolISOhistorical
Tool: ManualDownloadtoolManualDownload
Tool: NA replacetoolNAreplace
toolOrderCellstoolOrderCells
Tool: SplitSubtypetoolSplitSubtype
Tool: SubtypeSelecttoolSubtypeSelect
toolTimeAveragetoolTimeAverage
Smooth a magclass time series with optional anchor yearstoolTimeSpline
toolXlargesttoolXlargest
Tool: Verbosity Catvcat
visualizeDependenciesvisualizeDependencies