Supporting data and tools for "Variability in Consumption and End Uses of Water for Residential Users in Logan and Providence, Utah, USA"

Resource type: Composite Resource
Storage: The size of this resource is 635.1 KB
Created: Oct 08, 2021 at 7:31 p.m.
Last updated: Oct 28, 2021 at 5:09 p.m.
Citation: See how to cite this resource
Sharing Status: Public
Views: 106
Downloads: 59
+1 Votes: Be the first one to 
Comments: No comments (yet)


The files provided here are the supporting data and code files for the analyses presented in "Variability in Consumption and End Uses of Water for Residential Users in Logan and Providence, Utah, USA", an article submitted to the JWRPM ( The journal paper assessed how differences water consumption are reflected in terms of timing and distribution of end uses across residential properties. The article provides insights into the variability of indoor and outdoor residential water use at the household level from the analysis of four to 23 weeks of 4-second resolution water use data at 31 single family residential properties. The data was collected in the cities of Logan and Providence, Utah, USA between 2019 and 2021. The 4-second resolution data is publicly available on: Standardized monthly values for single family residents in both cities were used int he article and are publicly available on: The code and data included in this resource allows replication of the analyses presented in the journal paper, and the raw data included allow for extension of the analyses conducted.

Subject Keywords

Deleting all keywords will set the resource sharing status to private.

Resource Level Coverage


Coordinate System/Geographic Projection:
WGS 84 EPSG:4326
Coordinate Units:
Decimal degrees
North Latitude
East Longitude
South Latitude
West Longitude


Start Date:
End Date:


Folders are organized as follows:

  • WeatherData contains weather data for the USU Environmental Observatory and Evans farm weather stations (in CSV format).
This files were directly downloaded from the USU Utah Climate center website ( All metadata about the weather data (e.g., units, type of instrument, equations) is available in the USR UCC website in the following links:

Instructions for Reproducing Results

To reproduce any of the results presented in the article, do the following:

  1. Download all the files in the ReproducibleCode folder. Keep the files together in the same folder to ensure the paths to the files remain correct.
  2. Open the R scripts ( using R or R-Studio ( and execute them in the following order: 1) DataHandler.R and 2) DataAnalysis.R. DataHandler.R will download all the required data from the HydroShare resources cited and DataAnalysis.R will reproduce the results presented in the paper, following a similar workflow.

The code provided in this resource was developed using R version 4.0.0. The following R packages are required for running the provided scripts:

  • tidyverse - Version 1.3.0. A collection of R packages designed for data science.
  • lubridate - Version 1.7.8. Functions for working with dates/times.
  • ggpattern - Version 0.2.0. Custom ggplot2 geoms which support filled areas with geometric and image-based patterns.
  • cowplot - Version 0.4.5. Miscellaneous functions to help customize 'ggplot2' plots.
  • gridExtra - Version 0.4.5. User-level functions to work with "grid" graphics, notably to arrange multiple grid-based plots on a page, and draw tables.
  • viridis - Version 0.5.1. A library that provides color maps for R.
  • HSClientR - Version an API wrapper for HydroShare. (


Related Resources

The content of this resource serves as the data for: Camilo J. Bastidas Pacheco , Jeffery S. Horsburgh, Nour A. Attallah, 2021. Variability in Consumption and End Uses of Water for Residential Users in Logan and Providence, Utah, USA
This resource cites: Bastidas Pacheco, C. J., N. Atallah, J. S. Horsburgh (2021). High Resolution Residential Water Use Data in Cache County, Utah, USA, HydroShare,
This resource cites: Bastidas Pacheco, C. J., J. S. Horsburgh (2021). Standarized Monthly Water Use Data for Logan and Providence Cities., HydroShare,


Funding Agencies

This resource was created using funding from the following sources:
Agency Name Award Title Award Number
National Science Foundation Cyberinfrastructure for Intelligent Water Supply (CIWS): Shrinking Big Data for Sustainable Urban Water 1552444

How to Cite

Bastidas Pacheco, C. J., J. S. Horsburgh (2021). Supporting data and tools for "Variability in Consumption and End Uses of Water for Residential Users in Logan and Providence, Utah, USA", HydroShare,

This resource is shared under the Creative Commons Attribution CC BY.


There are currently no comments

New Comment