Calculates a suite of ecological flow statistics and fundamental properties of daily streamflow for a given set of data.
|Linux||Windows||Test Coverage||USGS Status|
EflowStats is available from the Geological Survey R Archive Network (GRAN). The preferred install method alters your R profile so GRAN works just like CRAN.
rprofile_path = file.path(Sys.getenv("HOME"), ".Rprofile") write('\noptions(repos=c(getOption(\'repos\'), CRAN=\'https://cloud.r-project.org\', USGS=\'https://owi.usgs.gov/R\'))\n', rprofile_path, append = TRUE) cat('Your Rprofile has been updated to include GRAN. Please restart R for changes to take effect.')
Once you've restarted R, you can do:
And you can update with:
It is also possible to install without adding GRAN to your rprofile, but automatic package updates will not be installed with
More details are available at the GRAN web page.
To install the latest and greatest build use the following code:
Code of Conduct
We want to encourage a warm, welcoming, and safe environment for contributing to this project. See the code of conduct for more information.
Please consider reporting bugs and asking questions on the Issues page.
The Water Mission Area of the USGS has supported the development and maintenance of the
EflowStats R-package. Further maintenance is expected to be stable until further notice. Resources are available primarily for maintenance and responding to user questions. Priorities on the development of new features are determined by the
EflowStats development team.
EflowStats package was created to simplify the process of generating hydrologic indicator statistics using daily streamflow records. It has been specifically designed to work seamlessly with U.S. Geological Survey (USGS) National Water Information System (NWIS) data. This package is intended to be an update of the previously existing USGS National Hydrologic Assessment Tool (NAHAT) program with additional statistics previously published by Archfield et al (Archfield).
Henriksen, J.A., Heasley, J. Kennen, J.G., and Nieswand, S., 2006, Users' manual for the Hydroecological Integrity Assessment Process software (including the New Jersey Assessment Tools): U.S. Geological Survey Open-File Report 2006-1093. 72 p. (http://www.fort.usgs.gov/products/publications/21598/21598.pdf)
Archfield, S.A., J.G. Kennen, D.M. Carlisle, and D.M. Wolock. 2013. An Objective and Parsimonious Approach for Classifying Natural Flow Regimes at a Continental Scale. River Res. Applic. doi: 10.1002/rra.2710 (http://onlinelibrary.wiley.com/doi/10.1002/rra.2710/abstract)
This software is in the public domain because it contains materials that originally came from the U.S. Geological Survey, an agency of the United States Department of Interior. For more information, see the official USGS copyright policy at http://www.usgs.gov/visual-id/credit_usgs.html#copyright
This software has been approved for release by the U.S. Geological Survey (USGS). Although the software has been subjected to rigorous review, the USGS reserves the right to update the software as needed pursuant to further analysis and review. No warranty, expressed or implied, is made by the USGS or the U.S. Government as to the functionality of the software and related material nor shall the fact of release constitute any such warranty. Furthermore, the software is released on condition that neither the USGS nor the U.S. Government shall be held liable for any damages resulting from its authorized or unauthorized use.