get_groundwater_data: Get Groundwater Data

View source: R/get_groundwater_data.R

get_groundwater_dataR Documentation

Get Groundwater Data

Description

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

## Not run: 
stations <- wasserportal::get_stations()
gw_data_list <- get_groundwater_data(stations)
str(gw_data_list)

## End(Not run)

KWB-R/wasserportal documentation built on June 6, 2024, 10:26 a.m.