knitr::opts_chunk$set( echo = FALSE, message = FALSE, warning = FALSE ) library(tidyverse) library(summarytools) library(janitor) library(htmltools) library(here)
# identify cohort of interest. e.g picu/pcicu/nicu cohort <- "picu"
child_encounter <- read_csv(here("data", cohort, "encounter.csv")) %>% clean_names() includeHTML(view(dfSummary(child_encounter, graph.col = FALSE)))
labs <- read_csv(here("data", cohort, "labs.csv")) %>% clean_names() includeHTML(view(dfSummary(labs, graph.col = FALSE)))
medications <- read_csv(here("data", cohort, "medications.csv")) %>% clean_names() includeHTML(view(dfSummary(medications, graph.col = FALSE)))
flowsheets <- read_csv(here("data", cohort, "flowsheets.csv")) %>% clean_names() includeHTML(view(dfSummary(flowsheets, graph.col = FALSE)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.