Skip to content

Commit

Permalink
JOSS paper revisions
Browse files Browse the repository at this point in the history
  • Loading branch information
mps9506 committed Jun 26, 2018
1 parent cf63b5f commit 1af69aa
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
23 changes: 23 additions & 0 deletions paper/paper.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
@misc{us_environmental_protection_agency_enforcement_2018,
title = {Enforcement and {Compliance} {History} {Online}},
url = {https://echo.epa.gov/},
author = {{US Environmental Protection Agency}},
year = {2018}
}

@article{sandve_ten_2013,
title = {Ten {Simple} {Rules} for {Reproducible} {Computational} {Research}},
volume = {9},
issn = {1553-7358},
url = {http://dx.plos.org/10.1371/journal.pcbi.1003285},
doi = {10.1371/journal.pcbi.1003285},
language = {en},
number = {10},
urldate = {2018-06-26},
journal = {PLoS Computational Biology},
author = {Sandve, Geir Kjetil and Nekrutenko, Anton and Taylor, James and Hovig, Eivind},
editor = {Bourne, Philip E.},
month = oct,
year = {2013},
pages = {e1003285}
}
6 changes: 5 additions & 1 deletion paper/paper.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: `echor: An R package to obtain pollutant discharge data`
title: `echor: An R package to obtain environmental compliance and enforcement data`
tags:
- R
- API
Expand All @@ -18,6 +18,10 @@ bibliography: paper.bib

# Summary

The United States Environmental Protection Agency (EPA) regulates the discharge and emission of pollutants into waterbodies and air. The owners and operators of facilities apply for permits through the EPA or deligated state authorities, who determine the appropriate disharge limits, and monitoring and reporting requirements. Information about these permitted and mandated discharge reports are publically available through EPA's Environmental Compliance and History Online (ECHO) website [@us_environmental_protection_agency_enforcement_2018].

ECHO provides a web interface to explore facility data and environmental compliance for permitted drinking water plants, facilities permitted to discharge into water bodies, and facilities with air emissions permits. ECHO also provides a web interface to generate discharge and emissions reports based on self reported data from permitted facilities. The point and click nature of the ECHO website is tedious, error-prone, and may not be fully reproducible when generating even moderate sized datasets. Implementing a script to query and automate data retieval is the first step to implementing reproducible research [@sandve_ten_2013].

The echor package utilizes ECHO's REST services to query the ECHO database, download the generated data, and transform the data into a tidy dataframe or simple feature dataframe with a single function. Additional functions are provided to obtain metadata and lookup pollutant parameter codes used by EPA. The package streamlines workflows and introduces reproducible data retrieval steps for two use cases. First, agencies and contractors that routinely use wastewater discharge volume and pollutant concentrations to develop total maximum daily loads for impaired waterbodies. Second, academic researchers that use permit and pollutant data for water quality assessments, water quality models, public health assessments, trend analysis, environmental justice research, and more. The software and usage examples are currently available on GitHub (https://github.com/mps9506/echor) and CRAN (https://cran.r-project.org/package=echor).

# References

0 comments on commit 1af69aa

Please sign in to comment.