Data for a Particular Disease
generate_disease_df.RdData for a Particular Disease
Arguments
- canmod_cdi
Dataset from IIDDA of type
CANMOD CDI.- disease_name
Name to match in the
nesting_diseasecolumn of aCANMOD CDIdataset.- years
If not
NULL, a vector of years to keep in the output data.- add_gaps
If
TRUE, add records withNAincases_this_periodthat correspond to time-periods without any data.