View source: R/expenditureIndexFood.R
expenditureIndexFood | R Documentation |
calculates food expenditure index (baseyear = 100) corrected for ghg emission costs based on a MAgPIE gdx file
expenditureIndexFood(
gdx,
file = NULL,
level = "reg",
products = "kfo",
basketyear = "y2010",
baseyear = "y2010",
round = TRUE,
ghgtax = TRUE
)
gdx |
GDX file |
file |
File the output should be written to using write.magpie |
level |
Level of regional aggregation; "reg" (regional), "glo" (global), "regglo" (regional and global) or any other aggregation level defined in mapping |
products |
Selection of products (either by naming products, e.g. "tece", or naming a set, e.g."kcr") |
basketyear |
Year of reference food basket (should be in the past for comparison of different runs to have identical and comparable food basket) |
baseyear |
Baseyear of the price index |
round |
Rounded result (TRUE or FALSE) |
ghgtax |
Correction of food price expenditure for ghg emission costs (TRUE or FALSE) |
A MAgPIE object containing food price expenditure index
Felicitas Beier
## Not run:
x <- expenditureIndexFood(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.