{
  "_id": "6a102f18acfb0bcc41c94aba",
  "Type": "Package",
  "Package": "traumar",
  "Title": "Calculate Metrics for Trauma System Performance",
  "Version": "1.2.6.9000",
  "Authors@R": "c(\nperson(\"Nicolas\", \"Foss\", , \"nicolas.foss@hhs.iowa.gov\", role = c(\"aut\", \"cre\")),\nperson(\"Iowa Department of Health and Human Services\", role = \"cph\")\n)",
  "Description": "Hospitals, hospital systems, and even trauma systems that\nprovide care to injured patients may not be aware of robust\nmetrics that can help gauge the efficacy of their programs in\nsaving the lives of injured patients.  'traumar' provides\nrobust functions driven by the academic literature to automate\nthe calculation of relevant metrics to individuals desiring to\nmeasure the performance of their trauma center or even a trauma\nsystem.  'traumar' also provides some helper functions for the\ndata analysis journey. Users can refer to the following\npublications for descriptions of the methods used in 'traumar'.\nTRISS methodology, including probability of survival, and the\nW, M, and Z Scores - Flora (1978)\n<doi:10.1097/00005373-197810000-00003>, Boyd et al. (1987,\nPMID:3106646), Llullaku et al. (2009)\n<doi:10.1186/1749-7922-4-2>, Singh et al. (2011)\n<doi:10.4103/0974-2700.86626>, Baker et al. (1974,\nPMID:4814394), and Champion et al. (1989)\n<doi:10.1097/00005373-198905000-00017>. For the Relative\nMortality Metric, see Napoli et al. (2017)\n<doi:10.1080/24725579.2017.1325948>, Schroeder et al. (2019)\n<doi:10.1080/10903127.2018.1489021>, and Kassar et al. (2016)\n<doi:10.1177/00031348221093563>. For more information about\nmethods to calculate over- and under-triage in trauma hospital\npopulations and samples, please see the following publications\n- Peng & Xiang (2016) <doi:10.1016/j.ajem.2016.08.061>, Beam et\nal. (2022) <doi:10.23937/2474-3674/1510136>, Roden-Foreman et\nal. (2017) <doi:10.1097/JTN.0000000000000283>.",
  "License": "MIT + file LICENSE",
  "URL": "https://bemts-hhs.github.io/traumar/,\nhttps://github.com/bemts-hhs/traumar",
  "BugReports": "https://github.com/bemts-hhs/traumar/issues",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Repository": "https://bemts-hhs.r-universe.dev",
  "Date/Publication": "2026-05-12 13:22:19 UTC",
  "RemoteUrl": "https://github.com/bemts-hhs/traumar",
  "RemoteRef": "HEAD",
  "RemoteSha": "d0a85414a76ff33f0bac1089dced3d0150e1de25",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-12 17:19:01 UTC",
    "User": "root"
  },
  "Author": "Nicolas Foss [aut, cre],\nIowa Department of Health and Human Services [cph]",
  "Maintainer": "Nicolas Foss <nicolas.foss@hhs.iowa.gov>",
  "MD5sum": "cdf8cc502ad43a3f19ac13221effa9e6",
  "_user": "bemts-hhs",
  "_type": "src",
  "_file": "traumar_1.2.6.9000.tar.gz",
  "_fileid": "4100550996a6a8e9f63ab9a7db0caebfbbc5d31061b61898cd2e14dcb23a217c",
  "_filesize": 1370541,
  "_sha256": "4100550996a6a8e9f63ab9a7db0caebfbbc5d31061b61898cd2e14dcb23a217c",
  "_created": "2026-05-12T17:19:01.000Z",
  "_published": "2026-05-22T10:25:28.614Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77361310540,
      "time": 158,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6951074773"
    },
    {
      "job": 77361311020,
      "time": 158,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6951074482"
    },
    {
      "job": 77361310763,
      "time": 141,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6951068503"
    },
    {
      "job": 77361310861,
      "time": 147,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6951070522"
    },
    {
      "job": 77361310412,
      "time": 184,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6951015731"
    },
    {
      "job": 77361310331,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158293495"
    },
    {
      "job": 77361310875,
      "time": 142,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6951068960"
    },
    {
      "job": 77361310984,
      "time": 145,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6951070701"
    },
    {
      "job": 77361310962,
      "time": 132,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6951065237"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bemts-hhs/actions/runs/25750350370",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bemts-hhs/traumar",
  "_commit": {
    "id": "d0a85414a76ff33f0bac1089dced3d0150e1de25",
    "author": "bemts-hhs <nicolas.foss@hhs.iowa.gov>",
    "committer": "bemts-hhs <nicolas.foss@hhs.iowa.gov>",
    "message": "update code of conduct email\n",
    "time": 1778592139
  },
  "_maintainer": {
    "name": "Nicolas Foss",
    "email": "nicolas.foss@hhs.iowa.gov",
    "login": "bemts-hhs",
    "uuid": 185227539
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.2.1",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 4.0.3",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "hms",
      "version": ">= 1.1.4",
      "role": "Imports"
    },
    {
      "package": "infer",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "version": ">= 1.9.5",
      "role": "Imports"
    },
    {
      "package": "nemsqar",
      "version": ">= 1.1.2",
      "role": "Imports"
    },
    {
      "package": "nortest",
      "version": ">= 1.0-4",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "version": ">= 1.3.2",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "version": ">= 1.2.2",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "version": ">= 1.6.0",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.3.1",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.3.2",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "version": ">= 1.2.1",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "bemts-hhs",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-20",
      "n": 7
    },
    {
      "week": "2025-21",
      "n": 5
    },
    {
      "week": "2025-26",
      "n": 4
    },
    {
      "week": "2025-28",
      "n": 3
    },
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-32",
      "n": 2
    },
    {
      "week": "2025-33",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 8
    },
    {
      "week": "2026-06",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 3
    },
    {
      "week": "2026-19",
      "n": 6
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.2.0",
      "date": "2025-05-20"
    },
    {
      "name": "v1.2.1",
      "date": "2025-06-23"
    },
    {
      "name": "v1.2.2",
      "date": "2025-08-09"
    },
    {
      "name": "v1.2.3",
      "date": "2026-01-07"
    },
    {
      "name": "v1.2.4",
      "date": "2026-02-05"
    },
    {
      "name": "v1.2.5",
      "date": "2026-04-16"
    },
    {
      "name": "v1.2.6",
      "date": "2026-05-06"
    }
  ],
  "_topics": [
    "ems",
    "mortality",
    "pi",
    "probability",
    "quality",
    "survival",
    "trauma",
    "triss"
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "bemts-hhs",
      "count": 215,
      "uuid": 185227539
    }
  ],
  "_userbio": {
    "uuid": 185227539,
    "type": "user",
    "name": "Bureau of Emergency Medical and Trauma Services",
    "description": "Injury and EMS epidemiology"
  },
  "_downloads": {
    "count": 479,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/traumar"
  },
  "_devurl": "https://github.com/bemts-hhs/traumar",
  "_pkgdown": "https://bemts-hhs.github.io/traumar/",
  "_searchresults": 60,
  "_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/traumar.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bemts-hhs/traumar",
  "_realowner": "bemts-hhs",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-02-21"
    },
    {
      "version": "1.1.0",
      "date": "2025-03-25"
    },
    {
      "version": "1.2.0",
      "date": "2025-05-27"
    },
    {
      "version": "1.2.1",
      "date": "2025-06-24"
    },
    {
      "version": "1.2.2",
      "date": "2025-08-26"
    },
    {
      "version": "1.2.3",
      "date": "2026-01-08"
    },
    {
      "version": "1.2.4",
      "date": "2026-02-05"
    },
    {
      "version": "1.2.5",
      "date": "2026-04-16"
    },
    {
      "version": "1.2.6",
      "date": "2026-05-07"
    }
  ],
  "_exports": [
    "%not_in%",
    "impute",
    "is_it_normal",
    "nonlinear_bins",
    "normalize",
    "pretty_number",
    "pretty_percent",
    "probability_of_survival",
    "rm_bin_summary",
    "rmm",
    "season",
    "seqic_indicator_1",
    "seqic_indicator_10",
    "seqic_indicator_11",
    "seqic_indicator_12",
    "seqic_indicator_13",
    "seqic_indicator_2",
    "seqic_indicator_3",
    "seqic_indicator_4",
    "seqic_indicator_5",
    "seqic_indicator_6",
    "seqic_indicator_7",
    "seqic_indicator_8",
    "seqic_indicator_9",
    "small_count_label",
    "stat_sig",
    "theme_cleaner",
    "trauma_case_mix",
    "trauma_performance",
    "weekend"
  ],
  "_help": [
    {
      "page": "grapes-not_in-grapes",
      "title": "Check if Elements Are Not in a Vector",
      "topics": [
        "%not_in%"
      ]
    },
    {
      "page": "impute",
      "title": "Impute Numeric Column Values",
      "topics": [
        "impute"
      ]
    },
    {
      "page": "is_it_normal",
      "title": "Exploratory Data Analysis, Normality Testing, and Visualization",
      "topics": [
        "is_it_normal"
      ]
    },
    {
      "page": "nonlinear_bins",
      "title": "Create Nonlinear Probability of Survival Bins",
      "topics": [
        "nonlinear_bins"
      ]
    },
    {
      "page": "normalize",
      "title": "Normalize a Numeric Vector",
      "topics": [
        "normalize"
      ]
    },
    {
      "page": "pretty_number",
      "title": "Convert Numbers into Readable Abbreviated Formats",
      "topics": [
        "pretty_number"
      ]
    },
    {
      "page": "pretty_percent",
      "title": "Format Numeric Variables as Percentages",
      "topics": [
        "pretty_percent"
      ]
    },
    {
      "page": "probability_of_survival",
      "title": "Calculate Probability of Survival Using TRISS Method",
      "topics": [
        "probability_of_survival"
      ]
    },
    {
      "page": "rm_bin_summary",
      "title": "Bin-Level Summary for Relative Mortality Metric (RMM)",
      "topics": [
        "rm_bin_summary"
      ]
    },
    {
      "page": "rmm",
      "title": "Relative Mortality Metric (RMM) Calculation",
      "topics": [
        "rmm"
      ]
    },
    {
      "page": "season",
      "title": "Get Season Based on a Date",
      "topics": [
        "season"
      ]
    },
    {
      "page": "seqic_indicator_1",
      "title": "SEQIC Indicator 1 – Trauma Team Response Evaluation",
      "topics": [
        "seqic_indicator_1"
      ]
    },
    {
      "page": "seqic_indicator_10",
      "title": "SEQIC Indicator 10 – Trauma Team Activation Appropriateness",
      "topics": [
        "seqic_indicator_10"
      ]
    },
    {
      "page": "seqic_indicator_11",
      "title": "SEQIC Indicator 11 – Overtriage for Minor Trauma Patients",
      "topics": [
        "seqic_indicator_11"
      ]
    },
    {
      "page": "seqic_indicator_12",
      "title": "SEQIC Indicator 12 - Timeliness of Data Entry Post-Discharge",
      "topics": [
        "seqic_indicator_12"
      ]
    },
    {
      "page": "seqic_indicator_13",
      "title": "SEQIC Indicator 13 – Validation of Trauma Registry Records",
      "topics": [
        "seqic_indicator_13"
      ]
    },
    {
      "page": "seqic_indicator_2",
      "title": "SEQIC Indicator 2 – Missing Incident Time",
      "topics": [
        "seqic_indicator_2"
      ]
    },
    {
      "page": "seqic_indicator_3",
      "title": "SEQIC Indicator 3 - Presence of Probability of Survival Calculations",
      "topics": [
        "seqic_indicator_3"
      ]
    },
    {
      "page": "seqic_indicator_4",
      "title": "SEQIC Indicator 4 - Autopsy and Long LOS Without Autopsy",
      "topics": [
        "seqic_indicator_4"
      ]
    },
    {
      "page": "seqic_indicator_5",
      "title": "SEQIC Indicator 5 - Alcohol and Drug Screening",
      "topics": [
        "seqic_indicator_5"
      ]
    },
    {
      "page": "seqic_indicator_6",
      "title": "SEQIC Indicator 6 - Delayed Arrival Following Low GCS",
      "topics": [
        "seqic_indicator_6"
      ]
    },
    {
      "page": "seqic_indicator_7",
      "title": "SEQIC Indicator 7 - Delayed Arrival to Definitive Care",
      "topics": [
        "seqic_indicator_7"
      ]
    },
    {
      "page": "seqic_indicator_8",
      "title": "SEQIC Indicator 8 - Survival by Risk Group",
      "topics": [
        "seqic_indicator_8"
      ]
    },
    {
      "page": "seqic_indicator_9",
      "title": "SEQIC Indicator 9 - Emergency Department Transfer Timeliness",
      "topics": [
        "seqic_indicator_9"
      ]
    },
    {
      "page": "small_count_label",
      "title": "Label Small Counts Based on a Cutoff",
      "topics": [
        "small_count_label"
      ]
    },
    {
      "page": "stat_sig",
      "title": "Assign Significance Codes Based on P-Values",
      "topics": [
        "stat_sig"
      ]
    },
    {
      "page": "theme_cleaner",
      "title": "Customizable Minimalistic ggplot2 Theme",
      "topics": [
        "theme_cleaner"
      ]
    },
    {
      "page": "trauma_case_mix",
      "title": "View the Current Patient Population Case Mix Compared to the Major Trauma Study Case Mix",
      "topics": [
        "trauma_case_mix"
      ]
    },
    {
      "page": "trauma_performance",
      "title": "Calculate Trauma Hospital Performance Based on Robust and Validated Measures",
      "topics": [
        "trauma_performance"
      ]
    },
    {
      "page": "weekend",
      "title": "Classify Dates as Weekday or Weekend",
      "topics": [
        "weekend"
      ]
    }
  ],
  "_pkglogo": "https://github.com/bemts-hhs/traumar/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/bemts-hhs/traumar/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "broom",
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "hms",
    "infer",
    "isoband",
    "labeling",
    "lifecycle",
    "lubridate",
    "magrittr",
    "nemsqar",
    "nortest",
    "patchwork",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 5.193124598354462,
  "_indexed": true,
  "_nocasepkg": "traumar",
  "_universes": [
    "bemts-hhs"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.6.9000",
      "date": "2026-05-12T17:20:58.000Z",
      "distro": "noble",
      "commit": "d0a85414a76ff33f0bac1089dced3d0150e1de25",
      "fileid": "203d8b0ec58897b63b509c374dbcd515f8cd96dd331c692a573d141950fe5877",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bemts-hhs/actions/runs/25750350370"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.6.9000",
      "date": "2026-05-12T17:20:57.000Z",
      "distro": "noble",
      "commit": "d0a85414a76ff33f0bac1089dced3d0150e1de25",
      "fileid": "0b2095e9516123cd7521c75419ebf33fa69fea287ac622421be8340f7dbb2de8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bemts-hhs/actions/runs/25750350370"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.6.9000",
      "date": "2026-05-12T17:21:01.000Z",
      "commit": "d0a85414a76ff33f0bac1089dced3d0150e1de25",
      "fileid": "3528135d2bf9ff721742e9090407a16dee3ff8f7cad305de8dce3cdb31f1145b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bemts-hhs/actions/runs/25750350370"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.6.9000",
      "date": "2026-05-12T17:20:55.000Z",
      "commit": "d0a85414a76ff33f0bac1089dced3d0150e1de25",
      "fileid": "66286f3cac7786c9161132d0ab31aa895e1fc8e1b3283c8a8c419499e0caf965",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bemts-hhs/actions/runs/25750350370"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.6.9000",
      "date": "2026-05-12T17:20:19.000Z",
      "commit": "d0a85414a76ff33f0bac1089dced3d0150e1de25",
      "fileid": "50c90218c00288736bb1d558ccfc9ddc30b5d5085ebe454075e956ef31996a9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bemts-hhs/actions/runs/25750350370"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.6.9000",
      "date": "2026-05-12T17:20:32.000Z",
      "commit": "d0a85414a76ff33f0bac1089dced3d0150e1de25",
      "fileid": "359a60ea0c2179a70a36c99d82bac61b8f4bcecd15d48b59e07aff05b4654915",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bemts-hhs/actions/runs/25750350370"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.6.9000",
      "date": "2026-05-12T17:20:16.000Z",
      "commit": "d0a85414a76ff33f0bac1089dced3d0150e1de25",
      "fileid": "31eb100703f4d8eef674c82aa261c8342d0a3fdfc9cc0f4bc615e5f5b59ef228",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bemts-hhs/actions/runs/25750350370"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.6.9000",
      "date": "2026-05-22T10:25:11.000Z",
      "commit": "d0a85414a76ff33f0bac1089dced3d0150e1de25",
      "fileid": "4c85ec3cd2f1d1e650d7e2ad70f63e814c221b16f3a49e95f2fd991985fadf24",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bemts-hhs/actions/runs/25750350370"
    }
  ]
}