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/Rtmp95w7yv/file17d037f1835c
#> /tmp/Rtmp95w7yv/file17d047e5d66b
#> /tmp/Rtmp95w7yv/file17d05c1bc4f2
#> /tmp/Rtmp95w7yv/file17d070affcb9
#> /tmp/Rtmp95w7yv/file17d029a7196b
#> /tmp/Rtmp95w7yv/file17d0116659ad
#> /tmp/Rtmp95w7yv/file17d0aa862d2
#> /tmp/Rtmp95w7yv/file17d02f7879f5
#> /tmp/Rtmp95w7yv/file17d01f539087
#> /tmp/Rtmp95w7yv/file17d07bd7cb23
#> /tmp/Rtmp95w7yv/file17d0321f7f1a
#> /tmp/Rtmp95w7yv/file17d07e33dcac
#> /tmp/Rtmp95w7yv/file17d02fcd926a
#> /tmp/Rtmp95w7yv/file17d067bf15c6
#> /tmp/Rtmp95w7yv/file17d0586f127f
#> /tmp/Rtmp95w7yv/file17d04a51a450
#> /tmp/Rtmp95w7yv/file17d04bd3a37b
# }