worldclim: WorldClim climate data

Description Usage Arguments Value See Also Examples

Description

Download WorldClim data

Usage

1
2
3
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

Value

SpatRaster

See Also

https://www.worldclim.org/

Examples

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

geodata documentation built on Sept. 29, 2021, 9:07 a.m.