Seed: Seed

View source: R/Seed.R

SeedR Documentation

Seed

Description

Calculates MAgPIE demand for Seed out of a gdx file

Usage

Seed(gdx, level = "reg", attributes = "dm", dir = ".", spamfiledirectory = "")

Arguments

gdx

GDX file

level

Level of regional aggregation ("reg", "glo", "regglo")

attributes

dry matter: Mt ("dm"), gross energy: PJ ("ge"), reactive nitrogen: Mt ("nr"), phosphor: Mt ("p"), potash: Mt ("k"), wet matter: Mt ("wm"). Can also be a vector.

dir

for gridded outputs: magpie output directory which contains a mapping file (rds) for disaggregation

spamfiledirectory

deprecated. please use dir instead

Details

Demand definitions are equivalent to FAO CBS categories

Value

demand as MAgPIE object (Unit depends on attributes)

Author(s)

Benjamin Leon Bodirsky

Examples


  ## Not run: 
    x <- demand(level="regglo", products="kcr")
  
## End(Not run)


pik-piam/magpie4 documentation built on Sept. 14, 2024, 10:08 p.m.