openair
Tools for the Analysis of Air Pollution Data
Air quality analysis rebuilt on ggplot2, twenty years of lattice plotting dropped in one release.
◆Recent moves
- 3mo ago
ggplot2 parameter conventions settled; timeAverage bins fixed
The cleanup pass on the ggplot2 rewrite: graphical parameters now follow ggplot2 naming, base and lattice equivalents are remapped automatically with a warning, and arguments like strip.position move into the dots. Underneath the migration work sit two real analytical fixes — a corrected TheilSen intercept formula and fixed-period bin boundaries in timeAverage() that make multi-day averaging consistent across datasets with different start times.
View source ↗ - 4mo ago
All plotting rewritten in ggplot2; lattice dropped
⚡ SPARKThe release that changes what openair is built on. Every plotting function moves to ggplot2, lattice and its satellites leave the dependency tree, and lattice-specific options and annotations stop working. Trajectory functions also drop three projection arguments for a single crs, and cutData() gains quarter-based splits alongside meteorological seasons.
View source ↗ - 11mo ago
European import deprecated; UK network source auto-detection
The last release before the rewrite, and mostly about data access holding up. importEurope() now warns and errors outright for 2025 onward because the database behind it was retired, with users pointed at the EEA service and a separate package built for it. importUKAQ() gains automatic source assignment and more precise ratification labelling, both of which reduce the guesswork in getting the right measurements out of overlapping UK networks.
View source ↗