Learn R Programming

swmmr (version 0.9.1)

read_inp: Read SWMM's .inp file

Description

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

Usage

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

Run this code
# NOT RUN {
 
# }
# NOT RUN {
list_of_inp_sections <- read_inp("model.inp")
# }

Run the code above in your browser using DataLab