read_inp: Read SWMM's .inp file

Description Usage Arguments Value Examples

View source: R/read_inp.R

Description

Reads a SWMM .inp file and creates a list with corresponding SWMM sections.

Usage

1
read_inp(x, rm.comment = TRUE, ...)

Arguments

x

Name (incl. path) to an input file.

rm.comment

Should lines with comments starting with a ";" be discarded?

...

optional arguments passed to read_lines.

Value

An object of class inp

Examples

1
2
3
4
5
 
## Not run: 
list_of_inp_sections <- read_inp("model.inp")

## End(Not run) 

dleutnant/swmmr documentation built on Feb. 8, 2022, 2:07 a.m.