tbl4: Extract table from mimic database

Description Usage Arguments Value Examples

View source: R/m4_tbl_z.R

Description

Extract table from mimic database

Usage

1
tbl4(tbl, ..., conn)

Arguments

tbl

one table name or table number

mimic

mimic database

cols

one or more colnames or column numbers

schema

schama name, default is mimiciii

Value

all table names if tbl is missing, or tible

Examples

1
2
3
4
5
6
7
8
9
library(mimicR)
connect_MIMIC <- connect_MIMIC()


# extract all table names
tbl4()

# extract services table with row_id and subject_id columns
tbl4('services','row_id','subject_id')

yikeshu0611/mimicR documentation built on Dec. 23, 2021, 7:21 p.m.