View source: R/databaseCharacteristics.R
databaseCharacteristics | R Documentation |
Summarise Database Characteristics for OMOP CDM
databaseCharacteristics(
cdm,
omopTableName = c("person", "observation_period", "visit_occurrence",
"condition_occurrence", "drug_exposure", "procedure_occurrence", "device_exposure",
"measurement", "observation", "death"),
sex = FALSE,
ageGroup = NULL,
dateRange = NULL,
interval = "overall",
conceptIdCount = FALSE,
...
)
cdm |
A |
omopTableName |
A character vector specifying the OMOP tables from the CDM to include in the analysis. If "person" is present, it will only be used for missing value summarisation. |
sex |
Logical; whether to stratify results by sex ( |
ageGroup |
A list of age groups to stratify the results by. Each element represents a specific age range. |
dateRange |
A vector of two dates defining the desired study period.
Only the |
interval |
Time interval to stratify by. It can either be "years", "quarters", "months" or "overall". |
conceptIdCount |
Logical; whether to summarise concept ID counts ( |
... |
additional arguments passed to the OmopSketch functions that are used internally. |
A summarised_result
object containing the results of the characterisation.
cdm <- mockOmopSketch(numberIndividuals = 100)
result <- databaseCharacteristics(cdm)
PatientProfiles::mockDisconnect(cdm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.