Learn R Programming

climate (version 1.0.1)

ogimet_daily: Scrapping daily meteorological (Synop) data from the Ogimet webpage

Description

Downloading daily (meteorological) data from the Synop stations available in the https://www.ogimet.com/ repository

Usage

ogimet_daily(
  date = c(Sys.Date() - 30, Sys.Date()),
  coords = FALSE,
  station = c(12326, 12330),
  hour = 6,
  fill_empty = TRUE
)

Arguments

date

start and finish of date (e.g., date = c("2018-05-01","2018-07-01") )

coords

add geographical coordinates of the station (logical value TRUE or FALSE)

station

WMO ID of meteorological station(s). Character or numeric vector

hour

time for which the daily raport is generated. Set default as hour = 6

Examples

Run this code
# NOT RUN {
  # downloading data for Poznan-Lawica
  poznan = ogimet_daily(station = 12330,
      date = c("2019-01-01", "2019-03-31"),
      coords = TRUE)
  head(poznan)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab