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

hydro_daily(year, coords = FALSE, station = NULL,
  col_names = "short", ...)

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

...

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

Examples

daily <- hydro_daily(year = 2000)
#> Warning: downloaded length 146666 != reported length 151439
#> Warning: URL 'https://dane.imgw.pl/data/dane_pomiarowo_obserwacyjne/dane_hydrologiczne/dobowe/2000/codz_2000_01.zip': status was 'Failure when receiving data from the peer'
#> Error in download.file(address, temp): download from 'https://dane.imgw.pl/data/dane_pomiarowo_obserwacyjne/dane_hydrologiczne/dobowe/2000/codz_2000_01.zip' failed
head(daily)
#> Error in head(daily): object 'daily' not found