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) 

swmmr documentation built on March 2, 2020, 5:09 p.m.