worldclim: WorldClim climate data

worldclimR Documentation

WorldClim climate data

Description

Download WorldClim data

Usage

worldclim_global(var, res, path, ...)
worldclim_country(country, var, path, ...)
worldclim_tile(var, lon, lat, path, ...)

Arguments

var

character. Valid variables names are "tmin", "tmax", "tavg", "prec" and "bio"

res

numeric. Valid resolutions are 10, 5, 2.5, and 0.5 (minutes of a degree)

path

character. Path where to download the data to

country

character. Country name or code

lon

numeric. Longitude

lat

numeric. Latitude

...

additional arguments passed to download.file

Value

SpatRaster

See Also

https://www.worldclim.org/

Examples


lux <- worldclim_country("Luxembourg", var="tmin", path=tempdir())


geodata documentation built on Aug. 7, 2022, 9:05 a.m.