hydro_imgw_annual: Semi-annual and annual hydrological data

View source: R/hydro_imgw_annual.R

hydro_imgw_annualR Documentation

Semi-annual and annual hydrological data

Description

Downloading hydrological data for the semi-annual and annual period available in the danepubliczne.imgw.pl collection

Usage

hydro_imgw_annual(
  year,
  coords = FALSE,
  value = "H",
  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)

value

type of data (can be: state - "H" (default), flow - "Q", or temperature - "T")

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 semi-annual and annual period

Examples


hydro_yearly = hydro_imgw_annual(year = 2000, value = "H", station = "ANNOPOL")


climate documentation built on Oct. 19, 2024, 9:06 a.m.