download_worldclim2: Download climate layers from WorldClim 2.0

View source: R/download_worldclim2.R

download_worldclim2R Documentation

Download climate layers from WorldClim 2.0

Description

Download climate layers from WorldClim 2.0 (current climate only).

Usage

download_worldclim2(outfile, variable, resolution)

Arguments

outfile

Character. Target file for downloaded .zip archive.

variable

Character. Can be one of "bio" (19 standard bioclim variables), "tmin", "tmax", "tavg", "srad", "wind" or "vapr".

resolution

Character. Can be one of "10m", "5m", "2.5m", or "30s".

Value

A zipfile is downloaded and NULL is returned invisibly.

See Also

extract_worldclim2()

Examples

## Not run: 
download_worldclim2('bioclim_10m', 'bio', '10m')

## End(Not run)

jscamac/edmaps documentation built on June 11, 2022, 1:26 a.m.