Skip to contents

worldclim_random() returns a random selection of parameters for downloading WorldClim data.

Usage

worldclim_random(series = "hcd")

Arguments

series

A string indicating the WorldClim data series to use. The following options are available:

  • 'hcd' (Historical Climate Data).

  • 'hmwd' (Historical Monthly Weather Data).

  • 'fcd' (Future Climate Data).

Value

A list with a random selection of parameters for downloading WorldClim data. The list contains the following elements:

  • series: The selected data series.

  • resolution: The selected spatial resolution.

  • variable: The selected climate variable.

  • bioclimatic_variable: The selected bioclimatic variable (only for Historical Climate Data and Future Climate Data when variable is set to "bioc").

  • model: The selected climate model (only for Future Climate Data).

  • ssp: The selected Shared Socioeconomic Pathway (only for Future Climate Data).

  • month: The selected month.

  • year: The selected year or year range.

See also

Examples

worldclim_random("hcd")
#> $series
#>   Historical Climate Data 
#> "historical-climate-data" 
#> 
#> $resolution
#> 10 Minutes (~340 km2 at the Equator) 
#>                                "10m" 
#> 
#> $variable
#> Average Minimum Temperature (°C) 
#>                           "tmin" 
#> 
#> $month
#> July 
#>    7 
#> 
#> $year
#> 1970-2000 
#>      1973 
#> 

worldclim_random("hmwd")
#> $series
#>   Historical Monthly Weather Data 
#> "historical-monthly-weather-data" 
#> 
#> $resolution
#> 10 Minutes (~340 km2 at the Equator) 
#>                                "10m" 
#> 
#> $variable
#> Total Precipitation (mm) 
#>                   "prec" 
#> 
#> $month
#> June 
#>    6 
#> 
#> $year
#> [1] 1981
#> 

worldclim_random("fcd")
#> $series
#>   Future Climate Data 
#> "future-climate-data" 
#> 
#> $resolution
#> 2.5 Minutes (~21 km2 at the Equator) 
#>                               "2.5m" 
#> 
#> $variable
#> Bioclimatic Variables 
#>                "bioc" 
#> 
#> $bioclimatic_variable
#> BIO14 - Precipitation of Driest Month 
#>                                    14 
#> 
#> $model
#> [1] "INM-CM5-0"
#> 
#> $ssp
#>  SSP-370 
#> "ssp370" 
#> 
#> $month
#> August 
#>      8 
#> 
#> $year
#> 2021-2040 
#>      2031 
#>