This function combines diagnostics results from one or more databases into a single file. The result is an sqlite database that can be used as input for the Diagnostics Explorer Shiny app.
It also checks whether the results conform to the results data model specifications.
createMergedResultsFile(
dataFolder,
sqliteDbPath = "MergedCohortDiagnosticsData.sqlite",
overwrite = FALSE,
tablePrefix = ""
)
folder where the exported zip files for the diagnostics are stored. Use
the executeDiagnostics
function to generate these zip files.
Zip files containing results from multiple databases may be placed in the same
folder.
Output path where sqlite database is placed
(Optional) overwrite existing sqlite lite db if it exists.
(Optional) string to insert before table names (e.g. "cd_") for database table names