Package: swmmr 0.9.1.9000
swmmr: R Interface for US EPA's SWMM
Functions to connect the widely used Storm Water Management Model (SWMM) of the United States Environmental Protection Agency (US EPA) <https://www.epa.gov/water-research/storm-water-management-model-swmm> to R with currently two main goals: (1) Run a SWMM simulation from R and (2) provide fast access to simulation results, i.e. SWMM's binary '.out'-files. High performance is achieved with help of Rcpp. Additionally, reading SWMM's '.inp' and '.rpt' files is supported to glance model structures and to get direct access to simulation summaries.
Authors:
swmmr_0.9.1.9000.tar.gz
swmmr_0.9.1.9000.zip(r-4.7)swmmr_0.9.1.9000.zip(r-4.6)swmmr_0.9.1.9000.zip(r-4.5)
swmmr_0.9.1.9000.tgz(r-4.6-x86_64)swmmr_0.9.1.9000.tgz(r-4.6-arm64)swmmr_0.9.1.9000.tgz(r-4.5-x86_64)swmmr_0.9.1.9000.tgz(r-4.5-arm64)
swmmr_0.9.1.9000.tar.gz(r-4.7-arm64)swmmr_0.9.1.9000.tar.gz(r-4.7-x86_64)swmmr_0.9.1.9000.tar.gz(r-4.6-arm64)swmmr_0.9.1.9000.tar.gz(r-4.6-x86_64)
swmmr_0.9.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
swmmr/json (API)
NEWS
| # Install 'swmmr' in R: |
| install.packages('swmmr', repos = c('https://hsonne.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/dleutnant/swmmr/issues
Last updated from:820fe76a47. Checks:11 ERROR, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | ERROR | 127 | ||
| linux-devel-x86_64 | ERROR | 144 | ||
| source / vignettes | OK | 212 | ||
| linux-release-arm64 | ERROR | 124 | ||
| linux-release-x86_64 | ERROR | 131 | ||
| macos-release-arm64 | ERROR | 132 | ||
| macos-release-x86_64 | ERROR | 234 | ||
| macos-oldrel-arm64 | ERROR | 110 | ||
| macos-oldrel-x86_64 | ERROR | 210 | ||
| windows-devel | ERROR | 79 | ||
| windows-release | ERROR | 89 | ||
| windows-oldrel | ERROR | 86 | ||
| wasm-release | OK | 107 |
Exports:get_out_contentget_out_versioninp_to_filesinp_to_sfjunctions_to_sflinks_to_sforifices_to_sfoutfalls_to_sfpumps_to_sfraingages_to_sfread_inpread_lid_rptread_outread_rptrun_swmmshp_to_inpstorages_to_sfsubcatchments_to_sfweirs_to_sfwrite_inp
Dependencies:bitbit64clicliprcpp11crayondplyrgenericsgluehmslatticelifecyclemagrittrpillarpkgconfigprettyunitsprogresspurrrR6Rcppreadrrlangstringistringrtibbletidyrtidyselecttzdbutf8vctrsvroomwithrxtszoo
How swmmr reads and writes SWMM files
Rendered fromHow_swmmr_reads_and_writes_files.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2022-02-02
Started: 2018-01-15
How to autocalibrate a SWMM model with swmmr
Rendered fromHow_to_autocalibrate_a_SWMM_model_with_swmmr.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2019-03-16
Started: 2018-01-15
Conversion between GIS data and SWMM with swmmr
Rendered fromHow_to_convert_between_GIS_data_and_SWMM_with_swmmr.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2018-02-27
Started: 2018-02-22
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Plot a swmm model structure using ggplot2 | autoplot.inp |
| Convert swmm objects to simple feature geometries | convert_to_sf inp_to_sf junctions_to_sf links_to_sf orifices_to_sf outfalls_to_sf pumps_to_sf raingages_to_sf storages_to_sf subcatchments_to_sf weirs_to_sf |
| Get the content of an .out file. | get_out_content |
| Get the swmm version the .out file was generated with | get_out_version |
| Convert SWMM's .inp to .shp and txt files | inp_to_files |
| Read SWMM's .inp file | read_inp |
| Read SWMM's LID Report File | read_lid_rpt |
| Read time series data from SWMM's .out file | read_out |
| Read SWMM's .rpt file | read_rpt |
| Initiate a simulation run | run_swmm |
| Convert *.shp files to SWMM's *.inp file | shp_to_inp |
| Show summary of a swmm model structure | summary.inp |
| 'swmmr' package | swmmr |
| Write SWMM's .inp file | write_inp |
