Creates Table 5.5
create_t5_5.Rd
Table 5.5 Deaths by region of death and site of occurrence
Variables needed per record:
- `dodyr`: Year of death.
- `death1c`: Region of death.
- `death1n`: Site of occurrence.
Usage
create_t5_5(
data,
date_var = "dodyr",
data_year = NA,
tablename = "Table_5_5",
output_path = NULL
)
Examples
death_data <- construct_sample_death_data()
death_data <- construct_year(death_data, date_col = "death1a", year_col = "dodyr")
table_5_5 <- create_t5_5(death_data, date_var= "dodyr", data_year = 2022)