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


Authors:
Owners:
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 
 this.
Comments: No comments (yet)

Abstract

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 (https://ascelibrary.org/journal/jwrmd5). 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: http://www.hydroshare.org/resource/0b72cddfc51c45b188e0e6cd8927227e. Standardized monthly values for single family residents in both cities were used int he article and are publicly available on: http://www.hydroshare.org/resource/16c2d60eb6c34d6b95e5d4dbbb4653ef. 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

Spatial

Coordinate System/Geographic Projection:
WGS 84 EPSG:4326
Coordinate Units:
Decimal degrees
North Latitude
41.7471°
East Longitude
-111.7883°
South Latitude
41.6953°
West Longitude
-111.8521°

Temporal

Start Date:
End Date:

Content

readme.md

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 (https://climate.usu.edu/). 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 (https://cran.r-project.org/) using R or R-Studio (https://rstudio.com/) 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 0.3.1.9000. an API wrapper for HydroShare. (https://hsclientr.justinsingh.me/)

References

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, http://www.hydroshare.org/resource/0b72cddfc51c45b188e0e6cd8927227e
This resource cites: Bastidas Pacheco, C. J., J. S. Horsburgh (2021). Standarized Monthly Water Use Data for Logan and Providence Cities., HydroShare, http://www.hydroshare.org/resource/16c2d60eb6c34d6b95e5d4dbbb4653ef

Credits

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, http://www.hydroshare.org/resource/379d9e7037f04478a99d5aec22e841e6

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

 http://creativecommons.org/licenses/by/4.0/
CC-BY

Comments

There are currently no comments

New Comment

required