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")

make_dict(metadata = NULL)

Arguments

metadata

a collected metadata table

Value

a metadata table

Examples

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)