getDBTables: getDBTables

Description Usage Arguments

View source: R/getDBTables.R

Description

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.

Usage

1
getDBTables(database_object, find_key = TRUE, quiet = FALSE)

Arguments

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


AndrewC160/ROMOPOmics documentation built on Jan. 27, 2021, 6:57 p.m.