Learn R Programming

easyclimate (version 0.2.2)

check_server: Check climate data server

Description

Check that the online climate data server is available and working correctly.

Usage

check_server(climatic_var = NULL, year = NULL, verbose = TRUE)

Value

TRUE if the server seems available, FALSE otherwise.

Arguments

climatic_var

Optional. One of "Prcp", "Tmin", or "Tmax".

year

Optional. Year between 1950 and 2022.

verbose

Logical. Print diagnostic messages, or just return TRUE/FALSE?

Details

This function checks access to the latest version of the climatic dataset (version 4).

Examples

Run this code
if (FALSE) { # interactive()
check_server()
}

Run the code above in your browser using DataLab