Get Results
Arguments
- path_out
path to SWMM output file
- type
output type, select from c("subcatchments" "nodes", "links" or "system"), default: "system"
- object_name
Sets the objects of which time series data is returned. if NULL all objects will be returned (default: NULL)
- vIndex
indexes of system wide indexes to be imported. By default all indexes will be imported (default: NULL). If only selected vIndex`s should be imported have a look at the documentation of read_out
Value
for "system" a tibble with selected system variables, for all other "type" a list with sublists for each "object_name"
Examples
if (FALSE) {
path_out_file <- "path-to-my-swmm-output-file"
results_subcatchments <- kwb.swmm::get_results(path_out_file, type = "subcatchments")
results_links <- kwb.swmm::get_results(path_out_file, type = "links")
results_nodes <- kwb.swmm::get_results(path_out_file, type = "nodes")
results_system <- kwb.swmm::get_results(path_out_file, type = "system")
}