Calculates Table 5.1 Deaths summary table
create_t5.1.Rd
Table 5.1 Summary statistics on mortality by year of occurrence
Examples
death_data <- construct_sample_death_data()
estim_death_data <- construct_sample_estim_death_data()
sample_pop_estim <- construct_sample_pop_estim()
death_data <- construct_year(death_data, date_col = "death1a", year_col = "dodyr")
table_5_1 <- create_t5.1(data = death_data, est_data = estim_death_data, pops = sample_pop_estim, tablename = "Table_5_1")