Learn R Programming

climate (version 1.0.1)

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)

Arguments

country

country name; for more than two words they need to be seperated with a plus character (e.g. "United+Kingdom")

date

a day when measurements were done in all available locations

add_map

logical - whether to draw a map with downloaded metadata (requires maps/mapdata packages)

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 added.

Examples

Run this code
# NOT RUN {
  stations_ogimet(country = "Australia", add_map = TRUE)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab