meteo_imgw: Meteorological data from IMGW

Description Usage Arguments Value Examples

View source: R/meteo_imgw.R

Description

Downloading hourly, daily, and monthly meteorological data from the SYNOP / CLIMATE / PRECIP stations available in the danepubliczne.imgw.pl collection

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
meteo_imgw(
  interval,
  rank = "synop",
  year,
  status = FALSE,
  coords = FALSE,
  station = NULL,
  col_names = "short",
  ...
)

Arguments

interval

temporal resolution of the data ("hourly", "daily", "monthly")

rank

rank of the stations: "synop" (default), "climate" or "precip"

year

vector of years (e.g., 1966:2000)

status

leave the columns with measurement and observation statuses (default status = FALSE - i.e. the status columns are deleted)

coords

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

station

vector of hydrological stations danepubliczne.imgw.pl can be name of station CAPITAL LETTERS(character) It accepts names (characters in CAPITAL LETTERS) or stations' IDs (numeric)

col_names

three types of column names possible: "short" - default, values with shorten names, "full" - full English description, "polish" - original names in the dataset

...

other parameters that may be passed to the 'shortening' function that shortens column names

Value

A data.frame with columns describing the meteorological parameters (e.g. temperature, wind speed, precipitation) where each row represent a measurement, depending on the interval, at a given hour, month or year. If coords = TRUE additional two columns with geografic coordinates are added.

Examples

1
2
  x = meteo_imgw("monthly", year = 2018, coords = TRUE)
  head(x)

climate documentation built on May 3, 2021, 1:07 a.m.