Examples

Introduction to the waterdata module of dataretrieval

The waterdata module contains the set of data download functions for USGS water data. This Jupyter notebook covers a basic introduction to module functions and usage.

USGS Water Data API vignettes

These notebooks are Python ports of the new USGS Water Data API vignettes from the R dataRetrieval package. Each introduces a family of Water Data API functions and is executed against the live USGS Water Data API.

Simple uses of the dataretrieval package

Example Notebooks from Hydroshare

A set of Jupyter Notebooks with Python code examples on how to use the dataretrieval package are available on the Hydroshare platform. We provide executed versions of these notebooks below; to download the .ipynb files for your own use, either visit the Hydroshare repository, or navigate to the demos/hydroshare subdirectory of the dataretrieval project repository.

Duplicating the R dataRetrieval vignettes functionality

Note

Some of the larger (e.g., state-wide) examples have been commented out in the interest of run-time for the notebook.