Closed estone96 closed 3 years ago
Yes, sorry, should have mentioned clearer. After saving the cohortMethodData object using saveCohortMethodData
, you need to load it again using loadCohortMethodData
. This unfortunately is a feature
of RSQLite: you cannot save a SQLite database without closing it first, and you cannot open it after closing without reloading it.
Hi.
In executing the cohort method and after save cohortMethodData, "Error.~~~" was occurred and no more loading. The bunch of code and message are followed
Inherits from CovariateData: CovariateData object
All cohorts
Inherits from Andromeda: Andromeda object x Connection closed
Target cohort ID: 1 Comparator cohort ID: 2 Outcome cohort ID(s): 3
Inherits from CovariateData: CovariateData object
All cohorts
Inherits from Andromeda: Andromeda object Physical location: C:\Users\yeesuk\AppData\Local\Temp\Rtmpkf2mCj\file34581a31246d.sqlite
Tables: $analysisRef (analysisId, analysisName, domainId, startDay, endDay, isBinary, missingMeansZero) $cohorts (rowId, subjectId, treatment, cohortStartDate, daysFromObsStart, daysToCohortEnd, daysToObsEnd) $covariateRef (covariateId, covariateName, analysisId, conceptId) $covariates (rowId, covariateId, covariateValue) $outcomes (rowId, outcomeId, daysToEvent)