Skip Links

USGS - science for a changing world

Open-File Report 2012–1168

National Water-Quality Assessment Program

waterData—An R Package for Retrieval, Analysis, and Anomaly Calculation of Daily Hydrologic Time Series Data, Version 1.0

By Karen R. Ryberg and Aldo V. Vecchia

Thumbnail of and link to report PDF (311 kB)Abstract

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.

First posted October 12, 2012

For additional information contact:
Director, North Dakota Water Science Center
U.S. Geological Survey
821 East Interstate Avenue
Bismarck, North Dakota 58503
http://nd.water.usgs.gov/

Part or all of this report is presented in Portable Document Format (PDF); the latest version of Adobe Reader or similar software is required to view it. Download the latest version of Adobe Reader, free of charge.


Suggested citation:

Ryberg, K.R., and Vecchia, A.V., 2012, waterData—An R package for retrieval, analysis, and anomaly calculation of daily hydrologic time series data, version 1.0: U.S. Geological Survey Open-File Report 2012–1168, 8 p.



Contents

Abstract

Introduction

Description of waterData

Summary

Disclaimer

Acknowledgments

References Cited

Appendixes 1–2


Accessibility FOIA Privacy Policies and Notices

Take Pride in America logo USA.gov logo U.S. Department of the Interior | U.S. Geological Survey
URL: http://pubsdata.usgs.gov/pubs/of/2012/1168/index.html
Page Contact Information: GS Pubs Web Contact
Page Last Modified: Saturday, 12-Jan-2013 15:28:34 EST