make_reference: Make reference Table

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Makes the reference table used my many functions in this package. This is part of the basic setup.

Usage

1

Arguments

connection

a database connection

Value

a tibble with episode level data with site

Examples

1
2
3
4
5
db_pth <- system.file("testdata/synthetic_db.sqlite3", package = "inspectEHR")
ctn <- connect(sqlite_file = db_pth)
ref <- make_reference(ctn)
head(ref)
DBI::dbDisconnect(ctn)

CC-HIC/inspectEHR documentation built on Jan. 16, 2020, 11:24 p.m.