{
  "_id": "6a1f05a2b401979e7341ba2e",
  "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-05-18 07:23:03 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",
  "MD5sum": "b2b5e968b404c68f655ac3f7624f04a6",
  "_user": "imke-kilab",
  "_type": "src",
  "_file": "ubair_1.1.1.tar.gz",
  "_fileid": "e5273b671c592fa03fbe9a8aa830992d5b8407f67671352be46250701cdef464",
  "_filesize": 4411864,
  "_sha256": "e5273b671c592fa03fbe9a8aa830992d5b8407f67671352be46250701cdef464",
  "_created": "2026-05-18T07:23:03.000Z",
  "_published": "2026-06-02T16:32:34.589Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79121194772,
      "time": 204,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7051796331"
    },
    {
      "job": 79121194983,
      "time": 203,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7051795672"
    },
    {
      "job": 79121195067,
      "time": 261,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7051802282"
    },
    {
      "job": 79121194722,
      "time": 250,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7051801380"
    },
    {
      "job": 79121193214,
      "time": 303,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7051731312"
    },
    {
      "job": 79121193990,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7363845638"
    },
    {
      "job": 79121194912,
      "time": 189,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7051791197"
    },
    {
      "job": 79121195389,
      "time": 144,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7051776476"
    },
    {
      "job": 79121194913,
      "time": 159,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7051781598"
    }
  ],
  "_buildurl": "https://github.com/r-universe/imke-kilab/actions/runs/26019213914",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/ubair",
  "_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
  },
  "_maintainer": {
    "name": "Imke Voss",
    "email": "imke.voss@uba.de",
    "login": "imke-kilab",
    "description": "",
    "uuid": 276985147
  },
  "_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": [
    {
      "name": "1.1.1",
      "date": "2025-11-10"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "imke-kilab",
      "count": 2,
      "uuid": 276985147
    }
  ],
  "_userbio": {
    "uuid": 276985147,
    "type": "user",
    "name": "imke-kilab"
  },
  "_downloads": {
    "count": 178,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ubair"
  },
  "_searchresults": 7,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/ubair.html",
    "manual.pdf"
  ],
  "_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.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "ubair",
  "_universes": [
    "imke-kilab"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.1",
      "date": "2026-05-18T07:25:55.000Z",
      "distro": "noble",
      "commit": "74919330ae4e09d323974ad788256849b7bd0440",
      "fileid": "3054115370e3b87f03338225ffc01936bf4851731f9919556dad390b6b4e54ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/imke-kilab/actions/runs/26019213914"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.1",
      "date": "2026-05-18T07:25:53.000Z",
      "distro": "noble",
      "commit": "74919330ae4e09d323974ad788256849b7bd0440",
      "fileid": "9e7d6f88124790765082986b6f936131a7ad764ddb58f230e5468171b5a256c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/imke-kilab/actions/runs/26019213914"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-05-18T07:26:06.000Z",
      "commit": "74919330ae4e09d323974ad788256849b7bd0440",
      "fileid": "bc901303f447e33880084b53dcb0022adc3e46a4ec66bb0bd5f723607b681d28",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/imke-kilab/actions/runs/26019213914"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-05-18T07:26:05.000Z",
      "commit": "74919330ae4e09d323974ad788256849b7bd0440",
      "fileid": "a4629e28408b9e0ee15d46d41d3701acafa5213e3eab1c20245359d62d864ee7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/imke-kilab/actions/runs/26019213914"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-05-18T07:25:26.000Z",
      "commit": "74919330ae4e09d323974ad788256849b7bd0440",
      "fileid": "de68df67ad9b3ed44a378aaba3dc8a6a671ee212a07ffafbbd6b8942a82a8b34",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/imke-kilab/actions/runs/26019213914"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-05-18T07:24:51.000Z",
      "commit": "74919330ae4e09d323974ad788256849b7bd0440",
      "fileid": "1c618f3392fbe3120447af4b02979a2babf392c58484f0720d087be8d367283f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/imke-kilab/actions/runs/26019213914"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-05-18T07:25:02.000Z",
      "commit": "74919330ae4e09d323974ad788256849b7bd0440",
      "fileid": "b52c272961aa130bde8744a75967633dc931d0ac3adf84980ddbb20d58041beb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/imke-kilab/actions/runs/26019213914"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.1",
      "date": "2026-06-02T16:31:58.000Z",
      "commit": "74919330ae4e09d323974ad788256849b7bd0440",
      "fileid": "011d8803d59c90113d7786b23c5a138ecd4af7edf5272b6c8fc673b25fb78097",
      "status": "success",
      "buildurl": "https://github.com/r-universe/imke-kilab/actions/runs/26019213914"
    }
  ]
}