Skip to contents

Configuration: Read

Usage

config_read(config_dir = "inst/extdata/config", file_encoding = "UTF-8")

Arguments

config_dir

directory with configuration files (default: system.file("extdata/config", package = "kwb.BerlinWaterModel")). It is mandatory that there are three files within this folder: "flows_in_out.csv", "outflows_multiple.csv" and "sections.csv"

file_encoding

encoding for reading the files (default: "UTF-8")

Value

list with three sublists "flows_in_out", "outflows_multiple" and "sections

Examples

config <- kwb.BerlinWaterModel::config_read()
config
#> named list()