m4_meta_data: Encapsulated meta data for MIMIC IV tables

Description Usage Value Examples

View source: R/m4_meta.R

Description

The function returns a tibble with the table name, MIMIC module and a description (all descriptive data are referenced from the MIMIC-IV website).

Usage

1

Value

a tibble containing meta data concerning MIMIC IV tables.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
core <- m4_meta_data()
core <- core[core$module == "mimic_core", ]
for (i in 1:length(core)) {
  cat(stringr::str_c(
    "select * from physionet-data.",
    core[i, "module"],
    ".",
    core[i, "table"],
    "\n"
  ))
}

hdshea/MIMIC4db documentation built on Dec. 20, 2021, 3:45 p.m.