openaq: Access Air Quality Data from the 'OpenAQ' API

Provides an interface to the 'OpenAQ' API <https://openaq.org/>, a platform for real-time and historical air quality data from around the world. Users can retrieve measurement data, metadata for sensors and locations for air quality research and monitoring.

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: httr2 (≥ 1.2.0), rstudioapi, methods, lubridate
Suggests: testthat (≥ 3.0.0), webmockr (≥ 0.8.0), vcr (≥ 2.1.0), withr (≥ 3.0.2), knitr, maps, rmarkdown, sf (≥ 0.9), spelling, jsonlite, mockery
Published: 2026-03-19
DOI: 10.32614/CRAN.package.openaq (may not be active yet)
Author: Russ Biggs ORCID iD [aut, cre], Christian Parker [aut], Francesca Mills [ctb], OpenAQ [cph, fnd]
Maintainer: Russ Biggs <russ at openaq.org>
BugReports: https://github.com/openaq/openaq-r/issues
License: MIT + file LICENSE
URL: https://github.com/openaq/openaq-r, https://openaq.github.io/openaq-r/
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: openaq results

Documentation:

Reference manual: openaq.html , openaq.pdf
Vignettes: Geospatial queries (source)
Integrating with ggplot2 (source)
Introduction to openaq (source)
Plotting (source)
Querying measurements (source)
Querying rolled up measurements (source)

Downloads:

Package source: openaq_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): openaq_1.0.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=openaq to link to this page.