Downloading daily (meteorological) data from the SYNOP / CLIMATE / PRECIP stations available in the danepubliczne.imgw.pl collection

meteo_imgw_daily(
  rank = "synop",
  year,
  status = FALSE,
  coords = FALSE,
  station = NULL,
  col_names = "short",
  allow_failure = TRUE,
  ...
)

Arguments

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

name of meteorological station(s). It accepts names (characters in CAPITAL LETTERS); Stations' IDs (numeric) are no longer valid

col_names

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

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

...

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

Value

data.frame with a daily meteorological measurements

Examples

# \donttest{
  daily = meteo_imgw_daily(rank = "climate", year = 2000)
#>     Your system locale is: C.UTF-8 which may cause trouble.
#>     Please consider changing it manually while working with climate, e.g.:
#>     Sys.setlocale(category = 'LC_ALL', locale = 'en_US.UTF-8') 
#> /tmp/RtmpWCv8r5/file15e84723e2be
#> /tmp/RtmpWCv8r5/file15e860575751
#> /tmp/RtmpWCv8r5/file15e818f0a4e9
#> /tmp/RtmpWCv8r5/file15e818f0a4e9
#> /tmp/RtmpWCv8r5/file15e8384abc0b
#> /tmp/RtmpWCv8r5/file15e8678e116d
#> /tmp/RtmpWCv8r5/file15e8227a25c5
#> /tmp/RtmpWCv8r5/file15e847ac4c76
#> /tmp/RtmpWCv8r5/file15e8434b3871
# }