| worldclim2 | R Documentation | 
Parse historic worldclim version 2.1 variables with a setting of boundary and a few other options.
worldclim2(
  var = "tmin",
  res = 10,
  bry = NULL,
  path = NULL,
  nm_mark = "clip",
  return_stack = TRUE
)
| var | ( | 
| res | ( | 
| bry | ( | 
| path | ( | 
| nm_mark | ( | 
| return_stack | ( | 
Web page page for this dataset
if return_stack is TRUE, the images would be
returned as a stars. Otherwise, nothing to return, but the user
would receive a message of where the images are.
If it fails due to slow internet, try to set a larger timeout option,
e.g., using options(timeout = 1e3).
Fick, Stephen E., and Robert J. Hijmans. "WorldClim 2: new 1-km spatial resolution climate surfaces for global land areas." International journal of climatology 37.12 (2017): 4302-4315.\Sexpr[results=rd]{tools:::Rd_expr_doi("10.1002/joc.5086")}
## Not run: 
library(sf)
library(itsdm)
bry <- sf::st_polygon(
  list(rbind(c(29.34, -11.72), c(29.34, -0.95),
             c(40.31, -0.95), c(40.31, -11.72),
             c(29.34, -11.72)))) %>%
  st_sfc(crs = 4326)
bios <- worldclim2(var = "tmin", res = 10,
  bry = bry, nm_mark = 'exp', path = tempdir())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.