Hydrologic time series data and associated anomalies (multiple components of the original time series representing variability at longer-term and shorter-term time scales) are useful for modeling trends in hydrologic variables, such as streamflow, and for modeling water-quality constituents. An R package, called waterData, has been developed for importing daily hydrologic time series data from U.S. Geological Survey streamgages into the R programming environment. In addition to streamflow, data retrieval may include gage height and continuous physical property data, such as specific conductance, pH, water temperature, turbidity, and dissolved oxygen. The package allows for importing daily hydrologic data into R, plotting the data, fixing common data problems, summarizing the data, and the calculation and graphical presentation of anomalies.
Additional publication details
USGS Numbered Series
waterData--An R package for retrieval, analysis, and anomaly calculation of daily hydrologic time series data, version 1.0
Version 1.0 - October 12, 2012
U.S. Geological Survey
North Dakota Water Science Center, Dakota Water Science Center