Type: Package
Package: traumar
Title: Calculate Metrics for Trauma System Performance
Version: 1.2.7
Authors@R: c(
    person("Nicolas", "Foss", , "nicolas.foss@hhs.iowa.gov", role = c("aut", "cre")),
    person("Iowa Department of Health and Human Services", role = "cph")
  )
Description: Hospitals, hospital systems, and even trauma systems that
    provide care to injured patients may not be aware of robust metrics
    that can help gauge the efficacy of their programs in saving the lives
    of injured patients.  'traumar' provides robust functions driven by
    the academic literature to automate the calculation of relevant
    metrics to individuals desiring to measure the performance of their
    trauma center or even a trauma system.  'traumar' also provides some
    helper functions for the data analysis journey. Users can refer to the
    following publications for descriptions of the methods used in
    'traumar'.  TRISS methodology, including probability of survival, and
    the W, M, and Z Scores - Flora (1978)
    <doi:10.1097/00005373-197810000-00003>, Boyd et al. (1987,
    PMID:3106646), Llullaku et al. (2009) <doi:10.1186/1749-7922-4-2>,
    Singh et al. (2011) <doi:10.4103/0974-2700.86626>, Baker et al. (1974,
    PMID:4814394), and Champion et al. (1989)
    <doi:10.1097/00005373-198905000-00017>. For the Relative Mortality
    Metric, see Napoli et al. (2017) <doi:10.1080/24725579.2017.1325948>,
    Schroeder et al. (2019) <doi:10.1080/10903127.2018.1489021>, and
    Kassar et al. (2016) <doi:10.1177/00031348221093563>. For more
    information about methods to calculate over- and under-triage in
    trauma hospital populations and samples, please see the following
    publications - Peng & Xiang (2016) <doi:10.1016/j.ajem.2016.08.061>,
    Beam et al. (2022) <doi:10.23937/2474-3674/1510136>, Roden-Foreman et
    al. (2017) <doi:10.1097/JTN.0000000000000283>.
License: MIT + file LICENSE
URL: https://bemts-hhs.github.io/traumar/,
        https://github.com/bemts-hhs/traumar
BugReports: https://github.com/bemts-hhs/traumar/issues
Depends: R (>= 4.1)
Imports: cli, dplyr (>= 1.2.1), ggplot2 (>= 4.0.3), glue, hms (>=
        1.1.4), infer (>= 1.1.0), lifecycle, lubridate (>= 1.9.5),
        nemsqar (>= 1.1.2), nortest (>= 1.0-4), patchwork (>= 1.3.2),
        purrr (>= 1.2.2), rlang, stats, stringr (>= 1.6.0), tibble (>=
        3.3.1), tidyr (>= 1.3.2), tidyselect (>= 1.2.1), utils
Suggests: broom, spelling, testthat (>= 3.0.0)
Config/testthat/edition: 3
Encoding: UTF-8
Config/roxygen2/version: 8.0.0
Language: en-US
NeedsCompilation: no
Packaged: 2026-06-18 21:26:08 UTC; nfoss0
Author: Nicolas Foss [aut, cre],
  Iowa Department of Health and Human Services [cph]
Maintainer: Nicolas Foss <nicolas.foss@hhs.iowa.gov>
Repository: CRAN
Date/Publication: 2026-06-18 22:50:02 UTC
Built: R 4.7.0; ; 2026-07-24 05:15:25 UTC; windows
