Skip to contents

Wasserportal Berlin: get stations overview table

Usage

get_wasserportal_stations_table(
  type = get_overview_options()$groundwater$level,
  url_wasserportal = wasserportal_base_url()
)

Arguments

type

type of stations table to retrieve. Valid options defined in get_overview_options, default: get_overview_options()$groundwater$level

url_wasserportal

base url to Wasserportal berlin (default: wasserportal_base_url

Value

data frame with master data of selected monitoring stations

Examples

types <- wasserportal::get_overview_options()
str(types)
#> List of 2
#>  $ surface_water:List of 7
#>   ..$ water_level         : chr "ows"
#>   ..$ flow                : chr "odf"
#>   ..$ temperature         : chr "owt"
#>   ..$ conductivity        : chr "olf"
#>   ..$ ph                  : chr "oph"
#>   ..$ oxygen_concentration: chr "oog"
#>   ..$ oxygen_saturation   : chr "oos"
#>  $ groundwater  :List of 2
#>   ..$ level  : chr "gws"
#>   ..$ quality: chr "gwq"
sw_l <- wasserportal::get_wasserportal_stations_table(type = types$surface_water$water_level)
str(sw_l)
#> tibble [107 × 10] (S3: tbl_df/tbl/data.frame)
#>  $ Messstellennummer: int [1:107] 5865900 5827103 5870400 5865300 5819900 5864801 5861101 5800107 5800317 5867003 ...
#>  $ Messstellenname  : chr [1:107] "Allee der Kosmonauten" "Allendestraße" "Alsenbrücke" "Am Bahndamm" ...
#>  $ Gewaesser        : chr [1:107] "M.-H.-Grenzgr." "Müggelspree" "Griebnitzkanal" "Wuhle" ...
#>  $ Betreiber        : chr [1:107] "Land Berlin" "Land Berlin" "Land Berlin" "Land Berlin" ...
#>  $ Datum            : chr [1:107] "26.04.2024 06:00" "26.04.2024 06:00" "26.04.2024 06:00" "" ...
#>  $ Wasserstand      : num [1:107] 8 53 53 NA 89 6 29 69 99 78 ...
#>  $ Einheit          : chr [1:107] "cm" "cm" "cm" "cm" ...
#>  $ Ganglinien       : chr [1:107] "https://wasserportal.berlin.de/station.php?anzeige=g&thema=ows&station=5865900" "https://wasserportal.berlin.de/station.php?anzeige=g&thema=ows&station=5827103" "https://wasserportal.berlin.de/station.php?anzeige=g&thema=ows&station=5870400" "https://wasserportal.berlin.de/station.php?anzeige=g&thema=ows&station=5865300" ...
#>  $ Klassifikation   : chr [1:107] "niedrig" "normal" "niedrig" "nicht aktuell" ...
#>  $ stammdaten_link  : chr [1:107] "https://wasserportal.berlin.de/station.php?anzeige=i&thema=ows&station=5865900" "https://wasserportal.berlin.de/station.php?anzeige=i&thema=ows&station=5827103" "https://wasserportal.berlin.de/station.php?anzeige=i&thema=ows&station=5870400" "https://wasserportal.berlin.de/station.php?anzeige=i&thema=ows&station=5865300" ...