R/RunCharacterization.R
runCharacterizationAnalyses.Rd
Specify the database connection containing the CDM data, the cohort database schemas/tables, the characterization settings and the directory to save the results to
runCharacterizationAnalyses(
connectionDetails,
targetDatabaseSchema,
targetTable,
outcomeDatabaseSchema,
outcomeTable,
tempEmulationSchema = NULL,
cdmDatabaseSchema,
characterizationSettings,
saveDirectory,
tablePrefix = "c_",
databaseId = "1",
showSubjectId = F,
minCellCount = 0
)
The connection details to the database containing the OMOP CDM data
Schema name where your target cohort table resides. Note that for SQL Server, this should include both the database and schema name, for example 'scratch.dbo'.
Name of the target cohort table.
Schema name where your outcome cohort table resides. Note that for SQL Server, this should include both the database and schema name, for example 'scratch.dbo'.
Name of the outcome cohort table.
Some database platforms like Oracle and Impala do not truly support temp tables. To emulate temp tables, provide a schema with write privileges where temp tables can be created
The schema with the OMOP CDM data
The study settings created using createCharacterizationSettings
The location to save the results to
A string to append the tables in the results
The unique identifier for the cdm database
Whether to include subjectId of failed rechallenge case series or hide
The minimum count value that is calculated
An sqlite database with the results is saved into the saveDirectory and a csv file named tacker.csv details which analyses have run to completion.
The results of the characterization will be saved into an sqlite database inside the specified saveDirectory