shadia
An R package that was designed to run dam passage performance standard models for American shad and other herrings.
https://github.com/danStich/shadia
Category: Biosphere
Sub Category: Marine Life and Fishery
Keywords
climate dam fish-passage fisheries herring hydropower individual-based management-strategy-evaluation r river shad watershed
Last synced: about 19 hours ago
JSON representation
Repository metadata
shadia: dam passage performance standard models for R
- Host: GitHub
- URL: https://github.com/danStich/shadia
- Owner: danStich
- License: gpl-3.0
- Created: 2018-03-12T03:25:21.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-26T12:41:27.000Z (8 months ago)
- Last Synced: 2025-04-20T09:04:28.352Z (7 days ago)
- Topics: climate, dam, fish-passage, fisheries, herring, hydropower, individual-based, management-strategy-evaluation, r, river, shad, watershed
- Language: R
- Homepage: https://shadia-ui.github.io/index.html
- Size: 46.3 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 1
- Releases: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
README.md
shadia
Package containing functions and data for American shad population modeling (click here for project website).
Note
This is the development version of the shadia
package for R (shadia v2.0). This package is under continual development at this time, as it is part of ongoing research and management. For that reason, it is important to correspond with package developers before using the dam passage performance standard models in decision making or research.
Frozen (stable) versions of the software are provided for consistency during dam relisencing studies and reproducibility of research through the shadia
website. The site now also provides up-to-date information about the status of all models.
Please check regularly for updates, changes, and bug patches. Please submit issues directly to this repository using the links above.
Installation
The development version of shadia
can be installed with devtools
in R using the repository url:
devtools::install_github("danStich/shadia")
To install shadia
, you will need to have devtools
installed ahead of time in R, but that requires some special tools. To install on Windows, you will need to download and install the appropriate version of Rtools. To install on Mac, you will need to have the XCode command-line tools installed. And, if running from Linux, you will need to install the developer version of R (r-base-dev
) if you have not already.
Use
The purpose of this package is to distribute code used to run dam passage performance standard models for anadromous alosines (shad and herring). Currently, the model is implemented for the Connecticut, Kennebec, Merrimack, Mohawk and Hudson, Penobscot, Saco, and Susquehanna rivers, USA, but we are actively adding new rivers.
The main package functions can be run without any arguments to estimate population abundance in various reaches or in whole rivers under 'no dam' passage scenarios (see examples). Alternatively, the user can pass one or more values for upstream and downstream fish passage at a given dam which can then be applied throughout the watershed, or separately at each dam. Outputs include population abundance of spawners in the watersheds, within specific production units of each river, and the proportion of repeat spawners in each age class.
The models take several (10-30) seconds to run for one iteration on most standard workstations.
Warning
Management decisions should not be based on a single model run. The models rely on stochastic inputs for parameterization, as detailed in Stich et al. (2019). As such, any two model runs might result in substantially different predictions, even under the same passage scenario. We recommend at least 100 model runs per scenario to provide a minimal characterization of stochasticity, and a cursory understanding of variability in the response(s) of interest. In these cases, we strongly recommend running the model using the snowfall
package as demonstrated in the help file for each model, which can be accessed by typing ?...RiverModel
(where '...
' is the name of each river in lowercase) in the console and pressing < Enter >
.
Directories
data/
Contains built-in data sets for the package
man/
help files and documentation
R/
R functions in scripts
src/
C++ source files written with Rcpp
Owner metadata
- Name:
- Login: danStich
- Email:
- Kind: user
- Description: Associate professor, Biology. Research focuses on development and application of quantitative tools for informing natural resource sciences and management.
- Website: https://danstich.github.io/stich/
- Location: Oneonta, NY
- Twitter:
- Company: SUNY Oneonta
- Icon url: https://avatars.githubusercontent.com/u/36766897?u=7af0f78a24d0f09138a7b15f26d9576d9809ed85&v=4
- Repositories: 31
- Last ynced at: 2024-05-12T08:40:31.453Z
- Profile URL: https://github.com/danStich
GitHub Events
Total
Last Year
Committers metadata
Last synced: 6 days ago
Total Commits: 339
Total Committers: 3
Avg Commits per committer: 113.0
Development Distribution Score (DDS): 0.431
Commits in past year: 5
Committers in past year: 2
Avg Commits per committer in past year: 2.5
Development Distribution Score (DDS) in past year: 0.4
Name | Commits | |
---|---|---|
danStich | d****h@o****u | 193 |
danStich | 3****h | 145 |
Erin Gilligan | g****9@o****u | 1 |
Committer domains:
- oneonta.edu: 2
Issue and Pull Request metadata
Last synced: 2 days ago
Total issues: 35
Total pull requests: 15
Average time to close issues: 5 months
Average time to close pull requests: 4 minutes
Total issue authors: 1
Total pull request authors: 1
Average comments per issue: 1.49
Average comments per pull request: 0.07
Merged pull request: 15
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- danStich (35)
Top Pull Request Authors
- danStich (15)
Top Issue Labels
- enhancement (8)
- bug (4)
- Needs testing (1)
Top Pull Request Labels
- enhancement (1)
Dependencies
- MASS * imports
- geosphere * imports
- lubridate * imports
- methods * imports
- plyr * imports
- tidyverse * imports
- zoo * imports
- rlecuyer * suggests
- snowfall * suggests
Score: 3.044522437723423