View source: R/get_wasserportal_masters_data.R
get_wasserportal_master_data | R Documentation |
Wasserportal Berlin: get master data for a single station
get_wasserportal_master_data(master_url)
master_url |
url with master data for single station as retrieved by
|
data frame with metadata for selected station
## Not run:
stations_list <- wasserportal::get_stations(type = "list")
# GW Station
master_url <- stations_list %>%
kwb.utils::selectElements("groundwater.level") %>%
kwb.utils::selectColumns("stammdaten_link")[1L]
get_wasserportal_master_data(master_url)
# SW Station
# Reduce to monitoring stations maintained by Berlin
master_urls <- stations_list %>%
kwb.utils::selectElements("surface_water.water_level") %>%
dplyr::filter(.data$Betreiber == "Land Berlin") %>%
dplyr::pull(.data$stammdaten_link)
get_wasserportal_master_data(master_urls[1L])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.