Error in formatChunk(pkValuesInDb = env$primaryKeyValuesInDb, chunk = chunk) : concept_set_id is of type numeric which cannot be converted between data frames pkValuesInDb and chunk #1121
I'm getting the following error when I run CohortDiagnostics::createMergedResultsFile(dataFolder = exportFolder, overwrite = TRUE)
Error in formatChunk(pkValuesInDb = env$primaryKeyValuesInDb, chunk = chunk) :
concept_set_id is of type numeric which cannot be converted between data frames pkValuesInDb and chunk
The issue seems to be with the concept_sets.csv table and coming from the fomatChunk in ResultsModelManger function.
I'm guessing that when the file is read in the column type for concept_set_id is numeric instead of integer but I don't really know yet where the issue is.
Encountered the same issue with ResultsModelManager v0.5.7, but was solved after updating to the latest version.
Seems to be fixed now in v0.5.8 through this commit.
I'm getting the following error when I run
CohortDiagnostics::createMergedResultsFile(dataFolder = exportFolder, overwrite = TRUE)
The issue seems to be with the concept_sets.csv table and coming from the fomatChunk in ResultsModelManger function.
I'm guessing that when the file is read in the column type for concept_set_id is numeric instead of integer but I don't really know yet where the issue is.
Here is the traceback