Selection data from the 122 Cities Mortality Reporting System by age group.
Details
The original dataset covers from 1962 to 2016. For each week, in 122 US cities, mortality figures by age group and cause, considered separately, are included.
See also
Other mrs example data:
ft_age_rpd
,
ft_cause_rpd
,
ft_num
,
ft
,
mrs_db_geo
,
mrs_db
,
mrs_ft_new
,
mrs_ft
Examples
# The operations to obtain it from the `ft` data set are:
if (rlang::is_installed("stringr")) {
ft_age <- ft |>
dplyr::select(-`Pneumonia and Influenza Deaths`, -`All Deaths`) |>
tidyr::gather("Age", "All Deaths", 7:11) |>
dplyr::mutate(`All Deaths` = as.integer(`All Deaths`)) |>
dplyr::mutate(Age = stringr::str_replace(Age, " \\(all cause deaths\\)", ""))
}