Learn R Programming

imgw (version 0.1.0)

hydro_monthly: Monthly hydrological data

Description

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

Usage

hydro_monthly(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

Run this code
# NOT RUN {
  monthly <- hydro_monthly(year = 2000)
  head(monthly)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab