waterStressedPopulation: waterStressedPopulation

View source: R/waterStressedPopulation.R

waterStressedPopulationR Documentation

waterStressedPopulation

Description

People living in water stressed region

Usage

waterStressedPopulation(
  gdx,
  file = NULL,
  level = "cell",
  dir = ".",
  absolute = TRUE
)

Arguments

gdx

GDX file

file

a file name the output should be written to using write.magpie

level

spatial level of aggregation: "cell" (cellular), "reg" (regional), "glo" (global), "regglo" (regional and global) or "grid" (grid cell)

dir

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

absolute

TRUE: reports people living in water stressed region in million, FALSE: returns share of population

Value

MAgPIE object

Author(s)

Felicitas Beier

Examples


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


pik-piam/magpie4 documentation built on April 27, 2024, 2:12 p.m.