load_database {DQAstats} | R Documentation |
load_database helper function
Description
Internal function to load the data from SQL databases.
Usage
load_database(
rv,
sql_statements,
db_con,
keys_to_test,
db_name,
headless = FALSE,
db_type
)
Arguments
rv |
A list object. Internal list simulating Shiny's 'reactive values'. |
sql_statements |
The SQL-Statement-object |
db_con |
The connection-socket |
keys_to_test |
A vector containing the names (keys) of the variables to test. |
db_name |
The database name |
headless |
A boolean (default: FALSE). Indicating, if the function is run only in the console (headless = TRUE) or on a GUI frontend (headless = FALSE). |
db_type |
The database type (postgres/oracle) |
Value
A list with a data.table for each data element as defined in the in the MDR.
[Package DQAstats version 0.3.5 Index]