get_envirem_elev: Download ENVIREM topographical data set(s)

Description Usage Arguments Examples

View source: R/get_climate_data.R

Description

This function requests raster layers from the envirem dataset (Bemmels, et al. 2017, Ecography) downloads the zip archive, reads files into R and disposes of the originals because you should save the layers in an R ready raster object using raster::writeRaster().

Usage

1
get_envirem_elev(period = "cur", res = 2.5)

Arguments

period

A string for time period to get. Either 'cur', 'midholo', or 'lgm'.

res

Spatial Resolution in arcminutes. eg, 2.5

Examples

1
2
3
4
5
## Not run: 
#get 2.5 arcmin grid. 
envir <- get_envirem_elev(period='cur'); 

## End(Not run)

rsh249/vegdistmod documentation built on May 28, 2019, 3:31 a.m.