recursive.getData: Get geographic data recursively

View source: R/recursive.getData.R

recursive.getDataR Documentation

Get geographic data recursively

Description

Call getData function to download recursively all worlclim.org layers.

Usage

recursive.getData(times="all", path='~/', ...)
recursive.getData(times=c("lgm","mid"),var="tmin" )
recursive.getData(times=c("pres","CC8570"),var="bio",res="2.5" )

Arguments

name

Vector of time layer(s) desired to be downloaded. Currently "lgm", "mid", "pres", "CC2650", "CC2670", "CC4550", "CC4570", "CC6050", "CC6070", "CC8550", "CC8570". Alternatively specify "all" to download all of them. See Details for more info

download

Logical. If TRUE data will be downloaded if not locally available

path

Character. Path name indicating where to store the data. Default is the current working directory

var

Variables to download. Default "bio", but also available "tmin", "tmax", and "prec"

res

Resolution of the raster. Default "2.5", also available "5" and "10"

Value

A spatial object Raster stack or Raster brick

References

https://github.com/MoisesExpositoAlonso/rbioclim


MoisesExpositoAlonso/rbioclim documentation built on April 5, 2022, 11:05 p.m.