This function create an sqlite database with the PLP result schema and inserts all results
insertResultsToSqlite(
resultLocation,
cohortDefinitions,
databaseList = NULL,
sqliteLocation = file.path(resultLocation, "sqlite")
)
(string) location of directory where the main package results were saved
A set of one or more cohorts extracted using ROhdsiWebApi::exportCohortDefinitionSet()
A list created by createDatabaseList
to specify the databases
(string) location of directory where the sqlite database will be saved
Returns the location of the sqlite database file
This function can be used upload PatientLevelPrediction results into an sqlite database