DOI-USGS / water-use

Visualization using USGS water use data.
https://owi.usgs.gov/vizlab/water-use/
Creative Commons Zero v1.0 Universal
15 stars 16 forks source link

water-use

A visualization using USGS water use data.

This repository contains code that fetches, processes, and creates visual representations of water use data.

The visualization can be found at https://owi.usgs.gov/vizlab/water-use.

The visualization is built using the vizlab R package which implements a framework for implementation of reproducable data visualizations.

Data is retrieved using the wateRuse and dataRetrieval packages for pre 1980 and post 1985 data respectively. Pre 1980 data is based on transcribed water use compilation report data. The reports can be found here. and files containing transcribed data used by the visualization code are hosted on sciencebase.gov here.

Data processing is accomplished with a number of R packages, all available from the CRAN: dplyr, tidyr, sp, rgeos, maptools, maps, jsonlite, svglite, and xml2.