Package: mrcommons 1.46.10

Jan Philipp Dietrich

mrcommons: MadRat commons Input Data Library

Provides useful functions and a common structure to all the input data required to run models like MAgPIE and REMIND of model input data.

Authors:Benjamin Leon Bodirsky [aut], Kristine Karstens [aut], Lavinia Baumstark [aut], Isabelle Weindl [aut], Xiaoxi Wang [aut], Abhijeet Mishra [aut], Stephen Wirth [aut], Mishko Stevanovic [aut], Nele Steinmetz [aut], Ulrich Kreidenweis [aut], Renato Rodrigues [aut], Roman Popov [aut], Florian Humpenoeder [aut], Anastasis Giannousakis [aut], Antoine Levesque [aut], David Klein [aut], Ewerton Araujo [aut], Felicitas Beier [aut], Julian Oeser [aut], Michaja Pehl [aut], Debbora Leip [aut], Michael Crawford [aut], Edna Molina Bacca [aut], Patrick von Jeetze [aut], Eleonora Martinelli [aut], Felix Schreyer [aut], Bjoern Soergel [aut], Pascal Sauer [aut], David Hötten [aut], Robin Hasse [aut], Gabriel Abrahão [aut], Pascal Weigmann [aut], Jan Philipp Dietrich [aut, cre]

mrcommons_1.46.10.tar.gz
mrcommons_1.46.10.zip(r-4.5)mrcommons_1.46.10.zip(r-4.4)mrcommons_1.46.10.zip(r-4.3)
mrcommons_1.46.10.tgz(r-4.4-any)mrcommons_1.46.10.tgz(r-4.3-any)
mrcommons_1.46.10.tar.gz(r-4.5-noble)mrcommons_1.46.10.tar.gz(r-4.4-noble)
mrcommons_1.46.10.tgz(r-4.4-emscripten)mrcommons_1.46.10.tgz(r-4.3-emscripten)
mrcommons.pdf |mrcommons.html
mrcommons/json (API)

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

Peer review:

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

On CRAN:

6.80 score 1 stars 15 packages 20 scripts 29 exports 116 dependencies

Last updated 18 days agofrom:22426ecb63. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 04 2024
R-4.5-winNOTEDec 04 2024
R-4.5-linuxNOTEDec 04 2024
R-4.4-winNOTEDec 04 2024
R-4.4-macNOTEDec 04 2024
R-4.3-winNOTEDec 04 2024
R-4.3-macNOTEDec 04 2024

Exports:calc1stBioenergyPastcalcAdjustGrassi2021calcBodyHeightcalcClimateClasscalcConstructionWoodDemandcalcDemographycalcGovernanceIndicatorcalcGrowingStockcalcGrowingStockNatVegAbsolutecalcGrowingStockNRFcalcGrowingStockphacalcGrowingStockPlantAbsolutecalcGrowingStockPlantationscalcIntakecalcPhysicalInactivitycalcPlantEstablishCalibcalcTimberDemandconvertEU_ReferenceScenarioconvertJRC_IDEESconvertMAgPIEreadEU_ReferenceScenarioreadEurostatreadFeedEfficiencyRegreadFeedShareRegreadHoulton2018readJRC_IDEEStoolCalcIEAfromStructureMappingPEFEtoolPregnanttoolSplitBiomass

Dependencies:abindbackportsbitbit64callrcellrangercheckmateclicliprcodetoolscolorspacecontfraccountrycodecpp11crayondata.tabledescdeSolvedigestdoParalleldotCall64dplyrellipticfansifarverfilelockforcatsforeachfsGDPucgenericsggplot2gluegmsgoftestgtablehdf5rhmshypergeoigraphisobanditeratorsjsonlitelabelinglatticelazyevallifecyclelmomlmomcoLmomentslpjclasslpjmlkitlubridateluscalemadratmagclassmagpiesetsmagrittrMASSMatrixmgcvmrdriversmrfaocoremrlandcoremstoolsmunsellncdf4nleqslvnlmeopenxlsxpillarpkgbuildpkgconfigpkgloadplyrprettyunitsprocessxprogresspspurrrquitteR6rasterRColorBrewerRcppRcppArmadilloreadrreadxlrematchrenvreshapereshape2rlangrprojrootscalesspspamSPEIstringistringrterratibbletidyrtidyselecttimechangeTLMomentstzdbutf8vctrsviridisLitevroomwithrwritexlyamlzipzoo

Readme and manuals

Help Manual

Help pageTopics
calc1stBioDemcalc1stBioDem
calc1stBioenergyPastcalc1stBioenergyPast
calcACCMIPcalcACCMIP
calcAdjustGrassi2021calcAdjustGrassi2021
calcAgProductionValuecalcAgProductionValue
calcAnimalStockscalcAnimalStocks
calcAtmosphericDepositioncalcAtmosphericDeposition
calcAtmosphericRedepositionSharecalcAtmosphericRedepositionShare
calcAtmosphericRedepositionSharecalcAtmosphericTransboundaryRedepositionShare
calcAWMSconfShrcalcAWMSconfShr
calcAWMSconfShrPastcalcAWMSconfShrPast
calcBiomeTypecalcBiomeType
calcBioplasticToBiomasscalcBioplasticToBiomass
calcBodyHeightcalcBodyHeight
calcCentralFeedsharescalcCentralFeedshares
calcClimateClasscalcClimateClass
calcClossConfinementcalcClossConfinement
calcConstructionWoodDemandcalcConstructionWoodDemand
calcDemographycalcDemography
calccalcDevelopmentState
calcEDGAR6calcEDGAR6
calcEF3confinementcalcEF3confinement
calcEF3prpcalcEF3prp
Calculate baseline emissions for maccscalcEmiMac
calcEmisNitrogenAWMSPastcalcEmisNitrogenAWMSPast
calcEmisNitrogenCroplandPastcalcEmisNitrogenCroplandPast
calcEmisNitrogenNonaglandPastcalcEmisNitrogenNonaglandPast
calcEmisNitrogenOceanscalcEmisNitrogenOceans
calcEmisNitrogenPastcalcEmisNitrogenPast
calcEmisNitrogenPasturePastcalcEmisNitrogenPasturePast
calcEmisNitrogenPreagriculturecalcEmisNitrogenPreagriculture
calcEmisNitrogenWatercalcEmisNitrogenWater
calcEmisNitrogenCroplandPastcalcEmissionInventory
calcExcretioncalcExcretion
calcExcretionIPCCcalcExcretionIPCC
calcFAOIntraYearProdcalcFAOIntraYearProd
calcFAOmassbalancecalcFAOmassbalance
calcFAOYieldcalcFAOYield
calcFeedBalanceflowcalcFeedBalanceflow
calcFeedBasketscalcFeedBaskets
calcFeedBasketsPastcalcFeedBasketsPast
Calculate historical system-specific feed baskets based on output of MAgPIE_FEED model as DM feed biomass (different types of feed) needed per DM livestock products of respective systemscalcFeedBasketsSysPast
calcFeedBasketsUncalibratedcalcFeedBasketsUncalibrated
calcFeedEfficiencyFuturecalcFeedEfficiencyFuture
calcFeedPastcalcFeedPast
calcFertilizerByCropcalcFertilizerByCrop
Calculate Fertilizer of NcalcFertN
calcFoodSupplyPastcalcFoodSupplyPast
calcGovernanceIndicatorcalcGovernanceIndicator
calcGrowingStockcalcGrowingStock
calcGrowingStockNatVegAbsolutecalcGrowingStockNatVegAbsolute
calcGrowingStockNRFcalcGrowingStockNRF
calcGrowingStockphacalcGrowingStockpha
calcGrowingStockPlantAbsolutecalcGrowingStockPlantAbsolute
calcGrowingStockPlantationscalcGrowingStockPlantations
calcGTAPTotalTransportCostscalcGTAPTotalTransportCosts
calcHistBioplasticProdcalcHistBioplasticProd
historical emissions per sector or maccalcHistEmissions
calcIniFoodPricecalcIniFoodPrice
calcIntakecalcIntake
calcIntakeBodyweightcalcIntakeBodyweight
calcIOEdgeBuildingscalcIOEdgeBuildings
calcIPCCefNSoilcalcIPCCefNSoil
calcIPCCfracLeachcalcIPCCfracLeach
calcLandAreacalcLandArea
calcLandEmissionscalcLandEmissions
calcLanduseIntensitycalcLanduseIntensity
calcLivestockGriddedcalcLivestockGridded
Calculate Yields for LivestockcalcLivestockProductivity
calcMacBase calculate MacBasecalcMacBaseLandUse
Calculation of CH4 MAC curves of Energy Industry and LandusecalcMACCsCH4
Calculation of N2O MAC curves of Energy Industry and LandusecalcMACCsN2O
calcManureFuelShrcalcManureFuelShr
calcManureRecyclingCroplandPastcalcManureRecyclingCroplandPast
calcNitrogenBNFcalcNitrogenBNF
calcNitrogenBudgetCroplandcalcNitrogenBudgetCropland
calcNitrogenBudgetNonaglandcalcNitrogenBudgetNonagland
calcNitrogenBudgetOceancalcNitrogenBudgetOcean
calcNitrogenBudgetPasturecalcNitrogenBudgetPasture
calcNitrogenFixationPastcalcNitrogenFixationPast
calcNitrogenFixationRateNaturalcalcNitrogenFixationRateNatural
calcNitrogenWithdrawalByCropcalcNitrogenWithdrawalByCrop
calcNuePasturecalcNuePasture
calcNutrientBudgetSewagecalcNutrientBudgetSewage
calcPhysicalInactivitycalcPhysicalInactivity
calcPlantationCellularcalcPlantationCellular
calcPlantEstablishCalibcalcPlantEstablishCalib
calcPriceAgriculturecalcPriceAgriculture
Calculate historical distribution of livestock production across different systems based on output of MAgPIE_FEED modelcalcProdSysRatioPast
calcProductioncalcProduction
calcRegressionParameterscalcRegressionParameters
calcResBiomasscalcResBiomass
calcResDemandcalcResDemand
calcResFieldBalancePastcalcResFieldBalancePast
calcResFor2ndBioengerycalcResFor2ndBioengery
calcRockNWeatheringcalcRockNWeathering
calcSeedcalcSeed
calcSNUpEcalcSNUpE
calcSOCLossSharecalcSOCLossShare
calcSOMcalcSOM
calcSOMlossNcalcSOMlossN
calcStoragecalcStorage
calcTemperaturecalcTemperature
calcTimberDemandcalcTimberDemand
calcWBGEMcalcWBGEM
convertACCMIPconvertACCMIP
convertBodirsky2018convertBodirsky2018
convertCEDS2021convertCEDS2021
convertCEDS2024convertCEDS2024
Convert European Environment Agency (EEA) dataconvertEEA_EuropeanEnvironmentAgency
Convert EU Reference ScenarioconvertEU_ReferenceScenario
Read Eurostat historical emissions (env_air_gge)convertEurostat
convertExpertGuessSSPLivestockProductionconvertExpertGuessSSPLivestockProduction
Convert FeedModel dataconvertFeedModel
convertGTAPv8v9convertGTAPv8v9
convertHerridgeconvertHerridge
convertICP2017convertICP2017
Convert IEAconvertIEA
Convert IEA End Uses and Efficiency Indicators data to data on ISO country level.convertIEA_EEI
Convert IFAconvertIFA
Convert subtypes of the ImageMacc dataconvertImageMacc
Convert subtypes of the IPCC dataconvertIPCC
convertISIMIPconvertISIMIP
Convert JRC IDEES dataconvertJRC_IDEES
convertKoeppenconvertKoeppen
convertLassaletta2014convertLassaletta2014
convertLotzeCampenBiofuelconvertLotzeCampenBiofuel
convertLutz2014convertLutz2014
Convert MAgPIE dataconvertMAgPIE
convertNCDriscconvertNCDrisc
Convert subtypes of the PBL_MACC_2019 dataconvertPBL_MACC_2019
Convert subtypes of the PBL_MACC_2022 dataconvertPBL_MACC_2022
Convert subtypes of the PBL_MACC_SSP2_2022 dataconvertPBL_MACC_SSP2_2022
convertPRIMAPhistconvertPRIMAPhist
convertResFor2ndBEconvertResFor2ndBE
convertSoilGridsconvertSoilGrids
convertSSPResultsconvertSSPResults
convertVanDrecht2009convertVanDrecht2009
convertWHOconvertWHO
correctAndrijevic2019correctAndrijevic2019
correctEDGARfoodcorrectEDGARfood
correctFoodSystemsDashboardcorrectFoodSystemsDashboard
correctIPCCClimatecorrectIPCCClimate
correctKoeppencorrectKoeppen
correctSoilGridscorrectSoilGrids
correctTNC2019correctTNC2019
downloadAndrijevic2019downloadAndrijevic2019
downloadEDGARdownloadEDGAR6
downloadEDGARfooddownloadEDGARfood
Download Eurostat Livestock DatadownloadEurostatLivestock
Download GFEDdownloadGFED
downloadGGCMICropCalendardownloadGGCMICropCalendar
downloadIPCCClimatedownloadIPCCClimate
Download ISIMIP datadownloadISIMIP
downloadNitrogenBoundariesGriddeddownloadNitrogenBoundariesGridded
downloadSoilGridsdownloadSoilGrids
Download UN_PopDivdownloadUN_PopDiv
readACCMIPreadACCMIP
readAdjustGrassi2021readAdjustGrassi2021
readAndrijevic2019readAndrijevic2019
readBodirsky2018readBodirsky2018
readCarbonLTSreadCarbonLTS
readCEDS2021readCEDS2021
readCEDS2024readCEDS2024
Read EDGAR_LUreadEDGAR_LU
readEDGAR6readEDGAR6
readEDGARfoodreadEDGARfood
readEDGAR_GHGreadEDGARghg
Read European Environment Agency (EEA) datareadEEA_EuropeanEnvironmentAgency
Read EU Reference ScenarioreadEU_ReferenceScenario
Read Eurostat historical emissions (env_air_gge)readEurostat
Read EUROSTAT_livestockreadEurostatLivestock
readExpertGuessSSPLivestockProductionreadExpertGuessSSPLivestockProduction
Read in regression coefficients for feed efficiencyreadFeedEfficiencyReg
Read in data of FeedModelreadFeedModel
Read in regression coefficients for central feed sharesreadFeedShareReg
readFoodSystemsDashboardreadFoodSystemsDashboard
Read parameters of Froehle equationsreadFroehle
Read GFEDreadGFED
readGGCMICropCalendarreadGGCMICropCalendar
readGTAPv8v9readGTAPv8v9
readHerridgereadHerridge
readHHS_USDAreadHHS_USDA
Read allometric coeffizients for residue to harvest translationreadHI
readHoulton2018readHoulton2018
readICP2017readICP2017
Read IEAreadIEA
Read-in data from IEA End Uses and Efficiency Indicators DatabasereadIEA_EEI
Read IFAreadIFA
readIfBBreadIfBB
Read in ImageMacc Costcurves for different subtypesreadImageMacc
Read IMPACT3.2.2World_PricereadIMPACT3.2.2World_Price
Read in IPCC emissionsreadIPCC
readIPCCClimatereadIPCCClimate
readISIMIPreadISIMIP
Read JRC IDEESreadJRC_IDEES
readKoeppenreadKoeppen
readLassaletta2014readLassaletta2014
Read LotzeCampenBiofuelreadLotzeCampenBiofuel
readLutz2014readLutz2014
Read MAgPIE datareadMAgPIE
readNCDriscreadNCDrisc
readNitrogenBoundariesGriddedreadNitrogenBoundariesGridded
Read in PBL MAC curves from Harmsen_et_al_2019 for different subtypesreadPBL_MACC_2019
Read in PBL MAC curves from Harmsen_et_al_2022 for different subtypes and subsetsreadPBL_MACC_2022
Read in PBL MAC curves from Harmsen_et_al_2022 for different subtypes and subsets, using the baseline-dependent IMAGE SSP2 versionreadPBL_MACC_SSP2_2022
readPRIMAPhistreadPRIMAPhist
readResFor2ndBEreadResFor2ndBE
Read parameters of Schofield equationsreadSchofield
readSoilGridsreadSoilGrids
readSSPResultsreadSSPResults
readTNC2019readTNC2019
Read Transport CostsreadTransportCostsGTAP
readvanDrecht2009readVanDrecht2009
readWBGEMreadWBGEM
Read WHOreadWHO
Read Nitrogen Use Efficiency Paramerst from Zhang et al 2015readZhang2015
toolAWMSScenarioCreationtoolAWMSScenarioCreation
toolCalcIEAfromStructureMappingPEFEtoolCalcIEAfromStructureMappingPEFE
toolPregnanttoolPregnant
Split Biomass into modern and traditionaltoolSplitBiomass