This function calculates the percentage of duplicate records in the electronic immunization registry (EIR) according to their reported month of vaccination, further disaggregating by geographic level. It essentially performs the same calculation as dd_rate, but disaggregates by time in order to spot any possible trends. Repeated records are not included: to explore them, use dd_repeat_plot.
Arguments
- data.EIR
Data frame. A data frame containing individual vaccination records. See
immunABC.EIRfor expected structure.- geo_level
Character. The geographic level to aggregate results by. Must be "ADM0", "ADM1" or "ADM2". If not specified, the default is "ADM0".
- vaccines
Character (optional). A character vector specifying the doses to include in the analysis. If
NULL(default), all doses indata.EIRare included.- birth_cohorts
Numeric (optional). A vector specifying the birth cohort(s) for which the rate should be calculated. If
NULL(default), all available cohorts are used.