Summarise missing data in omop tables
summariseMissingData(
cdm,
omopTableName,
col = NULL,
sex = FALSE,
year = lifecycle::deprecated(),
interval = "overall",
ageGroup = NULL,
sample = 1e+06,
dateRange = NULL
)
A summarised_result object with results overall and, if specified, by strata.
A cdm object
A character vector of the names of the tables to summarise in the cdm object.
A character vector of column names to check for missing values.
If NULL
, all columns in the specified tables are checked. Default is NULL
.
TRUE or FALSE. If TRUE code use will be summarised by sex.
deprecated
Time interval to stratify by. It can either be "years", "quarters", "months" or "overall".
A list of ageGroup vectors of length two. Code use will be thus summarised by age groups.
An integer to sample the table to only that number of records. If NULL no sample is done.
A vector of two dates defining the desired study period.
Only the start_date
column of the OMOP table is checked to ensure it falls within this range.
If dateRange
is NULL
, no restriction is applied.