Creates Tables 6.5 to 6.10
create_t6.5_t6.10.Rd
Table 6.5 Ten leading causes of death, infants and children (0–4 years, both sexes combined)
Table 6.6 Ten leading causes of death, children (5–14 years, both sexes combined)
Table 6.7 Ten leading causes of death, adolescents and adults (15–69 years, males)
Table 6.8 Ten leading causes of death, adolescents and adults (15–69 years, females)
Table 6.9 Ten leading causes of death, older adults (70+ years, males)
Table 6.10 Ten leading causes of death, older adults (70+ years, females),
Usage
create_t6.5_t6.10(
data,
data_year = NA,
sex_value = "male",
age_group = "<5",
tablename = "Table_6_5",
output_path = NULL
)
Arguments
- data
data frame being used
- data_year
The year to report on. Defaults to the last in the data.
- sex_value
whether male or female
- age_group
which age group is being used e.g. "<5"
- tablename
Name of the table to be saved as a csv file. Optional.
- output_path
The path to export the generated csv table. Optional.