Given a database object, function returns all attached tables in a list. If find_key = TRUE, function calls getTableDependencies() to identify which tables in the list are dependent on others, and attempts to find at least one table with no dependencies. If any are found, they are moved to the front of the list such that later query functions should always include at least one of them to ensure that a path between tables exists for all possible queries.
1 | getDBTables(database_object, find_key = TRUE, quiet = FALSE)
|
database_object |
A built SQLite database object, typically output by dbOMOP(). |
find_key |
Boolean; if TRUE, getTableDependencies() is used to identify and sort tables by dependencies. |
quiet |
Boolean; if TRUE, messages are reported for find_key steps (either names of independent tables or a warning that none were found). getDBTables() |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.