setup_structures.RdSetup structures for bathtub inundation modeling
setup_structures( structures, type = "depth", invert, invert_units = "ft", elev = NA, elev_units = "m", vdatum = "NAVD88", null_value = 99, other_cols = NULL, workspace )
| structures | A |
|---|---|
| type | Type of invert survey data. 'depth', 'elevation', or 'none' |
| invert | Name of column denoting invert survey data |
| invert_units | Units of |
| elev | Name of column denoting surface elevation of stormwater structure,
or |
| elev_units | Units of |
| vdatum | Vertical datum of elevation data (only NAVD88 supported) |
| null_value | Invert survey data value indicating missing data |
| other_cols | Other columns to preserve |
| workspace | Path to bathtub folder |
An sf object denoting structures formatted with units
# structures_n <- # setup_structures( # structures = structures, # type = "elevation", # invert = "INVERTELEV", # elev = "Elevation", # elev_units = "ft", # null_value = 99, # other_cols = c("Code","Prcnt_Obst","Type_Obst"), # workspace = workspace # )