Tools to Conduct Meteorological Normalisation and Counterfactual Modelling for Air Quality Data
Overview
An integrated set of tools to allow data users to conduct meteorological normalisation and counterfactual modelling for air quality data. The meteorological normalisation technique uses predictive random forest models to remove variation of pollutant concentrations so trends and interventions can be explored in a robust way. For examples, see Grange et al. (2018) doi:10.5194/acp-18-6223-2018 and Grange and Carslaw (2019) doi:10.1016/j.scitotenv.2018.10.344. The random forest models can also be used for counterfactual or business as usual (BAU) modelling by using the models to predict, from the model's perspective, the future. For an example, see Grange et al. (2021) doi:10.5194/acp-2020-1171.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-08
- WARNING12 OK, 1 WARNING2026-06-07
- OK14 OK2026-03-10
Documentation
- Help pages
- 30
- Examples that run
- 73%11 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 52%
- Documented parameters
- 100%
- Return-value docs
- 95%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 6
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Issues over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/skgrange/rmweather on 2026-10-22.
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.2.63Latest
- RR 4.5.0 released · 2025-04-11
- 0.2.622025-02-21 · diff ↗
- 0.2.6
- RR 4.4.0 released · 2024-04-24
- 0.2.52023-11-21 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.2.42022-11-08 · diff ↗ ·
added 6 exports
rmw_calculate_model_errors, rmw_model_nested_sets, rmw_nest_for_modelling, rmw_predict_nested_partial_dependencies, rmw_predict_nested_sets, rmw_predict_nested_sets_by_year - RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.1.512020-06-15 · diff ↗
- 0.1.52020-06-08 · diff ↗
- 0.1.42020-05-26 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2018-05-08
- Total releases
- 11 / 8 yrs
- License
- GPL-3 | file LICENSE OSI
- Minimum R
- ≥ 3.2.0
- Bundled data
- 223 KB / 3 files
- Download size
- 400 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("rmweather")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.5194/acp-18-6223-2018, 10.1016/j.scitotenv.2018.10.344, 10.5194/acp-21-4169-2021, 10.5194/acp-2020-1171.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.