R/stations_ogimet.R
stations_ogimet.RdReturns 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
)country name; Every word must be written with capital letters (e.g. "United Kingdom")
a day when measurements were done in all available locations
logical - whether to draw a map based on downloaded dataset (requires maps package)
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
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.
# \donttest{
stations_ogimet(country = "Australia", add_map = TRUE)
#> Problems with downloading data. Run function with argument allow_failure = FALSE to see more details
# }