Skip to contents

Compare two codelists

Usage

compareCodelists(codelist1, codelist2)

Arguments

codelist1

Output of getCandidateCodes

codelist2

Output of getCandidateCodes

Value

tibble

Examples

if (FALSE) {
cdm <- mockVocabRef()
codes1 <- getCandidateCodes(
 cdm = cdm,
 keywords = "Arthritis",
 domains = "Condition",
 includeDescendants = TRUE
)
codes2 <- getCandidateCodes(
 cdm = cdm,
 keywords = c("knee osteoarthritis", "arthrosis"),
 domains = "Condition",
 includeDescendants = TRUE
)
compareCodelists(
 codelist1 = codes1,
 codelist2 = codes2
)
CDMConnector::cdmDisconnect(cdm)
}