Skip to content

Erros [...] CohortGenerator requires the following columns in the settings file: "cohortId", "cohortName". #29

@lhjohn

Description

@lhjohn

Seeing this error with a prediction package. Seems to be some interaction with CohortGenerator.

Error in CohortGenerator::getCohortDefinitionSet(packageName = "EmcDementiaPredictionBase",  :                            
  Assertion on 'names(settings)' failed: CohortGenerator requires the following columns in the settings file: "cohortId", "cohortName". The following columns were found: "cohortname", "cohortid", "webapicohortid".
In addition: Warning message:
In readCsv(file = getPath(fileName = settingsFileName)) :

The actual file "Cohorts.csv" looks like this:

"cohortName","cohortId","webApiCohortId"
"[HJ] Dementia Prediction - 55-84y - v3","5920","5920"
"[HJ] Dementia (Phenotype February)","6243","6243"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions