ukaq is an R package for accessing air quality monitoring data from the United Kingdom. It is designed to be lightweight and low-dependency, making it useful for a wide range of users, including those working in resource-constrained environments or seeking seamless integration into existing workflows without the overhead of installing numerous additional packages.
π‘ Core Features
ukaq has a small number of core functions.
Flexible access to metadata from several hundred UK air pollution monitoring sites through
import_ukaq_meta()
.Straightforward importing of hourly data with controls for start and end dates, pollutants of interest, and flexibly appending site metadata.
Access to a myriad of pre-calculated statistics including daily, monthly, and annual averages, as well as statistics aligned with the UK Daily Air Quality Index.
π Documentation
All ukaq functions are fully documented; access documentation using R in your IDE of choice.
?ukaq::import_ukaq_meta
Documentation is also hosted online on the package website.
A guide to the openair toolkit can be found in the online book, which contains lots of code snippets, demonstrations of functionality, and ideas for the application of openairβs various functions.
ποΈ Installation
You can install the development version of ukaq from GitHub using pak:
# install.packages("pak")
pak::pak("openair-project/ukaq")
ποΈ ukaq is primarily maintained by Jack Davison.
π ukaq is licensed under the MIT License.
π§βπ» Contributions are welcome from the wider community. See the contributing guide and code of conduct for more information.