RAQSAPI

Retrieve data from the United States Environmental Protection Agency's Air Quality Systems.
https://github.com/USEPA/RAQSAPI

Category: Natural Resources
Sub Category: Air Quality

Keywords

airmonitoring aqs datamart environmental-data-retrieval environmental-monitoring r03 rpackage rprogramming usepa

Last synced: about 3 hours ago
JSON representation

Repository metadata

A R extension to retrieve EPA Air Quality System Data via the AQS Data Mart API

README.Rmd

          ---
title: "Introduction to the RAQSAPI package"
author: Clinton Mccrowey, physical scientist - US EPA  
abstract: RAQSAPI is a package for R that connects the R programming language
  environment to the United States Environmental Protection Agency's Air Quality
  System (AQS) Data Mart database for retrieval of ambient air pollution data.
output:
  rmarkdown::github_document:
    toc: true
  rmarkdown::html_document: null
lang: en-US
bibliography: ./vignettes/AQSAPI.bib
csl: ./vignettes/acs-nano.csl
---
```{r SETUP, echo = FALSE, message = FALSE, warning = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  tidy.ops = list(width.cutoff = 80),
  tidy = TRUE
)
```
RAQSAPI hexsticker


[![Project Status: Active – The project has reached a stable, usable state\
and is being actively developed.](
https://www.repostatus.org/badges/latest/active.svg)](
https://www.repostatus.org/#active)
[![R-CMD-check](
https://github.com/USEPA/RAQSAPI/workflows/R-CMD-check/badge.svg)](
https://github.com/USEPA/RAQSAPI/actions)
[![CRAN status](https://www.r-pkg.org/badges/version/RAQSAPI)](
https://CRAN.R-project.org/package=RAQSAPI)
[![metacran downloads](https://cranlogs.r-pkg.org/badges/RAQSAPI)](
https://cran.r-project.org/package=RAQSAPI)
[![lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](
https://lifecycle.r-lib.org/articles/stages.html)
[![license](https://img.shields.io/badge/license-MIT-green)](
https://choosealicense.com/licenses/mit/)
[![Last-changedate](https://img.shields.io/badge/last%20change-
`r gsub('-', '--', Sys.Date())`-yellowgreen.svg)](/commits/master)
[![pkgcheck](https://github.com/USEpa/RAQSAPI/workflows/pkgcheck/badge.svg)](https://github.com/USEpa/\
/RAQSAPI/.github/workflows/pkgcheck.yaml)


```{r child = "./vignettes/EPA_Disclaimer.Rmd", echo = FALSE, comment = NA}
```

```{r child = "./vignettes/Intro.Rmd"}
```

```{r child = "./vignettes/TimelinessofAQSData.Rmd"}
```

```{r child = "./vignettes/InstallandSetup.Rmd", echo = FALSE, comment = NA}
```

```{r child = "./vignettes/UsingRAQSAPI.Rmd"}
```

```{r child = "./vignettes/RAQSAPIFunctions-Brief.Rmd"}
```

```{r child = "./vignettes/pyaqsapi.Rmd"}
```

```{r child = "./vignettes/Acknowledgements.Rmd"}
```

# References

        

Citation (CITATION.cff)

# --------------------------------------------
# CITATION file created with {cffr} R package
# See also: https://docs.ropensci.org/cffr/
# --------------------------------------------
 
cff-version: 1.2.0
message: 'To cite package "RAQSAPI" in publications use:'
type: software
license: MIT
title: 'RAQSAPI: A Simple Interface to the US EPA Air Quality System Data Mart API'
version: 2.0.6
doi: 10.32614/CRAN.package.RAQSAPI
identifiers:
- type: url
  value: https://aqs.epa.gov/aqsweb/documents/data_api.html
abstract: Retrieve air monitoring data and associated metadata from the US Environmental
  Protection Agency's Air Quality System service using functions. See <https://aqs.epa.gov/aqsweb/documents/data_api.html>
  for details about the US EPA Data Mart API <https://doi.org/ 10.32614/CRAN.package.RAQSAPI>.
authors:
- family-names: Mccrowey
  given-names: Clinton
  email: mccrowey.clinton@epa.gov
repository: https://CRAN.R-project.org/package=RAQSAPI
repository-code: https://github.com/USEPA/RAQSAPI
url: https://github.com/USEPA/RAQSAPI/
contact:
- family-names: Mccrowey
  given-names: Clinton
  email: mccrowey.clinton@epa.gov
keywords:
- United State Environmental Protection Agency
- Environmental-data-retrieval
- Air-Quality-System
- AQS-DataMart
- Air-monitoring
- Environmental-monitoring
- airmonitoring
- aqs
- datamart
- environmental-data-retrieval
- environmental-monitoring
- r03
- rpackage
- rprogramming
- usepa
references:
- type: software
  title: 'R: A Language and Environment for Statistical Computing'
  notes: Depends
  url: https://www.R-project.org/
  authors:
  - name: R Core Team
  institution:
    name: R Foundation for Statistical Computing
    address: Vienna, Austria
  year: '2026'
  version: '>= 4.0.0'
- type: software
  title: dplyr
  abstract: 'dplyr: A Grammar of Data Manipulation'
  notes: Imports
  url: https://dplyr.tidyverse.org
  repository: https://CRAN.R-project.org/package=dplyr
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
    orcid: https://orcid.org/0000-0003-4757-117X
  - family-names: François
    given-names: Romain
    orcid: https://orcid.org/0000-0002-2444-4226
  - family-names: Henry
    given-names: Lionel
  - family-names: Müller
    given-names: Kirill
    orcid: https://orcid.org/0000-0002-1416-3412
  - family-names: Vaughan
    given-names: Davis
    email: davis@posit.co
    orcid: https://orcid.org/0000-0003-4777-038X
  year: '2026'
  doi: 10.32614/CRAN.package.dplyr
- type: software
  title: glue
  abstract: 'glue: Interpreted String Literals'
  notes: Imports
  url: https://glue.tidyverse.org/
  repository: https://CRAN.R-project.org/package=glue
  authors:
  - family-names: Hester
    given-names: Jim
    orcid: https://orcid.org/0000-0002-2739-7082
  - family-names: Bryan
    given-names: Jennifer
    email: jenny@posit.co
    orcid: https://orcid.org/0000-0002-6983-2759
  year: '2026'
  doi: 10.32614/CRAN.package.glue
- type: software
  title: gtools
  abstract: 'gtools: Various R Programming Tools'
  notes: Imports
  url: https://github.com/r-gregmisc/gtools
  repository: https://CRAN.R-project.org/package=gtools
  authors:
  - family-names: Warnes
    given-names: Gregory R.
  - family-names: Bolker
    given-names: Ben
    email: bolker@mcmaster.ca
    orcid: https://orcid.org/0000-0002-2127-0443
  - family-names: Lumley
    given-names: Thomas
  - family-names: Magnusson
    given-names: Arni
  - family-names: Venables
    given-names: Bill
  - family-names: Ryodan
    given-names: Genei
  - family-names: Moeller
    given-names: Steffen
  year: '2026'
  doi: 10.32614/CRAN.package.gtools
- type: software
  title: httr2
  abstract: 'httr2: Perform HTTP Requests and Process the Responses'
  notes: Imports
  url: https://httr2.r-lib.org
  repository: https://CRAN.R-project.org/package=httr2
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  year: '2026'
  doi: 10.32614/CRAN.package.httr2
- type: software
  title: lifecycle
  abstract: 'lifecycle: Manage the Life Cycle of your Package Functions'
  notes: Imports
  url: https://lifecycle.r-lib.org/
  repository: https://CRAN.R-project.org/package=lifecycle
  authors:
  - family-names: Henry
    given-names: Lionel
    email: lionel@posit.co
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
    orcid: https://orcid.org/0000-0003-4757-117X
  year: '2026'
  doi: 10.32614/CRAN.package.lifecycle
- type: software
  title: lubridate
  abstract: 'lubridate: Make Dealing with Dates a Little Easier'
  notes: Imports
  url: https://lubridate.tidyverse.org
  repository: https://CRAN.R-project.org/package=lubridate
  authors:
  - family-names: Spinu
    given-names: Vitalie
    email: spinuvit@gmail.com
  - family-names: Grolemund
    given-names: Garrett
  - family-names: Wickham
    given-names: Hadley
  year: '2026'
  doi: 10.32614/CRAN.package.lubridate
- type: software
  title: methods
  abstract: 'R: A Language and Environment for Statistical Computing'
  notes: Imports
  authors:
  - name: R Core Team
  institution:
    name: R Foundation for Statistical Computing
    address: Vienna, Austria
  year: '2026'
- type: software
  title: magrittr
  abstract: 'magrittr: A Forward-Pipe Operator for R'
  notes: Imports
  url: https://magrittr.tidyverse.org
  repository: https://CRAN.R-project.org/package=magrittr
  authors:
  - family-names: Bache
    given-names: Stefan Milton
    email: stefan@stefanbache.dk
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  year: '2026'
  doi: 10.32614/CRAN.package.magrittr
- type: software
  title: purrr
  abstract: 'purrr: Functional Programming Tools'
  notes: Imports
  url: https://purrr.tidyverse.org/
  repository: https://CRAN.R-project.org/package=purrr
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
    orcid: https://orcid.org/0000-0003-4757-117X
  - family-names: Henry
    given-names: Lionel
    email: lionel@posit.co
  year: '2026'
  doi: 10.32614/CRAN.package.purrr
- type: software
  title: rlang
  abstract: 'rlang: Functions for Base Types and Core R and ''Tidyverse'' Features'
  notes: Imports
  url: https://rlang.r-lib.org
  repository: https://CRAN.R-project.org/package=rlang
  authors:
  - family-names: Henry
    given-names: Lionel
    email: lionel@posit.co
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  year: '2026'
  doi: 10.32614/CRAN.package.rlang
- type: software
  title: stringr
  abstract: 'stringr: Simple, Consistent Wrappers for Common String Operations'
  notes: Imports
  url: https://stringr.tidyverse.org
  repository: https://CRAN.R-project.org/package=stringr
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  year: '2026'
  doi: 10.32614/CRAN.package.stringr
- type: software
  title: tibble
  abstract: 'tibble: Simple Data Frames'
  notes: Imports
  url: https://tibble.tidyverse.org/
  repository: https://CRAN.R-project.org/package=tibble
  authors:
  - family-names: Müller
    given-names: Kirill
    email: kirill@cynkra.com
    orcid: https://orcid.org/0000-0002-1416-3412
  - family-names: Wickham
    given-names: Hadley
    email: hadley@rstudio.com
  year: '2026'
  doi: 10.32614/CRAN.package.tibble
- type: software
  title: tidyselect
  abstract: 'tidyselect: Select from a Set of Strings'
  notes: Imports
  url: https://tidyselect.r-lib.org
  repository: https://CRAN.R-project.org/package=tidyselect
  authors:
  - family-names: Henry
    given-names: Lionel
    email: lionel@posit.co
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  year: '2026'
  doi: 10.32614/CRAN.package.tidyselect
- type: software
  title: cli
  abstract: 'cli: Helpers for Developing Command Line Interfaces'
  notes: Suggests
  url: https://cli.r-lib.org
  repository: https://CRAN.R-project.org/package=cli
  authors:
  - family-names: Csárdi
    given-names: Gábor
    email: gabor@posit.co
  year: '2026'
  doi: 10.32614/CRAN.package.cli
- type: software
  title: covr
  abstract: 'covr: Test Coverage for Packages'
  notes: Suggests
  url: https://covr.r-lib.org
  repository: https://CRAN.R-project.org/package=covr
  authors:
  - family-names: Hester
    given-names: Jim
    email: james.f.hester@gmail.com
  year: '2026'
  doi: 10.32614/CRAN.package.covr
- type: software
  title: devtools
  abstract: 'devtools: Tools to Make Developing R Packages Easier'
  notes: Suggests
  url: https://devtools.r-lib.org/
  repository: https://CRAN.R-project.org/package=devtools
  authors:
  - family-names: Wickham
    given-names: Hadley
  - family-names: Hester
    given-names: Jim
  - family-names: Chang
    given-names: Winston
  - family-names: Bryan
    given-names: Jennifer
    email: jenny@posit.co
    orcid: https://orcid.org/0000-0002-6983-2759
  year: '2026'
  doi: 10.32614/CRAN.package.devtools
- type: software
  title: goodpractice
  abstract: 'goodpractice: Advice on R Package Building'
  notes: Suggests
  url: https://docs.ropensci.org/goodpractice/
  repository: https://CRAN.R-project.org/package=goodpractice
  authors:
  - family-names: Padgham
    given-names: Mark
    email: mark@ropensci.org
    orcid: https://orcid.org/0000-0003-2172-5265
  - family-names: Marks
    given-names: Karina
    email: karina.marks@ascent.io
  - family-names: Bortoli
    given-names: Daniel
    name-particle: de
  - family-names: Csardi
    given-names: Gabor
    email: csardi.gabor@gmail.com
  - family-names: Frick
    given-names: Hannah
    email: hannah.frick@gmail.com
  - family-names: Jones
    given-names: Owen
    email: owenjonesuob@gmail.com
  - family-names: Alexander
    given-names: Hannah
    email: halexander@mango-solutions.com
  year: '2026'
  doi: 10.32614/CRAN.package.goodpractice
- type: software
  title: httptest2
  abstract: 'httptest2: Test Helpers for ''httr2'''
  notes: Suggests
  url: https://enpiar.com/httptest2/
  repository: https://CRAN.R-project.org/package=httptest2
  authors:
  - family-names: Richardson
    given-names: Neal
    email: neal.p.richardson@gmail.com
    orcid: https://orcid.org/0009-0002-7992-3520
  year: '2026'
  doi: 10.32614/CRAN.package.httptest2
- type: software
  title: keyring
  abstract: 'keyring: Access the System Credential Store from R'
  notes: Suggests
  url: https://keyring.r-lib.org/
  repository: https://CRAN.R-project.org/package=keyring
  authors:
  - family-names: Csárdi
    given-names: Gábor
    email: csardi.gabor@gmail.com
  year: '2026'
  doi: 10.32614/CRAN.package.keyring
- type: software
  title: knitr
  abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R'
  notes: Suggests
  url: https://yihui.org/knitr/
  repository: https://CRAN.R-project.org/package=knitr
  authors:
  - family-names: Xie
    given-names: Yihui
    email: xie@yihui.name
    orcid: https://orcid.org/0000-0003-0645-5666
  year: '2026'
  doi: 10.32614/CRAN.package.knitr
- type: software
  title: rmarkdown
  abstract: 'rmarkdown: Dynamic Documents for R'
  notes: Suggests
  url: https://pkgs.rstudio.com/rmarkdown/
  repository: https://CRAN.R-project.org/package=rmarkdown
  authors:
  - family-names: Allaire
    given-names: JJ
    email: jj@posit.co
  - family-names: Xie
    given-names: Yihui
    email: xie@yihui.name
    orcid: https://orcid.org/0000-0003-0645-5666
  - family-names: Dervieux
    given-names: Christophe
    email: cderv@posit.co
    orcid: https://orcid.org/0000-0003-4474-2498
  - family-names: McPherson
    given-names: Jonathan
    email: jonathan@posit.co
  - family-names: Luraschi
    given-names: Javier
  - family-names: Ushey
    given-names: Kevin
    email: kevin@posit.co
  - family-names: Atkins
    given-names: Aron
    email: aron@posit.co
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  - family-names: Cheng
    given-names: Joe
    email: joe@posit.co
  - family-names: Chang
    given-names: Winston
    email: winston@posit.co
  - family-names: Iannone
    given-names: Richard
    email: rich@posit.co
    orcid: https://orcid.org/0000-0003-3925-190X
  year: '2026'
  doi: 10.32614/CRAN.package.rmarkdown
- type: software
  title: remotes
  abstract: 'remotes: R Package Installation from Remote Repositories, Including ''GitHub'''
  notes: Suggests
  url: https://remotes.r-lib.org
  repository: https://CRAN.R-project.org/package=remotes
  authors:
  - family-names: Csárdi
    given-names: Gábor
    email: csardi.gabor@gmail.com
  - family-names: Hester
    given-names: Jim
  - family-names: Wickham
    given-names: Hadley
  - family-names: Chang
    given-names: Winston
  - family-names: Morgan
    given-names: Martin
  - family-names: Tenenbaum
    given-names: Dan
  year: '2026'
  doi: 10.32614/CRAN.package.remotes
- type: software
  title: roxygen2
  abstract: 'roxygen2: In-Line Documentation for R'
  notes: Suggests
  url: https://roxygen2.r-lib.org/
  repository: https://CRAN.R-project.org/package=roxygen2
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
    orcid: https://orcid.org/0000-0003-4757-117X
  - family-names: Danenberg
    given-names: Peter
    email: pcd@roxygen.org
  - family-names: Csárdi
    given-names: Gábor
    email: csardi.gabor@gmail.com
  - family-names: Eugster
    given-names: Manuel
  year: '2026'
  doi: 10.32614/CRAN.package.roxygen2
- type: software
  title: spelling
  abstract: 'spelling: Tools for Spell Checking in R'
  notes: Suggests
  url: https://ropensci.r-universe.dev/spelling
  repository: https://CRAN.R-project.org/package=spelling
  authors:
  - family-names: Ooms
    given-names: Jeroen
    email: jeroenooms@gmail.com
    orcid: https://orcid.org/0000-0002-4035-0289
  - family-names: Hester
    given-names: Jim
    email: james.hester@rstudio.com
  year: '2026'
  doi: 10.32614/CRAN.package.spelling
- type: software
  title: testthat
  abstract: 'testthat: Unit Testing for R'
  notes: Suggests
  url: https://testthat.r-lib.org
  repository: https://CRAN.R-project.org/package=testthat
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  year: '2026'
  doi: 10.32614/CRAN.package.testthat
  version: '>= 3.0.0'
- type: software
  title: usethis
  abstract: 'usethis: Automate Package and Project Setup'
  notes: Suggests
  url: https://usethis.r-lib.org
  repository: https://CRAN.R-project.org/package=usethis
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
    orcid: https://orcid.org/0000-0003-4757-117X
  - family-names: Bryan
    given-names: Jennifer
    email: jenny@posit.co
    orcid: https://orcid.org/0000-0002-6983-2759
  - family-names: Barrett
    given-names: Malcolm
    email: malcolmbarrett@gmail.com
    orcid: https://orcid.org/0000-0003-0299-5825
  - family-names: Teucher
    given-names: Andy
    email: andy.teucher@posit.co
    orcid: https://orcid.org/0000-0002-7840-692X
  year: '2026'
  doi: 10.32614/CRAN.package.usethis


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 3 days ago

Total Commits: 199
Total Committers: 2
Avg Commits per committer: 99.5
Development Distribution Score (DDS): 0.005

Commits in past year: 49
Committers in past year: 1
Avg Commits per committer in past year: 49.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Clinton Mccrowey m****n@e****v 198
Andy Chase c****w@e****v 1

Committer domains:


Issue and Pull Request metadata

Last synced: 20 days ago

Total issues: 23
Total pull requests: 3
Average time to close issues: 19 days
Average time to close pull requests: 18 days
Total issue authors: 9
Total pull request authors: 2
Average comments per issue: 2.57
Average comments per pull request: 1.33
Merged pull request: 0
Bot issues: 3
Bot pull requests: 0

Past year issues: 6
Past year pull requests: 0
Past year average time to close issues: about 22 hours
Past year average time to close pull requests: N/A
Past year issue authors: 3
Past year pull request authors: 0
Past year average comments per issue: 5.5
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 3
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/USEPA/RAQSAPI

Top Issue Authors

  • mccroweyclinton-EPA (12)
  • github-actions[bot] (3)
  • walinchus (2)
  • Kodiologist (1)
  • DEQbayres (1)
  • DillonBergin (1)
  • zhenchun (1)
  • mhofert (1)
  • lionel- (1)

Top Pull Request Authors

  • bbodenmiller (2)
  • cgriff02 (1)

Top Issue Labels

  • bug (2)
  • documentation (1)

Top Pull Request Labels


Package metadata

cran.r-project.org: RAQSAPI

A Simple Interface to the US EPA Air Quality System Data Mart API

  • Homepage: https://github.com/USEPA/RAQSAPI/
  • Documentation: http://cran.r-project.org/web/packages/RAQSAPI/RAQSAPI.pdf
  • Licenses: MIT + file LICENSE
  • Latest release: 2.0.5 (published almost 2 years ago)
  • Last Synced: 2026-04-24T03:01:58.295Z (3 days ago)
  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 905 Last month
  • Rankings:
    • Forks count: 11.273%
    • Stargazers count: 15.6%
    • Average: 24.635%
    • Dependent packages count: 29.797%
    • Downloads: 31.052%
    • Dependent repos count: 35.455%
  • Maintainers (1)

Dependencies

DESCRIPTION cran
  • R >= 4.0.0 depends
  • dplyr * imports
  • glue * imports
  • httr * imports
  • jsonlite * imports
  • lifecycle * imports
  • lubridate * imports
  • magrittr * imports
  • purrr * imports
  • rlang * imports
  • stringr * imports
  • tibble * imports
  • covr * suggests
  • desc * suggests
  • devtools * suggests
  • goodpractice * suggests
  • keyring * suggests
  • knitr * suggests
  • markdown * suggests
  • rmarkdown * suggests
  • roxygen2 * suggests
  • spelling * suggests
  • testthat >= 3.0.0 suggests
  • usethis * suggests
.github/workflows/pkgcheck.yaml actions
  • ropensci-review-tools/pkgcheck-action main composite
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v3 composite
  • actions/upload-artifact v3 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite

Score: 10.903383868265081