{
  "_id": "6a4a01269ce196b5e5a90b0d",
  "Package": "DQAstats",
  "Title": "Core Functions for Data Quality Assessment",
  "Version": "0.3.9",
  "Date": "2025-04-07",
  "Authors@R": "c(\nperson(\"Lorenz A.\", \"Kapsner\", , \"lorenz.kapsner@gmail.com\", role = c(\"cre\", \"aut\"),\ncomment = c(ORCID = \"0000-0003-1866-860X\")),\nperson(\"Jonathan M.\", \"Mang\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-0518-4710\")),\nperson(\"Helene Köster\", role = \"ctb\"),\nperson(\"MIRACUM - Medical Informatics in Research and Care in University Medicine\", role = \"fnd\"),\nperson(\"Universitätsklinikum Erlangen\", role = \"cph\")\n)",
  "Description": "Perform data quality assessment ('DQA') of electronic\nhealth records ('EHR'). Publication: Kapsner et al. (2021)\n<doi:10.1055/s-0041-1733847>.",
  "License": "GPL-3",
  "URL": "https://github.com/miracum/dqa-dqastats",
  "BugReports": "https://github.com/miracum/dqa-dqastats/issues",
  "VignetteBuilder": "quarto",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "false",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "SystemRequirements": "Quarto command line tools\n(https://github.com/quarto-dev/quarto-cli).",
  "Config/pak/sysreqs": "cmake libfontconfig1-dev libfreetype6-dev\nlibfribidi-dev make libharfbuzz-dev default-jdk libicu-dev\nlibpng-dev libuv1-dev libxml2-dev libssl-dev libpq-dev",
  "Repository": "https://miracum.r-universe.dev",
  "Date/Publication": "2026-05-12 12:54:49 UTC",
  "RemoteUrl": "https://github.com/miracum/dqa-dqastats",
  "RemoteRef": "HEAD",
  "RemoteSha": "b43ee987df0913c0f74b86885788be4004403293",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-11 06:41:08 UTC",
    "User": "root"
  },
  "Author": "Lorenz A. Kapsner [cre, aut] (ORCID:\n<https://orcid.org/0000-0003-1866-860X>),\nJonathan M. Mang [aut] (ORCID: <https://orcid.org/0000-0003-0518-4710>),\nHelene Köster [ctb],\nMIRACUM - Medical Informatics in Research and Care in University\nMedicine [fnd],\nUniversitätsklinikum Erlangen [cph]",
  "Maintainer": "Lorenz A. Kapsner <lorenz.kapsner@gmail.com>",
  "_user": "miracum",
  "_type": "src",
  "_file": "DQAstats_0.3.9.tar.gz",
  "_fileid": "https://r2.ropensci.org/ec5ffb8d915f9aee5cc85e83c6c6a396f7cf5c01a1fc9f879ee3a3f9c4c2f04c",
  "_filesize": 259747,
  "_sha256": "ec5ffb8d915f9aee5cc85e83c6c6a396f7cf5c01a1fc9f879ee3a3f9c4c2f04c",
  "_expires": "2026-10-13T07:00:52.000Z",
  "_created": "2026-06-11T06:41:08.000Z",
  "_published": "2026-07-05T07:00:54.125Z",
  "_jobs": [
    {
      "job": 85201231118,
      "time": 241,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7556732197"
    },
    {
      "job": 85201231170,
      "time": 201,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7556720322"
    },
    {
      "job": 85201231109,
      "time": 145,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7556703811"
    },
    {
      "job": 85201231301,
      "time": 212,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7556724361"
    },
    {
      "job": 85201230993,
      "time": 204,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7556660155"
    },
    {
      "job": 85201231154,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7556702394"
    },
    {
      "job": 85201231145,
      "time": 188,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7556716852"
    },
    {
      "job": 85201231267,
      "time": 340,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7556762636"
    },
    {
      "job": 85201231284,
      "time": 219,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7556725963"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/miracum/actions/runs/27328738517",
  "_status": "success",
  "_upstream": "https://github.com/miracum/dqa-dqastats",
  "_commit": {
    "id": "b43ee987df0913c0f74b86885788be4004403293",
    "author": "Mang, Jonathan <jonathan.mang@uk-erlangen.de>",
    "committer": "Mang, Jonathan <jonathan.mang@uk-erlangen.de>",
    "message": "Merge branch 'renovate/all' into 'master'\n\nchore(deps): update rocker/verse docker tag to v4.6.0\n\nSee merge request mik-ifm/ifm-phd/DQA/dqastats!22",
    "time": 1778590489
  },
  "_maintainer": {
    "name": "Lorenz A. Kapsner",
    "email": "lorenz.kapsner@gmail.com",
    "login": "kapsner",
    "orcid": "0000-0003-1866-860X",
    "description": "Medical Data Scientist.",
    "uuid": 44973495
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "DIZtools",
      "version": ">= 0.0.8",
      "role": "Imports"
    },
    {
      "package": "DIZutils",
      "version": ">= 0.1.2",
      "role": "Imports"
    },
    {
      "package": "future.apply",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "kableExtra",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "parsedate",
      "role": "Imports"
    },
    {
      "package": "quarto",
      "version": ">= 1.4",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tinytex",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "lintr",
      "role": "Suggests"
    },
    {
      "package": "remotes",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "miracum",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-24",
      "n": 1
    },
    {
      "week": "2025-33",
      "n": 1
    },
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 2
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-50",
      "n": 2
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "data-quality",
    "quarto",
    "openjdk"
  ],
  "_stars": 9,
  "_contributors": [
    {
      "user": "kapsner",
      "count": 497,
      "uuid": 44973495
    },
    {
      "user": "joundso",
      "count": 203,
      "uuid": 56686638
    },
    {
      "user": "koesterh",
      "count": 25,
      "uuid": 131158863
    }
  ],
  "_userbio": {
    "uuid": 25475545,
    "type": "organization",
    "name": "MIRACUM",
    "description": "MIRACUM–this is ten universities with ten university hospitals, two universities of applied sciences and one industrial partner spread over seven German states."
  },
  "_downloads": {
    "count": 314,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DQAstats"
  },
  "_devurl": "https://github.com/miracum/dqa-dqastats",
  "_searchresults": 4,
  "_quarto": true,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DQAstats.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/miracum/dqa-dqastats",
  "_realowner": "miracum",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2022-01-04"
    },
    {
      "version": "0.2.1",
      "date": "2022-01-11"
    },
    {
      "version": "0.2.2",
      "date": "2022-01-12"
    },
    {
      "version": "0.2.3",
      "date": "2022-02-04"
    },
    {
      "version": "0.2.4",
      "date": "2022-02-11"
    },
    {
      "version": "0.2.5",
      "date": "2022-02-21"
    },
    {
      "version": "0.2.6",
      "date": "2022-03-02"
    },
    {
      "version": "0.3.0",
      "date": "2022-05-19"
    },
    {
      "version": "0.3.1",
      "date": "2022-06-27"
    },
    {
      "version": "0.3.2",
      "date": "2023-01-23"
    },
    {
      "version": "0.3.3",
      "date": "2023-07-20"
    },
    {
      "version": "0.3.4",
      "date": "2024-04-04"
    },
    {
      "version": "0.3.5",
      "date": "2024-06-05"
    },
    {
      "version": "0.3.6",
      "date": "2024-11-27"
    },
    {
      "version": "0.3.7",
      "date": "2025-02-07"
    },
    {
      "version": "0.3.8",
      "date": "2025-03-26"
    },
    {
      "version": "0.3.9",
      "date": "2025-04-07"
    }
  ],
  "_exports": [
    "atemp_plausi_results",
    "check_date_restriction_requirements",
    "completeness",
    "create_helper_vars",
    "create_pdf_report",
    "data_loading",
    "descriptive_results",
    "difference_checks",
    "dqa",
    "etl_checks",
    "export_aggregated",
    "format_value_conformance_results",
    "generate_datamap",
    "get_atemp_plausis",
    "is_latex_installed",
    "read_mdr",
    "reduce_cat",
    "test_csv",
    "time_compare",
    "uniq_plausi_results",
    "value_conformance",
    "value_conformance_checks"
  ],
  "_help": [
    {
      "page": "apply_time_restriciton",
      "title": "Time filtering of data.table or sql-strings.",
      "topics": [
        "apply_time_restriciton"
      ]
    },
    {
      "page": "atemp_plausi_results",
      "title": "atemp_plausi_results helper function",
      "topics": [
        "atemp_plausi_results"
      ]
    },
    {
      "page": "check_date_restriction_requirements",
      "title": "Checking the mdr integrity for time restrictions",
      "topics": [
        "check_date_restriction_requirements"
      ]
    },
    {
      "page": "completeness",
      "title": "completeness helper function",
      "topics": [
        "completeness"
      ]
    },
    {
      "page": "create_helper_vars",
      "title": "create_helper_vars helper function",
      "topics": [
        "create_helper_vars"
      ]
    },
    {
      "page": "create_pdf_report",
      "title": "create_pdf_report helper function",
      "topics": [
        "create_pdf_report"
      ]
    },
    {
      "page": "data_loading",
      "title": "data_loading helper function",
      "topics": [
        "data_loading"
      ]
    },
    {
      "page": "descriptive_results",
      "title": "descriptive_results helper function",
      "topics": [
        "descriptive_results"
      ]
    },
    {
      "page": "difference_checks",
      "title": "difference_checks helper function",
      "topics": [
        "difference_checks"
      ]
    },
    {
      "page": "dqa",
      "title": "Perform Data Quality Assessment of Electronic Health Records.",
      "topics": [
        "dqa"
      ]
    },
    {
      "page": "etl_checks",
      "title": "etl_checks helper function",
      "topics": [
        "etl_checks"
      ]
    },
    {
      "page": "export_aggregated",
      "title": "Export results to csv/zip file.",
      "topics": [
        "export_aggregated"
      ]
    },
    {
      "page": "format_value_conformance_results",
      "title": "format_value_conformance_results helper function",
      "topics": [
        "format_value_conformance_results"
      ]
    },
    {
      "page": "generate_datamap",
      "title": "generate_datamap helper function",
      "topics": [
        "generate_datamap"
      ]
    },
    {
      "page": "get_atemp_plausis",
      "title": "get_atemp_plausis helper function",
      "topics": [
        "get_atemp_plausis"
      ]
    },
    {
      "page": "get_restricting_date_info",
      "title": "Get a formatted string containing start and end time of the date restriction applied to the data.",
      "topics": [
        "get_restricting_date_info"
      ]
    },
    {
      "page": "is_latex_installed",
      "title": "Checks if there is a LaTeX installation available",
      "topics": [
        "is_latex_installed"
      ]
    },
    {
      "page": "load_csv",
      "title": "load_csv helper function",
      "topics": [
        "load_csv"
      ]
    },
    {
      "page": "load_database",
      "title": "load_database helper function",
      "topics": [
        "load_database"
      ]
    },
    {
      "page": "load_sqls",
      "title": "load_sqls helper function",
      "topics": [
        "load_sqls"
      ]
    },
    {
      "page": "read_mdr",
      "title": "read_mdr helper function",
      "topics": [
        "read_mdr"
      ]
    },
    {
      "page": "reduce_cat",
      "title": "reduce_cat helper function",
      "topics": [
        "reduce_cat"
      ]
    },
    {
      "page": "test_csv",
      "title": "test_csv helper function",
      "topics": [
        "test_csv"
      ]
    },
    {
      "page": "time_compare",
      "title": "time_compare helper function",
      "topics": [
        "time_compare"
      ]
    },
    {
      "page": "uniq_plausi_results",
      "title": "uniq_plausi_results helper function",
      "topics": [
        "uniq_plausi_results"
      ]
    },
    {
      "page": "value_conformance",
      "title": "value_conformance helper function",
      "topics": [
        "value_conformance"
      ]
    },
    {
      "page": "value_conformance_checks",
      "title": "value_conformance_checks helper function",
      "topics": [
        "value_conformance_checks"
      ]
    }
  ],
  "_pkglogo": "https://github.com/miracum/dqa-dqastats/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/miracum/dqa-dqastats/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "base64enc",
    "bit",
    "bit64",
    "blob",
    "bslib",
    "cachem",
    "checkmate",
    "cleaR",
    "cli",
    "cluster",
    "codetools",
    "colorspace",
    "config",
    "cpp11",
    "crayon",
    "curl",
    "data.table",
    "DBI",
    "dbplyr",
    "digest",
    "DIZtools",
    "DIZutils",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreign",
    "Formula",
    "fs",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "GPArotation",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "hms",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "httr",
    "isoband",
    "jquerylib",
    "jsonlite",
    "kableExtra",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lifecycle",
    "listenv",
    "logger",
    "lubridate",
    "magrittr",
    "memoise",
    "mime",
    "mnormt",
    "nlme",
    "nnet",
    "openssl",
    "parallelly",
    "parsedate",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "processx",
    "progress",
    "ps",
    "psych",
    "purrr",
    "quarto",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rJava",
    "RJDBC",
    "RJSONIO",
    "rlang",
    "rmarkdown",
    "rpart",
    "RPostgres",
    "RPresto",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "stringdist",
    "stringi",
    "stringr",
    "svglite",
    "sys",
    "systemfonts",
    "textshaping",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xml2",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "libjvm",
      "package": "openjdk-21-jre-headless",
      "headers": "openjdk-21-jre-headless",
      "source": "openjdk",
      "version": "21.0.11+10-1~24.04.2",
      "name": "openjdk",
      "homepage": "https://openjdk.java.net/",
      "description": "OpenJDK Java runtime, using Hotspot JIT (headless)"
    }
  ],
  "_vignettes": [
    {
      "source": "DQAstats2SHIPdataset.qmd",
      "filename": "DQAstats2SHIPdataset.html",
      "title": "DQAstats2SHIPdataset",
      "engine": "quarto::html",
      "headings": [
        "Load Data from dataquieR R package",
        "Prepare DQAstats MDR",
        "Read empty DQAstats MDR as template",
        "Transform SHIP-MDR to DQAstats representation",
        "Change Variable Type for Categorical Variables",
        "Define Constraints",
        "Constraints for Categorical Variables",
        "Constraints for Continuous Variables",
        "Constraints for String Variables",
        "Add Plausibility Checks",
        "Contraception in males (atemporal plausibility)",
        "Diabetes age but no Diabetes (atemporal plausibility)",
        "Every ID is associated with one Sex-value (uniqueness plausibility)",
        "Display the prepared MDR",
        "Create utils-folder",
        "Run DQAstats::dqa()",
        "Launch DQAgui as GUI-frontend to DQAstats"
      ],
      "created": "2024-06-03 15:07:27",
      "modified": "2025-03-26 10:56:56",
      "commits": 5
    }
  ],
  "_score": 6.385606273598312,
  "_indexed": true,
  "_nocasepkg": "dqastats",
  "_universes": [
    "miracum",
    "kapsner"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.9",
      "date": "2026-06-11T06:44:04.000Z",
      "distro": "noble",
      "commit": "b43ee987df0913c0f74b86885788be4004403293",
      "fileid": "https://r2.ropensci.org/8056b34712549cf871a3c20d3f2eccb32e4a8768ef626a60b0da4377a1c34ffc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/27328738517"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.9",
      "date": "2026-06-11T06:43:37.000Z",
      "distro": "noble",
      "commit": "b43ee987df0913c0f74b86885788be4004403293",
      "fileid": "https://r2.ropensci.org/b37c0f3da263328a669bface2f574af0ab7959dca88c7ca9349763682a323de2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/27328738517"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.9",
      "date": "2026-06-11T06:43:17.000Z",
      "commit": "b43ee987df0913c0f74b86885788be4004403293",
      "fileid": "https://r2.ropensci.org/839dd1ed6f4859cf1ac54e5af8b8f1fc7158b0ffcb1e01f8143020d81032fad5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/27328738517"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.9",
      "date": "2026-06-11T06:44:07.000Z",
      "commit": "b43ee987df0913c0f74b86885788be4004403293",
      "fileid": "https://r2.ropensci.org/f98a6d77aeabce56c10bb1355d5582275d0a79b5a8422e65e9c19c8137c8ae12",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/27328738517"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.9",
      "date": "2026-06-11T06:43:45.000Z",
      "commit": "b43ee987df0913c0f74b86885788be4004403293",
      "fileid": "https://r2.ropensci.org/789332148bcff14c813b9574f2e798f804047d7315a5422a0e77a3069689c509",
      "status": "success",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/27328738517"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.9",
      "date": "2026-06-11T06:43:28.000Z",
      "commit": "b43ee987df0913c0f74b86885788be4004403293",
      "fileid": "https://r2.ropensci.org/445317fdccf6517789645383697c821a935f45e5d5e98ece37b084b206707437",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/27328738517"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.9",
      "date": "2026-06-11T06:46:01.000Z",
      "commit": "b43ee987df0913c0f74b86885788be4004403293",
      "fileid": "https://r2.ropensci.org/e6418995329bdf1cb6ea4572046296d97c4007deda787734cf9e4544428b2d45",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/27328738517"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.9",
      "date": "2026-06-11T06:44:05.000Z",
      "commit": "b43ee987df0913c0f74b86885788be4004403293",
      "fileid": "https://r2.ropensci.org/ce503efc96ba75270c274d323ac4a4dc72921284b478cdc2fbb1a6dc17ae84d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/27328738517"
    }
  ]
}