Downloading hourly, daily, and monthly hydrological data from the measurement stations available in the danepubliczne.imgw.pl collection
hydro_imgw(
interval,
year,
coords = FALSE,
value = "H",
station = NULL,
col_names = "short",
...
)
temporal resolution of the data ("daily" , "monthly", or "semiannual_and_annual")
vector of years (e.g., 1966:2000)
add coordinates of the stations (logical value TRUE or FALSE)
type of data (can be: state - "H" (default), flow - "Q", or temperature - "T")
vector of hydrological stations danepubliczne.imgw.pl; can be given as station name with CAPITAL LETTERS (character) It accepts either names (characters in CAPITAL LETTERS) or stations' IDs (numeric)
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
A data.frame with columns describing the hydrological parameters (e.g. flow, water level) 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.
# NOT RUN {
x <- hydro_imgw("monthly", year = 1999)
head(x)
# }
Run the code above in your browser using DataLab