View source: R/calcFoodSupplyPast.R
calcFoodSupplyPast | R Documentation |
Calculates the food supply (as defined by FAO, including intake and household waste) for the past.
calcFoodSupplyPast(
per_capita = TRUE,
products = NULL,
product_aggr = FALSE,
populationweight = "PopulationPast",
attributes = c("kcal", "protein", "wm")
)
per_capita |
if true, calculates per capita demand per day, otherwhise total demand per year |
products |
a set with the products that shall be provided, e.g. kall. If NULL, the products are provided that are in the primary data |
product_aggr |
if TRUE, all products are summed up, if "maingroups" products are summed over livestock products, staples and vegfruits. |
populationweight |
datasource of populationweight: FAO can be selected in order to better meet exact values. Normal datasource is PopulationPast |
attributes |
attributes of different products,i.e., kcal,protein,wm |
List of magpie objects with results on country level, weight on country level, unit and description.
Benjamin Leon Bodirsky, Xiaoxi Wang
calcFAOharmonized()
## Not run:
calcOutput("FoodSupplyPast")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.