R/uploadToDatabase.R
createDatabaseSchemaSettings.Rd
This function specifies where the results schema is and lets you pick a different schema for the cohorts and databases
createDatabaseSchemaSettings(
resultSchema = "main",
tablePrefix = "",
targetDialect = "sqlite",
tempEmulationSchema = getOption("sqlRenderTempEmulationSchema"),
cohortDefinitionSchema = resultSchema,
tablePrefixCohortDefinitionTables = tablePrefix,
databaseDefinitionSchema = resultSchema,
tablePrefixDatabaseDefinitionTables = tablePrefix
)
(string) The name of the database schema with the result tables.
(string) A string that appends to the PatientLevelPrediction result tables
(string) The database management system being used
(string) The temp schema used when the database management system is oracle
(string) The name of the database schema with the cohort definition tables (defaults to resultSchema).
(string) A string that appends to the cohort definition tables
(string) The name of the database schema with the database definition tables (defaults to resultSchema).
(string) A string that appends to the database definition tables
Returns a list of class 'plpDatabaseResultSchema' with all the database settings
This function can be used to specify the database settings used to upload PatientLevelPrediction results into a database