Skip to contents

wrapper function to scrape all available raw data, i.e. groundwater level and quality data and save in list

Usage

get_groundwater_data(
  stations,
  groundwater_options = get_groundwater_options(),
  debug = TRUE,
  stations_list = NULL
)

Arguments

stations

list as retrieved by get_stations. Deprecated. Please use stations_list instead

groundwater_options

as retrieved by get_groundwater_options

debug

print debug messages (default: TRUE)

stations_list

list of station metadata as returned by get_stations(type = "list")

Value

list with elements "groundwater.level" and "groundwater.quality" data frames

Examples

if (FALSE) { # \dontrun{
stations <- wasserportal::get_stations()
gw_data_list <- get_groundwater_data(stations)
str(gw_data_list)
} # }