View source: R/FoodExpenditure.R
FoodExpenditure | R Documentation |
Calculates the food expenditure in USD per year
FoodExpenditure(
gdx,
level = "reg",
after_shock = TRUE,
products = "kfo",
product_aggr = TRUE,
per_capita = TRUE
)
gdx |
GDX file |
level |
spatial aggregation. can be "iso","reg","regglo","glo" |
after_shock |
FALSE is using the exogenous real income and the prices before a shock, TRUE is using the endogeenous real income that takes into account food price change on real income, "after_price_before_demand" takes into account price changes on real income, but assumes no demand adjustment |
products |
selected products or sets of products |
product_aggr |
if true, aggregation over products |
per_capita |
per capita or total population |
magpie object with per capita consumption
Benjamin Leon Bodirsky
## Not run:
x <- FoodExpenditure(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.