Skip to contents

ukaq

a dependency-free way to access uk air quality data

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.

Part of the openair toolkit

openair | worldmet | openairmaps | deweather


πŸ’‘ 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.

Documentation is also hosted online on the package website.

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.

book


πŸ—ƒοΈ 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.