View source: R/protectedArea.R
protectedArea | R Documentation |
reads protectedArea out of a MAgPIE gdx file
protectedArea(gdx, file = NULL, level = "cell", sum = FALSE, dir = ".")
gdx |
GDX file |
file |
a file name the output should be written to using write.magpie |
level |
Level of regional aggregation; "cell", "grid", "iso, "reg" (regional), "glo" (global), "regglo" (regional and global) or any secdforest aggregation level defined in superAggregate |
sum |
sum over land pools (default = FALSE) |
dir |
for gridded outputs: magpie output directory which contains a mapping file (rds) for disaggregation |
protected areas in primforest, secdforest and other land
protected area in Mha
Florian Humpenoeder, Patrick v. Jeetze
## Not run:
x <- protectedArea(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.