Evaluating long-term changes in river conditions (water quality and discharge) is an important use of hydrologic data. To carry out such evaluations, the hydrologist needs tools to facilitate several key steps in the process: acquiring the data records from a variety of sources, structuring it in ways that facilitate the analysis, processing the data with routines that extract information about changes that may be happening, and displaying findings with graphical techniques. A pair of tightly linked R packages, called dataRetrieval and EGRET (Exploration and Graphics for RivEr Trends), have been developed for carrying out each of these steps in an integrated manner. They are designed to easily accept data from three sources: U.S. Geological Survey hydrologic data, U.S. Environmental Protection Agency (EPA) STORET data, and user-supplied flat files. The dataRetrieval package not only serves as a “front end” to the EGRET package, it can also be used to easily download many types of hydrologic data and organize it in ways that facilitate many other hydrologic applications. The EGRET package has components oriented towards the description of long-term changes in streamflow statistics (high flow, average flow, and low flow) as well as changes in water quality. For the water-quality analysis, it uses Weighted Regressions on Time, Discharge and Season (WRTDS) to describe long-term trends in both concentration and flux. EGRET also creates a wide range of graphical presentations of the water-quality data and of the WRTDS results. This report serves as a user guide to these two R packages, providing detailed guidance on installation and use of the software, documentation of the analysis methods used, as well as guidance on some of the kinds of questions and approaches that the software can facilitate.
Citation Information
Publication Year | 2015 |
---|---|
Title | User guide to Exploration and Graphics for RivEr Trends (EGRET) and dataRetrieval: R packages for hydrologic data |
DOI | 10.3133/tm4A10 |
Authors | Robert M. Hirsch, Laura A. De Cicco |
Publication Type | Report |
Publication Subtype | USGS Numbered Series |
Series Title | Techniques and Methods |
Series Number | 4-A10 |
Index ID | tm4A10 |
Record Source | USGS Publications Warehouse |
USGS Organization | National Research Program - Eastern Branch |
Related Content
Nutrient and Sediment Concentrations, Loads, and Yields in the Upper Macoupin Creek Watershed, Water Years 2018–2021
Related Content
- Data
Nutrient and Sediment Concentrations, Loads, and Yields in the Upper Macoupin Creek Watershed, Water Years 2018–2021
This data release includes estimates of annual and daily concentrations and fluxes for nitrate plus nitrite, total phosphorus, and suspended sediment for two sites in the Upper Macoupin Creek Basin watershed (UMCB) produced using the Weighted Regressions on Time, Discharge, and Season -- Kalman Filter (WRTDS-K; Zhang and Hirsch, 2019) model in the Exploration of and Graphics for RivEr Trends (EGRE - Connect