Access EPA 'ATTAINS' Data
Overview
An R interface to United States Environmental Protection Agency (EPA) Assessment, Total Maximum Daily Load (TMDL) Tracking and Implementation System ('ATTAINS') data. 'ATTAINS' is the EPA database used to track information provided by states about water quality assessments conducted under federal Clean Water Act requirements. ATTAINS information and API information is available at https://www.epa.gov/waterdata/attains.
Major change
This relaease adds the required API key for use with ATTAINS that is
required as off May 2026. See documentation for adding the required key.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-05
- ERROR10 OK, 3 ERROR2026-05-28
- OK12 OK2026-04-27
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-03-18
- OK14 OK2026-03-10
Documentation
The repository also keeps web-only articles.
- Help pages
- 9 (1 internal)includes a package overview page
- Examples that run
- 0%8 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- Introduction HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 12
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Releases over time
Issues over time
PRs over time
13 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/mps9506/rattains on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-07-01 · The repository has a site deploy workflow
pkgdown site last built 2026-07-01
Show all practicesHide 3 practices
Dependencies
Installing rATTAINS adds 37 packages (24 with compiled code, 31 MB of source tarballs). Heaviest: stringi 11 MB, data.table 5.7 MB, Rcpp 1.8 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 1.2.0Latest
- RR 4.6.0 released · 2026-04-24
- 1.1.02025-12-10 · diff ↗
- 1.0.12025-05-19 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0.0
- RR 4.3.0 released · 2023-04-21
- 0.1.42023-01-10 · diff ↗ ·
removed 9 exports
actions_cache, assessments_cache, au_cache, dv_cache, huc12_cache, plans_cache, rATTAINS_options, state_cache, surveys_cache - RR 4.2.0 released · 2022-04-22
- 0.1.32021-11-03 · diff ↗
- 0.1.22021-09-13 · diff ↗
- 0.1.1
- 0.1.02021-08-20
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-08-20
- Total releases
- 9 / 5 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 210 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("rATTAINS")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.5281/zenodo.5469911.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.