FoodExpenditureShare: FoodExpenditureShare

View source: R/FoodExpenditureShare.R

FoodExpenditureShareR Documentation

FoodExpenditureShare

Description

Calculates the livestock share from the food demand model

Usage

FoodExpenditureShare(
  gdx,
  level = "reg",
  after_shock = TRUE,
  products = "kfo",
  product_aggr = T
)

Arguments

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

products

selected products or sets of products

product_aggr

if true, aggregation over products

Value

magpie object with per capita consumption

Author(s)

Benjamin Leon Bodirsky

Examples


  ## Not run: 
    x <- FoodExpenditureShare(gdx)
  
## End(Not run)


pik-piam/magpie4 documentation built on May 7, 2024, 11:13 p.m.