Exploration and Graphics for RivEr Trends
Overview
Statistics and graphics for streamflow history, water quality trends, and the statistical modeling algorithm: Weighted Regressions on Time, Discharge, and Season (WRTDS).
- Changed readNWISDaily to use new USGS Water Data API services.
- Changed readNWISInfo to use new USGS Water Data API services.
- Added option ("adjust") to use the flow adjustment within the readNWISDaily and
readUserDaily functions. By default, "adjust" is set to TRUE and will
add a constant to zero flow values to allow log transformation. In special cases,
users may want to keep the zero-flow values, keeping in mind that in those cases
many of the modeling functions will not work.
- Cleaned up plotConcTimeSmooth title.
- Added a "fill" option to readDaily functions, see examples in
populateDaily for more information.
- Added "fill_missing_daily" function as a standalone.
- Added code to make sure the eList returned from runSeries contained
Show all changes in 3.0.12Hide the rest of the changes in 3.0.12
the same columns that would be returned from modelEstimation.
- Revised WRTDSKalman algorithm to speed processing of records with long sample gaps. The behavior and outputs of the WRTDSKalman function have not changed.
- Added the use of genmissing() to WRTDSKalman function on the first and last
gaps of the dataset instead of the existing approach where autocorrelation
doesn't extend into those gaps.
From NEWS.md in the release
Install
Health
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespace in Imports field not imported from: ‘MASS’ All declared Imports should be used.
- NOTE11 OK, 2 NOTE2026-07-31
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 124 (1 internal)includes a package overview page
- Examples that run
- 95%110 run in a plain check (1 of them under a condition) · 6 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 97%
- Documented parameters
- 100%
- Return-value docs
- 56%
- Help pages citing references
- 1%
Also includes 3 demo scripts (run with demo())
Downloads
Repository
- PRs merged (all time)
- 98%
- Median days to close, 50 most recently updated closed issues
- 72
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
12 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/doi-usgs/egret on 2026-10-18.
The R CMD check workflow runs on macOS
GitHub Pages site last deployed 2026-07-13 · The repository has a site deploy workflow
Show all practicesHide 1 practice
Dependencies
Installing EGRET adds 56 packages (36 with compiled code, 49 MB of source tarballs). Heaviest: sf 9.3 MB, data.table 5.7 MB, dataRetrieval 4.1 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 3.0.12Latest2026-07-30 · current release · diff ↗ ·
added 4 exports
fillUpElists, fill_missing_daily, genmissing, precompute_L - RR 4.6.0 released · 2026-04-24
- 3.0.112025-04-29 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 3.0.102024-11-20 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 3.0.92023-04-18 · diff ↗
- 3.0.8
- RR 4.2.0 released · 2022-04-22
- 3.0.7
- 3.0.62021-06-01 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 3.0.52021-04-09 · diff ↗ ·
removed 2 exports
formatCheckDate, formatCheckParameterCdadded 8 exports
WRTDSKalman, cleanUp, cumQdate, errorStats, jitterSam, plotTimeSlice, plotWRTDSKalman, randomSubset - RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
Show 19 earlier eventsHide 19 earlier events
- unarchivedReturned to CRAN2019-02-08
- 3.0.22019-02-08 · diff ↗
- archivedRemoved from CRAN2019-01-23check issues were not corrected in time
- 3.0.02018-08-16 · diff ↗ ·
added 19 exports
bin_Qs, checkSurfaceSpan, decimalDate, decimalHighLow, flexFN, flexPlotAddOn, getConcFluxFromSurface, getSurfaceEstimates, makeDateInfo, nCensoredVals, nDischarge, nObservations, runGroups, runPairs, runSeries, run_WRTDS, startEnd, stitch, surfaceStartEnd - RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 2.6.0
- RR 3.3.0 released · 2016-05-03
- 2.4.32016-03-05 · diff ↗
- 2.3.1
- 2.3.0
- RR 3.2.0 released · 2015-04-16
- 2.2.02015-04-14 · diff ↗
- 2.1.1
- 2.1.02014-12-18 · diff ↗
- 2.0.22014-12-03 · diff ↗
- 2.0.1
- 2.0.02014-11-20
- RR 3.1.0 released · 2014-04-10
Package metadata
- First published
- 2014-11-20
- Total releases
- 20 / 12 yrs
- License
- CC0
- Copyright
- This software is in the public domain because it contains materials that originally came from the United States Geological Survey, an agency of the United States Department of Interior. For more information, see the official USGS copyright policy at https://www.usgs.gov/information-policies-and-instructions/copyrights-and-credits
- Minimum R
- ≥ 3.5
- Bundled data
- 1.3 MB / 2 files
- Download size
- 3.9 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("EGRET")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.