
Generate a codelist from the union of different codelists. The generated codelist will come out in alphabetical order.
unionCodelists.RdGenerate a codelist from the union of different codelists. The generated codelist will come out in alphabetical order.
Examples
# \donttest{
library(CodelistGenerator)
cdm <- mockVocabRef()
getDrugIngredientCodes(cdm,
nameStyle = "{concept_name}") |>
unionCodelists()
#>
#> ── 1 codelist ──────────────────────────────────────────────────────────────────
#>
#> - adalimumab_other_ingredient (2 codes)
# }