This is the code I ran:
cdm <- DrugUtilisation::generateAtcCohortSet(cdm = cdm, name = "anticholinesterases_feldman", atcName = "Anticholinesterases", level = c("ATC 4th"))
This is the error I got:
Error incheckConceptSet(): ! conceptSet must be a uniquely named list of integerish, no NA are allowed
Thanks to @catalamarti , the issue is because of when running
CodelistGenerator::getATCCodes(cdm = cdm, level = "ATC 4th", name = "Anticholinesterases")
it produces two lists both named anticholinesterases.
@edward-burn do you reckon this is an issue that belongs here or over in CodelistGenerator?
This is the code I ran:
cdm <- DrugUtilisation::generateAtcCohortSet(cdm = cdm, name = "anticholinesterases_feldman", atcName = "Anticholinesterases", level = c("ATC 4th"))
This is the error I got:
Error in
checkConceptSet(): ! conceptSet must be a uniquely named list of integerish, no NA are allowed
Thanks to @catalamarti , the issue is because of when running
CodelistGenerator::getATCCodes(cdm = cdm, level = "ATC 4th", name = "Anticholinesterases")
it produces two lists both named
anticholinesterases
.@edward-burn do you reckon this is an issue that belongs here or over in CodelistGenerator?