Description Usage Arguments Value Examples
Download data from CHELSA climatologies. This function retrieves files from the server via dowload request.
1 2 | get_chelsa(type = "bioclim", layer = 1:19, period, model_string,
scenario_string, future_years, output_dir)
|
type |
Character. Currently only "bioclim". |
layer |
Numeric. Select which bioclim layer(s) is/are downloaded.
You can choose to download any of 19 bioclimatic layers. Default is all layers (1:19).
To download bioclim layer 1, use |
period |
Character. Which time period to download for climate layers. One in c("past", "current", "future"). |
model_string |
Character. Which climatic model to download for past or future period. Only available if |
scenario_string |
Character. Which climate scenario to download. Available options are c("rcp26", "rcp45", "rcp60", "rcp85", "pmip3"). RCP scenarios are only available if |
future_years |
Character. Which time period to download for future scenario. Available options are c("2041-2060", "2061-2080") for years 2050 and 2070. |
output_dir |
Character. Path indicating the directory in which the downloaded files will be stored. Default is the current working directory. |
Raster* object or NULL. See return_raster
argument.
1 2 | output_dir <- milkunize("Projects/Crete/data-raw/Chelsa")
chelsa_bioclim <- get_chelsa(layer = 1:19, output_dir = output_dir)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.