Downloading daily hydrological data from the danepubliczne.imgw.pl collection

hydro_imgw_daily(
  year,
  coords = FALSE,
  station = NULL,
  col_names = "short",
  allow_failure = TRUE,
  ...
)

Arguments

year

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

coords

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

station

name or ID of hydrological station(s). 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

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 historical hydrological data for the daily time interval

Examples

# \donttest{
  daily = hydro_imgw_daily(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/file15e8dfb4a70
#> /tmp/RtmpWCv8r5/file15e824c6f5d4
#> /tmp/RtmpWCv8r5/file15e829d46324
#> /tmp/RtmpWCv8r5/file15e85143a84a
#> /tmp/RtmpWCv8r5/file15e8648c122d
#> /tmp/RtmpWCv8r5/file15e859fa74e1
#> /tmp/RtmpWCv8r5/file15e81f18183c
#> /tmp/RtmpWCv8r5/file15e85841a256
#> /tmp/RtmpWCv8r5/file15e8250b09cb
#> /tmp/RtmpWCv8r5/file15e85616e058
#> /tmp/RtmpWCv8r5/file15e85f514e56
#> /tmp/RtmpWCv8r5/file15e850b8c457
#> /tmp/RtmpWCv8r5/file15e816d25190
#> /tmp/RtmpWCv8r5/file15e840a6b4b4
#> /tmp/RtmpWCv8r5/file15e81a37e050
#> /tmp/RtmpWCv8r5/file15e8754d75a7
# }