summariseAchillesCodeUse {CodelistGenerator} | R Documentation |
Summarise code use from achilles counts
Description
Summarise code use from achilles counts
Usage
summariseAchillesCodeUse(
x,
cdm,
countBy = c("record", "person"),
minCellCount = lifecycle::deprecated()
)
Arguments
x |
Codelist |
cdm |
cdm_reference via CDMConnector::cdm_from_con() |
countBy |
Either "record" for record-level counts or "person" for person-level counts |
minCellCount |
|
Value
A tibble with results
Examples
## Not run:
cdm <- mockVocabRef("database")
oa <- getCandidateCodes(cdm = cdm, keywords = "osteoarthritis")
result_achilles <- summariseAchillesCodeUse(list(oa = oa$concept_id), cdm = cdm)
result_achilles
CDMConnector::cdmDisconnect(cdm)
## End(Not run)
[Package CodelistGenerator version 3.1.0 Index]