getWorldClim: getWorldClim

View source: R/getWorldClim.R

getWorldClimR Documentation

getWorldClim

Description

Downloads bioclimatic data from WorldClim

Usage

getWorldClim(res, country = NULL, path)

Arguments

res

numeric, resolution of the data. Possible values are 10, 5, 2.5, or 0.5 arc minutes. If res = 0.5, country must be specified.

country

character, country name. Sets the tile containing the central coordinates of the defined country. If NULL, gets variable for whole world. Default is NULL.

path

character, the path to the folder where the variables shall be saved.

Value

This function downloads all 19 climatic variables and saves them in the folder defined in "path".

Examples

world_clim <- getWorldClim(res = 0.5,country = "Czech Republic",
path = getwd())

EduardoArle/nicheRealisation documentation built on Jan. 12, 2023, 1:50 a.m.