stations_ogimet: Scrapping a list of meteorological (Synop) stations for a defined country from the Ogimet webpage
Description
Returns a list of meteorological stations with their coordinates from the Ogimet webpage. The returned list is valid only for a given day
Usage
stations_ogimet(
country = "United Kingdom",
date = Sys.Date(),
add_map = FALSE,
allow_failure = TRUE
)
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.
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