| worldclim | R Documentation | 
Download climate data from WorldClim version 2.1. See Details for variables and units.
worldclim_global(var, res, path, version="2.1", ...)
worldclim_country(country, var, path, version="2.1", ...)
worldclim_tile(var, lon, lat, path, version="2.1", ...)
var | 
 character. Valid variables names are "tmin", "tmax", "tavg", "prec", "wind", "vapr", and "bio"  | 
res | 
 numeric. Valid resolutions are 10, 5, 2.5, and 0.5 (minutes of a degree)  | 
path | 
 character. Path for storing the downloaded data. See   | 
country | 
 character. Country name or code  | 
lon | 
 numeric. Longitude  | 
lat | 
 numeric. Latitude  | 
version | 
 character or numeric. WorldClim version number. Only "2.1" supported at the moment  | 
... | 
 additional arguments passed to   | 
These are the WorldClim monthly average climate data.
| Variable | Description | Unit | |
tmin  | minimum temperature | °C | |
tmax  | maximum temperature | °C | |
tavg  | average temperature | °C | |
prec  | total precipitation | mm | |
srad  | incident solar radiation | kJ m-2 day-1 | |
wind  | wind speed (2 m above the ground) | m s-1 | |
vapr  | vapor pressure | kPa | |
SpatRaster
lux <- worldclim_country("Luxembourg", var="tmin", path=tempdir())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.