knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
SNEPtools
was created by Tetra Tech, Inc. in 2020 to meet the needs of Southeast New England Coastal Watershed Restoration Program (SNEP) staff to complete data manipulations in an efficient and reproducible manner. The core purpose of this package is to run a web-based Shiny application that uses the BioMonTools
package to calculate metric values and scores. Additionally, a second tab within the app produced an interactive map that displays the index score for each input site. Sites are clickable - popup windows appear that provide details such as Sample ID, Index Region, and scores of individual metrics associated with the particular index. ArcGIS StoryMaps are embedded in the app to provide additional contex to the IBI calculator. A technical StoryMap summarizes the IBI development project whereas a non-technical StoryMap is targeted towards a broader audience with added background information.
It is envisioned that this library will be a living program and will add additional functions and routines in the future.
The R library is saved on GitHub (https://github.com/Blocktt/SNEPtools) for ease of updating and distribution. Issues can be tracked, fixed, and code is available for download. Current users of SNEPtools
can update the library using the same code used to install the library (see below).
Devtools is required to download from GitHub. The SNEPtools
package uses the BioMonTools
package to calculate metric values and scores - therefore, the BioMonTools
package also needs to be downloaded from GitHub (see below).
At this time, there are no plans to submit SNEPtools
to CRAN (R's library repository).
SNEPtools
, Download Instructionsinstall.packages("devtools") library(devtools) install_github("Blocktt/SNEPtools", force=TRUE, build_vignettes=TRUE)
To contact the author directly email Ben.Block@tetratech.com.
BioMonTools
, Download Instructionslibrary(devtools) # assumes you already have devtools installed (see above) install_github("leppott/BioMonTools", force=TRUE, build_vignettes=TRUE)
To contact the author directly email Erik.Leppo@tetratech.com.
Several packages were used to build the functionality in SNEPtools
:
BioMonTools
dplyr
shiny
leaflet
To install packages follow the example of the code below for installing dplyr
.
install.package("dplyr")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.