View source: R/get_wasserportal_masters_data.R
get_wasserportal_masters_data | R Documentation |
Wasserportal Berlin: get master data for a multiple stations
get_wasserportal_masters_data(master_urls, run_parallel = TRUE)
master_urls |
URLs to master data as found in column "stammdaten_link"
of the data frame returned by
|
run_parallel |
default: TRUE |
data frame with metadata for selected master urls
## Not run:
stations_list <- wasserportal::get_stations(type = "list")
# Reduce to monitoring stations maintained by Berlin
master_urls <- stations_list$surface_water.water_level %>%
dplyr::filter(.data$Betreiber == "Land Berlin") %>%
dplyr::pull(.data$stammdaten_link)
system.time(master_parallel <- get_wasserportal_masters_data(
master_urls
))
system.time(master_sequential <- get_wasserportal_masters_data(
master_urls,
run_parallel = FALSE
))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.