(D)ate (C)onsistency (C)omparison Inconsistent Records
Source:R/dcc_inconsistent.R
dcc_inconsistent.RdThis function returns a record-level table of all inconsistent and "date missing" entries, including the day difference between the two dates.
Arguments
- data.EIR
Data frame. A data frame containing individual vaccination records. See
immunABC.EIRfor expected structure.- date_1
Character. The name of a DATE formatted variable present in the EIR. This variable is the date we are checking for consistency.
- date_2
Character. The name of a DATE formatted variable present in the EIR. This variable is the date we are checking consistency against. Represents a date chronologically earlier than date_1.
- birth_cohorts
Numeric (optional). A vector specifying the birth cohort(s) for which inconsistent records should be returned. If
NULL(default), all available cohorts are used.