compareCodelists {CodelistGenerator} | R Documentation |
Compare two codelists
Description
Compare two codelists
Usage
compareCodelists(codelist1, codelist2)
Arguments
codelist1 |
Output of getCandidateCodes |
codelist2 |
Output of getCandidateCodes |
Value
tibble
Examples
## Not run:
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)
## End(Not run)
[Package CodelistGenerator version 3.1.0 Index]