Learn R Programming

climate (version 1.0.1)

ogimet_hourly: Scrapping hourly meteorological (Synop) data from the Ogimet webpage

Description

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

Usage

ogimet_hourly(
  date = c("2019-06-01", "2019-07-31"),
  coords = FALSE,
  station = c(12326, 12330),
  precip_split = 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

precip_split

whether to split precipitation fields into 6/12/24h numeric fields (logical value TRUE (default) or FALSE)

Examples

Run this code
# NOT RUN {
  # downloading data for Poznan-Lawica
  poznan = ogimet_hourly(station = 12330, coords = TRUE, precip_split = TRUE)
  head(poznan)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab