get_daily_surfacewater_data: Get Daily Surfacewater Data: wrapper to scrape daily surface...

View source: R/get_daily_surfacewater_data.R

get_daily_surfacewater_dataR Documentation

Get Daily Surfacewater Data: wrapper to scrape daily surface water data

Description

Get Daily Surfacewater Data: wrapper to scrape daily surface water data

Usage

get_daily_surfacewater_data(
  stations,
  variables = get_surfacewater_variables(),
  list2df = FALSE
)

Arguments

stations

stations as retrieved by by get_stations

variables

variables as retrieved by by get_surfacewater_variables

list2df

convert result list to data frame (default: FALSE)

Value

list or data frame with all available data from Wasserportal

Examples

## Not run: 
stations <- wasserportal::get_stations()
variables <- wasserportal::get_surfacewater_variables()
variables
sw_data_daily <- wasserportal::get_daily_surfacewater_data(stations, variables)

## End(Not run)

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