Returns a list of meteorological stations with their coordinates from the Ogimet webpage. The returned list is valid only for a given day

stations_ogimet(
  country = "United Kingdom",
  date = Sys.Date(),
  add_map = FALSE,
  allow_failure = TRUE
)

Arguments

country

country name; Every word must be written with capital letters (e.g. "United Kingdom")

date

a day when measurements were done in all available locations

add_map

logical - whether to draw a map based on downloaded dataset (requires maps package)

allow_failure

logical - whether to proceed or stop on failure. By default set to TRUE (i.e. don't stop on error). For debugging purposes change to FALSE

Value

A data.frame with columns describing the synoptic stations in selected countries where each row represent a statation. If add_map = TRUE additional map of downloaded data is visualized.

Examples

# \donttest{
  stations_ogimet(country = "Australia", add_map = TRUE)
#> Problems with downloading data. Run function with argument allow_failure = FALSE to see more details
# }