Skip to content

ubair

1.1.1Package record

Effects of External Conditions on Air Quality

0packages depend
2.3Kdownloads / year
25.3%test coverage
13/13flavors OK

Overview

About

Analyzes the impact of external conditions on air quality using counterfactual approaches, featuring methods for data preparation, modeling, and visualization.

Changes in 1.1.1
  • Fixed a bug in load_uba_data_from_dir() where hours were not converted correctly to lubridate datetimes.
  • Changed alignment of rolling mean in plotting functions to "right".

ubair 1.1.0

**Initial CRAN Submission**\

**Public Release**

  • First public release of ubair on CRAN.
  • Previous internal versions (pre-CRAN) were used privately or shared within a specific group.
  • The package is intended for use with air quality station measurement data. These can be obtained for Germany via Air Quality Data API (UBA) or per request to [immission\@uba.de](mailto:immission@uba.de){.email}
  • Includes the following features:
  • **Counterfactual analysis**: Apply counterfactual analysis to assess external effects on air quality based on meteorological data, with support for four models: LightGBM, Random Forest, Feedforward Neural Network, and Dynamic Regression.
  • **Data detrending and retrending**: Enable users to remove and reintroduce trends in data as needed.
  • **Visualization and evaluation**: Provide tools for visualizing and evaluating the results of counterfactual analyses.
Show all changes in 1.1.1Hide the rest of the changes in 1.1.1
  • **Data preprocessing**: Preprocess data to prepare it for counterfactual analysis.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 7.6 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
  • ERROR13 OK, 1 ERROR2026-03-10
Advisories

none known

Documentation

In release 1.1.1
READMEYes · 408 wordsVignettesYes · 4 · dynamicNEWSYes · 100% structured · mentions 1.1.1Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
23
Examples that run
75%12 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
67%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.3K
CRAN downloads in the past year
Rank #19,466 · ~6/day · ~194/mo
Daily download trend is not available in this view yet.
24030 days
65790 days
2.3K1 year
Compare downloads with other packages →
Also on130 r2u9 autocran

Repository

PracticesBeta

Repository gitlab.opencode.de/uba-ki-lab/ubair is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)

Installing ubair adds 46 packages (31 with compiled code, 46 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 4.4.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 1.1.0 (2025)
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.1Latest
    record
    2025-11-10 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.0
    record
    2025-01-27
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2025-01-27
Total releases
2 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.4.0
Bundled data
3.3 MB / 2 files
Download size
4.0 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ubair")
Voss, I., & Franke, R. (2025). ubair: Effects of External Conditions on Air Quality (Version 1.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.ubair

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ubair version 1.1.1 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy