View source: R/uploadToDatabase.R
createPlpResultTables | R Documentation |
This function executes a large set of SQL statements to create tables that can store models and results
createPlpResultTables(
connectionDetails,
targetDialect = "postgresql",
resultSchema,
deleteTables = T,
createTables = T,
tablePrefix = "",
tempEmulationSchema = getOption("sqlRenderTempEmulationSchema"),
testFile = NULL
)
connectionDetails |
The database connection details |
targetDialect |
The database management system being used |
resultSchema |
The name of the database schema that the result tables will be created. |
deleteTables |
If true any existing tables matching the PatientLevelPrediction result tables names will be deleted |
createTables |
If true the PatientLevelPrediction result tables will be created |
tablePrefix |
A string that appends to the PatientLevelPrediction result tables |
tempEmulationSchema |
The temp schema used when the database management system is oracle |
testFile |
(used for testing) The location of an sql file with the table creation code |
This function can be used to create (or delete) PatientLevelPrediction result tables
Returns NULL but creates the required tables into the specified database schema(s).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.