Description Usage Arguments Value Examples
Places all tables from the database connection in a list. This makes use of the tables in dplyr extremely easy.
1 |
connection |
an sql connection |
a list containing pointers to tables within the sql connection.
1 2 3 4 5 6 | db_pth <- system.file("testdata/synthetic_db.sqlite3", package = "inspectEHR")
ctn <- connect(sqlite_file = db_pth)
core <- make_core(ctn)
tbls <- retrieve_tables(ctn)
tbls[["events"]] # the events table
DBI::dbDisconnect(ctn)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.