Table 6.2 Top 10 causes of death (all ages, both sexes)
Usage
create_t6.2(
death_data,
cause,
date_var = "dodyr",
tablename = "Table_6_2",
output_path = NULL
)
Arguments
- cause
Dictionary with the causes of deaths
- date_var
year of data: dodyr or doryr
- tablename
name of the table being saved as a csv file
- output_path
The path to export the generated table
- data
data frame being used
Value
Returns data frame with tabulated results
Examples
t6.2 <- create_t6.2(dth_data, cause)
#> Error: object 'dth_data' not found