{
  "_id": "6af835d2b90b31e79afd947a",
  "Package": "ubair",
  "Title": "Effects of External Conditions on Air Quality",
  "Version": "1.1.1",
  "Authors@R": "c(\nperson(\"Raphael\", \"Franke\", , \"raphael.franke@uba.de\", role = c(\"aut\")),\nperson(\"Imke\", \"Voss\", , \"imke.voss@uba.de\", role = c(\"aut\", \"cre\")))",
  "Description": "Analyzes the impact of external conditions on air quality\nusing counterfactual approaches, featuring methods for data\npreparation, modeling, and visualization.",
  "License": "GPL (>= 3)",
  "URL": "https://gitlab.opencode.de/uba-ki-lab/ubair",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "VignetteBuilder": "knitr",
  "Note": "Note: The included dataset is licensed under \"DL-DE-BY-2.0.\" See\nthe dataset documentation for details.",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-14 10:14:13 UTC",
    "User": "root"
  },
  "Author": "Raphael Franke [aut], Imke Voss [aut, cre]",
  "Maintainer": "Imke Voss <imke.voss@uba.de>",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://imke-kilab.r-universe.dev",
  "Date/Publication": "2025-11-10 16:46:03 UTC",
  "RemoteUrl": "https://github.com/cran/ubair",
  "RemoteRef": "HEAD",
  "RemoteSha": "74919330ae4e09d323974ad788256849b7bd0440",
  "_user": "imke-kilab",
  "_type": "src",
  "_file": "ubair_1.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/b99ab9c237d484e8fcdb6e4fdce010b23d793da827383eaa9f3035f283194276",
  "_filesize": 4410069,
  "_sha256": "b99ab9c237d484e8fcdb6e4fdce010b23d793da827383eaa9f3035f283194276",
  "_expires": "2027-02-22T10:20:00.000Z",
  "_created": "2026-11-14T10:14:13.000Z",
  "_published": "2026-11-20T01:55:44.808Z",
  "_upstream": "https://github.com/cran/ubair",
  "_status": "success",
  "_maintainer": {
    "name": "Imke Voss",
    "email": "imke.voss@uba.de",
    "login": "imke-kilab",
    "description": "",
    "uuid": 276985147
  },
  "_jobs": [
    {
      "job": 132415624251,
      "time": 250,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14109284559"
    },
    {
      "job": 132415624316,
      "time": 196,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14108934880"
    },
    {
      "job": 132415624347,
      "time": 237,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14110070435"
    },
    {
      "job": 132415624279,
      "time": 208,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14109658298"
    },
    {
      "job": 132414230781,
      "time": 346,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14109139539"
    },
    {
      "job": 132415624323,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14109667585"
    },
    {
      "job": 132415624354,
      "time": 248,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14109731550"
    },
    {
      "job": 132415624328,
      "time": 224,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14109354409"
    },
    {
      "job": 132415624322,
      "time": 277,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14109663278"
    }
  ],
  "_buildurl": "https://github.com/r-universe/imke-kilab/actions/runs/43583880624",
  "_commit": {
    "id": "74919330ae4e09d323974ad788256849b7bd0440",
    "author": "Imke Voss <imke.voss@uba.de>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1.1\n",
    "time": 1762793163
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4.0",
      "role": "Depends"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "forecast",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "yaml",
      "role": "Imports"
    },
    {
      "package": "ranger",
      "role": "Imports"
    },
    {
      "package": "lightgbm",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "deepnet",
      "role": "Suggests"
    },
    {
      "package": "fastshap",
      "role": "Suggests"
    },
    {
      "package": "treeshap",
      "role": "Suggests"
    },
    {
      "package": "shapviz",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-46",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "imke-kilab",
      "count": 2,
      "uuid": 276985147
    }
  ],
  "_userbio": {
    "uuid": 276985147,
    "type": "user",
    "name": "imke-kilab",
    "followers": 0
  },
  "_downloads": {
    "count": 240,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ubair"
  },
  "_searchresults": 11,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/ubair.html"
  ],
  "_realowner": "imke-kilab",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.1.0",
      "date": "2025-01-27"
    },
    {
      "version": "1.1.1",
      "date": "2025-11-10"
    }
  ],
  "_exports": [
    "calc_performance_metrics",
    "calc_summary_statistics",
    "clean_data",
    "copy_default_params",
    "detrend",
    "estimate_effect_size",
    "get_meteo_available",
    "load_params",
    "load_uba_data_from_dir",
    "plot_counterfactual",
    "plot_station_measurements",
    "prepare_data_for_modelling",
    "rescale_predictions",
    "retrend_predictions",
    "run_counterfactual",
    "run_dynamic_regression",
    "run_fnn",
    "run_lightgbm",
    "run_rf",
    "scale_data",
    "split_data_counterfactual"
  ],
  "_datasets": [
    {
      "name": "mock_env_data",
      "title": "Mock Environmental Data",
      "object": "mock_env_data",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "date",
        "value",
        "GLO",
        "TMP",
        "RFE",
        "WIG",
        "WIR",
        "LDR",
        "day_julian",
        "weekday",
        "hour",
        "date_unix"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "sample_data_DESN025",
      "title": "Environmental Data for Modelling from station DESN025 in Leipzig-Mitte.",
      "object": "sample_data_DESN025",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "part",
        "Station",
        "Komponente",
        "Datum",
        "Uhrzeit",
        "Wert",
        "date",
        "Komponente_txt",
        "year"
      ],
      "rows": 1507680,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "calc_performance_metrics",
      "title": "Calculates performance metrics of a business-as-usual model",
      "topics": [
        "calc_performance_metrics"
      ]
    },
    {
      "page": "calc_summary_statistics",
      "title": "Calculates summary statistics for predictions and true values",
      "topics": [
        "calc_summary_statistics"
      ]
    },
    {
      "page": "clean_data",
      "title": "Clean and Optionally Aggregate Environmental Data",
      "topics": [
        "clean_data"
      ]
    },
    {
      "page": "copy_default_params",
      "title": "Copy Default Parameters File",
      "topics": [
        "copy_default_params"
      ]
    },
    {
      "page": "detrend",
      "title": "Removes trend from data",
      "topics": [
        "detrend"
      ]
    },
    {
      "page": "estimate_effect_size",
      "title": "Estimates size of the external effect",
      "topics": [
        "estimate_effect_size"
      ]
    },
    {
      "page": "get_meteo_available",
      "title": "Get Available Meteorological Components",
      "topics": [
        "get_meteo_available"
      ]
    },
    {
      "page": "load_params",
      "title": "Load Parameters from YAML File",
      "topics": [
        "load_params"
      ]
    },
    {
      "page": "load_uba_data_from_dir",
      "title": "Load UBA Data from Directory",
      "topics": [
        "load_uba_data_from_dir"
      ]
    },
    {
      "page": "mock_env_data",
      "title": "Mock Environmental Data",
      "topics": [
        "mock_env_data"
      ]
    },
    {
      "page": "plot_counterfactual",
      "title": "Prepare Plot Data and Plot Counterfactuals",
      "topics": [
        "plot_counterfactual"
      ]
    },
    {
      "page": "plot_station_measurements",
      "title": "Descriptive plot of daily time series data",
      "topics": [
        "plot_station_measurements"
      ]
    },
    {
      "page": "prepare_data_for_modelling",
      "title": "Prepare Data for Training a model",
      "topics": [
        "prepare_data_for_modelling"
      ]
    },
    {
      "page": "rescale_predictions",
      "title": "Rescale predictions to original scale.",
      "topics": [
        "rescale_predictions"
      ]
    },
    {
      "page": "retrend_predictions",
      "title": "Restors the trend in the prediction",
      "topics": [
        "retrend_predictions"
      ]
    },
    {
      "page": "run_counterfactual",
      "title": "Full counterfactual simulation run",
      "topics": [
        "run_counterfactual"
      ]
    },
    {
      "page": "run_dynamic_regression",
      "title": "Run the dynamic regression model",
      "topics": [
        "run_dynamic_regression"
      ]
    },
    {
      "page": "run_fnn",
      "title": "Train a Feedforward Neural Network (FNN) in a Counterfactual Scenario.",
      "topics": [
        "run_fnn"
      ]
    },
    {
      "page": "run_lightgbm",
      "title": "Run gradient boosting model with lightgbm",
      "topics": [
        "run_lightgbm"
      ]
    },
    {
      "page": "run_rf",
      "title": "Run random forest model with ranger",
      "topics": [
        "run_rf"
      ]
    },
    {
      "page": "sample_data_DESN025",
      "title": "Environmental Data for Modelling from station DESN025 in Leipzig-Mitte.",
      "topics": [
        "sample_data_DESN025"
      ]
    },
    {
      "page": "scale_data",
      "title": "Standardize Training and Application Data",
      "topics": [
        "scale_data"
      ]
    },
    {
      "page": "split_data_counterfactual",
      "title": "Split Data into Training and Application Datasets",
      "topics": [
        "split_data_counterfactual"
      ]
    }
  ],
  "_readme": "https://github.com/cran/ubair/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "colorspace",
    "cpp11",
    "data.table",
    "dplyr",
    "farver",
    "forecast",
    "fracdiff",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "lightgbm",
    "lmtest",
    "lubridate",
    "magrittr",
    "Matrix",
    "nlme",
    "nnet",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "ranger",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "yaml",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "neun_euro_ticket_demonstrator.Rmd",
      "filename": "neun_euro_ticket_demonstrator.html",
      "title": "neun_euro_ticket_demonstrator",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-11-10 16:46:03",
      "modified": "2025-11-10 16:46:03",
      "commits": 1
    },
    {
      "source": "user_sample_1.Rmd",
      "filename": "user_sample_1.html",
      "title": "user_sample_1",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load data for one station and run counterfactual",
        "Prerequisites",
        "Steps"
      ],
      "created": "2025-01-27 18:30:01",
      "modified": "2025-01-27 18:30:01",
      "commits": 1
    },
    {
      "source": "user_sample_2.Rmd",
      "filename": "user_sample_2.html",
      "title": "user_sample_2",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-01-27 18:30:01",
      "modified": "2025-01-27 18:30:01",
      "commits": 1
    },
    {
      "source": "user_sample_3.Rmd",
      "filename": "user_sample_3.html",
      "title": "user_sample_3",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Prerequisites",
        "Steps"
      ],
      "created": "2025-01-27 18:30:01",
      "modified": "2025-01-27 18:30:01",
      "commits": 1
    }
  ],
  "_score": 3.3424226808222066,
  "_indexed": true,
  "_nocasepkg": "ubair",
  "_universes": [
    "imke-kilab"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.1",
      "date": "2026-11-14T10:17:53.000Z",
      "distro": "resolute",
      "commit": "74919330ae4e09d323974ad788256849b7bd0440",
      "fileid": "https://r2.ropensci.org/e0e887905db86fdcef4f93e938ce1d036a65e74fa1ef0bd06c6c4c40a7750a1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/imke-kilab/actions/runs/43583880624"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.1.1",
      "date": "2026-11-14T10:17:14.000Z",
      "distro": "resolute",
      "commit": "74919330ae4e09d323974ad788256849b7bd0440",
      "fileid": "https://r2.ropensci.org/377590ac894045d19fdbc9c7fe28def9192be49f2a0ff3a998e8ca6a05bf446f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/imke-kilab/actions/runs/43583880624"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-11-14T10:17:26.000Z",
      "commit": "74919330ae4e09d323974ad788256849b7bd0440",
      "fileid": "https://r2.ropensci.org/c8914240d0f33acbdca61984b48d5e61e4fab1906779acb943656d5a8de7ace9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/imke-kilab/actions/runs/43583880624"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-11-14T10:16:49.000Z",
      "commit": "74919330ae4e09d323974ad788256849b7bd0440",
      "fileid": "https://r2.ropensci.org/85f879ba048045b862c316c69bd675eff2ad8cd0d6e7200c5fdb947c2652d4d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/imke-kilab/actions/runs/43583880624"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.1",
      "date": "2026-11-14T10:16:51.000Z",
      "commit": "74919330ae4e09d323974ad788256849b7bd0440",
      "fileid": "https://r2.ropensci.org/e76f684a2bb258fac5d3b07aac3da0c24df828d3a5bf2341c00dd45d08637756",
      "status": "success",
      "buildurl": "https://github.com/r-universe/imke-kilab/actions/runs/43583880624"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-11-14T10:16:49.000Z",
      "commit": "74919330ae4e09d323974ad788256849b7bd0440",
      "fileid": "https://r2.ropensci.org/c8afcee762ad47294c718a310c03d6dd85d2a867f35c4a1db4474e7803533362",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/imke-kilab/actions/runs/43583880624"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-11-14T10:16:54.000Z",
      "commit": "74919330ae4e09d323974ad788256849b7bd0440",
      "fileid": "https://r2.ropensci.org/48904f4dcc2b304f97fda0b2f78d9ad54309bdd150ae4ad7ec72e193fc511934",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/imke-kilab/actions/runs/43583880624"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-11-14T10:17:26.000Z",
      "commit": "74919330ae4e09d323974ad788256849b7bd0440",
      "fileid": "https://r2.ropensci.org/fb11193f979201d1597abaea4bd67d9b2bd53f5222da5230ee4eac93366dacac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/imke-kilab/actions/runs/43583880624"
    }
  ]
}