Title: | MadRat feed data package |
---|---|
Description: | Provides feed related data. |
Authors: | Isabelle Weindl [aut, cre], Lavinia Baumstark [aut], Benjamin Leon Bodirsky [aut], Nele Steinmetz [aut], Ulrich Kreidenweis [aut], Jan Philipp Dietrich [aut] |
Maintainer: | Isabelle Weindl <[email protected]> |
License: | LGPL-3 | file LICENSE |
Version: | 0.0.11 |
Built: | 2024-10-12 04:42:08 UTC |
Source: | https://github.com/pik-piam/mrfeed |
Provides feed related data.
Maintainer: Isabelle Weindl [email protected]
Authors:
Lavinia Baumstark [email protected]
Benjamin Leon Bodirsky [email protected]
Nele Steinmetz
Ulrich Kreidenweis
Jan Philipp Dietrich [email protected]
Useful links:
Report bugs at https://github.com/pik-piam/mrfeed/issues
Provides primary and secondary agricultural products as well as conversion byproducts used as feed. This is based on feed use values from the Food Balance Sheets (FBS) and Commodity Balance Sheets from FAOSTAT. Function is based on average values of the specified years.
calcFAOFeed()
calcFAOFeed()
FAO feed use and corresponding weights as a list of two MAgPIE objects
Isabelle Weindl
## Not run: a <- calcFAOFeed() ## End(Not run)
## Not run: a <- calcFAOFeed() ## End(Not run)
Provides the FAOSTAT Fodder data aggregated to three MAgPIE_FEED fodder categories.
calcFAOFodder_aggrFEED()
calcFAOFodder_aggrFEED()
FAO fodder data and corresponding weights as a list of two MAgPIE objects
Isabelle Weindl
## Not run: a <- calcOutput("FAOFodder_aggrFEED") ## End(Not run)
## Not run: a <- calcOutput("FAOFodder_aggrFEED") ## End(Not run)
Provides the FAO Livestock Primary data. No changes to the content have been done, besides changes to the countries list. Yield information has been removed.
calcFAOLivePrim()
calcFAOLivePrim()
FAO Livestock Primary data and corresonding weights as a list of two MAgPIE objects
Ulrich Kreidenweis
## Not run: calcOutput("LivePrim") ## End(Not run)
## Not run: calcOutput("LivePrim") ## End(Not run)
Provides MAgPIE-FEED data for Feed Requirement calculated in the regression for feed (calcRegressionFEED). No changes to the content have been done. Usually no weight needed as the data will be used in MAgPIE-FEED model which is country based.
calcFeedRequirement()
calcFeedRequirement()
MAgPIE-FEED data for Feed Requirement and corresonding weights as a list of two MAgPIE objects
Lavinia Baumstark, Isabelle Weindl
calcOutput
, calcRegressionFEED
,
readSource
## Not run: calcOutput("FeedRequirement") ## End(Not run)
## Not run: calcOutput("FeedRequirement") ## End(Not run)
Provides the FAOSTAT Fodder feed use data (in mio ton) aggregated to three MAgPIE_FEED fodder categories.
calcFeeduseFoddr()
calcFeeduseFoddr()
FAO fodder feed use data and corresponding weights as a list of two MAgPIE objects
Isabelle Weindl
calcProdFoddr
, calcOutput
,
calcFAOFodder_aggrFEED
, readSource
## Not run: calcOutput("FeeduseFoddr") ## End(Not run)
## Not run: calcOutput("FeeduseFoddr") ## End(Not run)
Reads in information on the share of food waste recycled for feed use of the source WirseniusPHD. Implementation of a weight calculated by calcDemandAgriculture (y2000, food.ssp2).
calcFoodWasteRecycle()
calcFoodWasteRecycle()
MAgPIE object
Nele Steinmetz, Isabelle Weindl, Benjamin Leon Bodirsky
calcOutput
, readWirseniusPHD
,
convertWirseniusPHD
## Not run: calcOutput("FoodWasteRecycle") ## End(Not run)
## Not run: calcOutput("FoodWasteRecycle") ## End(Not run)
Provides aggregated household food waste in the units Mt DM, GE, K, NR, P and WM.
calcHHFoodWaste()
calcHHFoodWaste()
food waste and corresponding weights as a list of two MAgPIE objects
Isabelle Weindl, Benjamin Leon Bodirsky
calcOutput
, calcFoodWasteRecycle
## Not run: a <- calcOutput("HHFoodWaste") ## End(Not run)
## Not run: a <- calcOutput("HHFoodWaste") ## End(Not run)
Provides the FAO Livestock Production data aggregated to MAgPIE categories in million ton wet matter.
calcLivstProduction()
calcLivstProduction()
FAO Livestock Production (WM) and corresonding weights as a list of two MAgPIE objects
Isabelle Weindl
## Not run: calcOutput("LivstProduction") ## End(Not run)
## Not run: calcOutput("LivstProduction") ## End(Not run)
Provides the FAO Livestock Production data differentiated into livestock subsystems in million ton wet matter (based on subsystem allocation from Stefan Wirsenius).
calcLivstSubProduction()
calcLivstSubProduction()
Livestock Production (WM) and corresonding weights as a list of two MAgPIE objects
Isabelle Weindl
calcOutput
, readWirseniusSubsystems
,
readSource
## Not run: calcOutput("LivstSubProduction") ## End(Not run)
## Not run: calcOutput("LivstSubProduction") ## End(Not run)
Provides MAgPIE-FEED data for Nutrient Density calculated in the regression for feed (calcRegressionFEED). No changes to the content have been done. Usually no weight needed as the data will be used in MAgPIE-FEED model which is country based.
calcNutrientDensity()
calcNutrientDensity()
MAgPIE-FEED data for NutrientDensity and corresonding weights as a list of two MAgPIE objects
Lavinia Baumstark, Isabelle Weindl
calcOutput
, calcRegressionFEED
,
readSource
## Not run: calcOutput("NutrientDensity") ## End(Not run)
## Not run: calcOutput("NutrientDensity") ## End(Not run)
Provides the FAOSTAT Fodder production data (in mio ton) aggregated to three MAgPIE_FEED fodder categories.
calcProdFoddr()
calcProdFoddr()
FAO fodder production data and corresponding weights as a list of two MAgPIE objects
Isabelle Weindl
calcOutput
, calcFAOFodder_aggrFEED
,
readSource
## Not run: calcOutput("ProdFoddr") ## End(Not run)
## Not run: calcOutput("ProdFoddr") ## End(Not run)
Provides MAgPIE-FEED data for ProdSystRatio.Usually no weight needed as the data will be used in MAgPIE-FEED model country based. Data aslo used as input for MAgPIE, then an aggregation to regions is needed
calcProdSystRatio_2000()
calcProdSystRatio_2000()
MAgPIE[-FEED] data for ProdSystRatio and corresonding weights as a list of two MAgPIE objects
Lavinia Baumstark
## Not run: calcOutput("ProdSystRatio_2000") ## End(Not run)
## Not run: calcOutput("ProdSystRatio_2000") ## End(Not run)
This intermediate-function prepares FEEDRequirement, NutrientDensity and YieldsLive for calc*-functions. As the source data already provides all required information this function purely selects the needed data.
calcRegressionFEED()
calcRegressionFEED()
Productivity, feed requirements and nutrient requirements as well as corresonding weights as a list of two MAgPIE objects
Lavinia Baumstark, Isabelle Weindl
calcOutput
, readWirsenius_FEED
## Not run: calcOutput("RegressionFEED") ## End(Not run)
## Not run: calcOutput("RegressionFEED") ## End(Not run)
Convert Wirsenius data on ISO country level.
convertWirsenius(x)
convertWirsenius(x)
x |
MAgPIE object containing Wirsenius data country-region resolution |
Wirsenius data as MAgPIE object aggregated to country level
Lavinia Baumstark
## Not run: a <- convertWirsenius(x)
## Not run: a <- convertWirsenius(x)
Convert Wirsenius PHD data on ISO country level.
convertWirseniusPHD(x)
convertWirseniusPHD(x)
x |
MAgPIE object containing Wirsenius PHD data country-region resolution |
WirseniusPHD data as MAgPIE object aggregated to country level
Lavinia Baumstark
## Not run: a <- convertWirseniusPHD(x)
## Not run: a <- convertWirseniusPHD(x)
Convert data on livestock subsystems structure. Source: Wirsenius.
convertWirseniusSubsystems(x, subtype)
convertWirseniusSubsystems(x, subtype)
x |
the data to be converted? |
subtype |
Type of subsystem information that should be read in. Available types are: "cattlemeat2milk", "meat2egg" and "feed_beefsys_ratio" |
magpie object of selected livestock subsystem data on country level
Isabelle Weindl
## Not run: a <- readSource("WirseniusSubsystems","cattlemeat2milk") a <- readSource("WirseniusSubsystems","meat2egg") a <- readSource("WirseniusSubsystems","feed_beefsys") ## End(Not run)
## Not run: a <- readSource("WirseniusSubsystems","cattlemeat2milk") a <- readSource("WirseniusSubsystems","meat2egg") a <- readSource("WirseniusSubsystems","feed_beefsys") ## End(Not run)
Function that produces the complete country data set required for the MAgPIE-FEED model (preprocessing).
fullMAGPIE_FEED(rev = 0)
fullMAGPIE_FEED(rev = 0)
rev |
data revision which should be used as input (positive numeric). |
Isabelle Weindl, Lavinia Baumstark
readSource
, getCalculations
, calcOutput
## Not run: fullMAGPIE_FEED() ## End(Not run)
## Not run: fullMAGPIE_FEED() ## End(Not run)
Read-in an Wirsenius data .csv file as magclass object
readWirsenius()
readWirsenius()
magpie object of the Wirsenius data
Lavinia Baumstark
## Not run: a <- readSource(type="Wirsenius")
## Not run: a <- readSource(type="Wirsenius")
Read-in an Wirsenius_FEED data .csv files as one magclass object
readWirsenius_FEED()
readWirsenius_FEED()
magpie object of the Wirsenius_FEED data
Lavinia Baumstark
## Not run: a <- readSource("Wirsenius_FEED")
## Not run: a <- readSource("Wirsenius_FEED")
Read-in Wirsenius PHD data .csv file as magclass object
readWirseniusPHD()
readWirseniusPHD()
magpie object of the WirseniusPHD data
Lavinia Baumstark
## Not run: a <- readSource(type="WirseniusPHD")
## Not run: a <- readSource(type="WirseniusPHD")
Read in data on livestock subsystems structure. Source: Wirsenius.
readWirseniusSubsystems(subtype)
readWirseniusSubsystems(subtype)
subtype |
Type of subsystem information that should be read in. Available types are: "cattlemeat2milk", "meat2egg" and "feed_beefsys_ratio" |
magpie object of selected livestock subsystem data
Isabelle Weindl
## Not run: a <- readSource("WirseniusSubsystems","cattlemeat2milk") a <- readSource("WirseniusSubsystems","meat2egg") a <- readSource("WirseniusSubsystems","feed_beefsys") ## End(Not run)
## Not run: a <- readSource("WirseniusSubsystems","cattlemeat2milk") a <- readSource("WirseniusSubsystems","meat2egg") a <- readSource("WirseniusSubsystems","feed_beefsys") ## End(Not run)