The goal of traumaR is to provide users with human friendly results in a normalized format.
And the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("ultramattyice/traumaR")
This is a basic example which shows you how to solve a common problem:
library(traumaR)
library(kableExtra)
raw_data <- data.table::fread("E:/Northwestern/12 - Capstone/PTOS_Toy.csv", na.strings = c("<unk>", "", "<n/a>"))
traumaR::run_full_show(raw_data)
patient_df %>%
head(10) %>%
kable() %>%
kable_styling() %>%
scroll_box(width = "300px", height = "100px")
trans_full_df %>%
head(10) %>%
kable() %>%
kable_styling() %>%
scroll_box(width = "100%", height = "100px")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.