Accesses Air Quality Data from the Open Data Platform OpenAQ

Allows access to air quality data from the API of the OpenAQ platform <>, with the different services the API offers (getting measurements for a given query, getting latest measurements, getting lists of available countries/cities/locations).


ropenaq 0.1.3

  • Now all functions outputs a single data.frame with meta and timestamp as attributes. It should be easier to deal with compared to the former format (a list of 3 data.frames).

ropenaq 0.1.2

  • adds longitude, latitude and coordinates arguments to aq_latest, aq_locations and aq_measurements.

  • adds attribution, source_name and averaging_period arguments to aq_measurements.

ropenaq 0.1.1

  • Fixes a bug in aq_measurements, now outputs the right local time and not the UTC time for locations behind UTC time.

ropenaq 0.1

  • Added a file to track changes to the package.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2.5 by Maëlle Salmon, 16 days ago

Report a bug at

Browse source code at

Authors: Maëlle Salmon [aut, cre], Andrew MacDonald [ctb] (Andrew MacDonald reviewed the package for rOpenSci, see, Andy Teucher [ctb] (Andy Teucher reviewed the package for rOpenSci, see, Mikayla Murphy [ctb]

Documentation:   PDF Manual  

GPL (>= 2) license

Imports crul, lubridate, dplyr, jsonlite, tidyr, lazyeval

Suggests knitr, rmarkdown, lintr, ggplot2, testthat, openair, devtools, rworldmap, ggmap, viridis

Suggested by rnoaa.

See at CRAN