Data for a Particular Disease
generate_disease_df.Rd
Data for a Particular Disease
Arguments
- canmod_cdi
Dataset from IIDDA of type `CANMOD CDI`.
- disease_name
Name to match in the `nesting_disease` column of a `CANMOD CDI` dataset.
- years
If not `NULL`, a vector of years to keep in the output data.
- add_gaps
If `TRUE`, add records with `NA` in `cases_this_period` that correspond to time-periods without any data.