make_dict: Determine dimentionality of Events

Description Usage Arguments Value Examples

View source: R/metadata.R

Description

This function take a metadata table and produces a list of NIHR codes describing whether the data is 1d (i.e. only measured once) or 2d (i.e "time varying")

Usage

1
make_dict(metadata = NULL)

Arguments

metadata

a collected metadata table

Value

a metadata table

Examples

1
2
3
4
db_pth <- system.file("testdata/synthetic_db.sqlite3", package = "inspectEHR")
ctn <- connect(sqlite_file = db_pth)
make_dict(dplyr::collect(dplyr::tbl(ctn, "variables")))
DBI::dbDisconnect(ctn)

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