wp_masters_data_to_list: Wasserportal Master Data: download and Import in R List

View source: R/wp_masters_data_to_list.R

wp_masters_data_to_listR Documentation

Wasserportal Master Data: download and Import in R List

Description

Wasserportal Master Data: download and Import in R List

Usage

wp_masters_data_to_list(
  overview_list_names,
  target_dir = tempdir(),
  file_prefix = "stations_",
  is_zipped = FALSE
)

Arguments

overview_list_names

names of elements in the list returned by get_stations(type = "list")

target_dir

target directory for downloading data (default: tempdir())

file_prefix

prefix given to file names

is_zipped

are the data to be downloaded zipped (default: FALSE)

Value

downloads csv master data from Wasserportal

Examples

## Not run: 
overview_list_names <- names(wasserportal::get_stations(type = "list"))
wp_masters_data_list <- wp_masters_data_to_list(overview_list_names)

## End(Not run)

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