fl_deaths: Florida General Mortality Data (2016)

fl_deathsR Documentation

Florida General Mortality Data (2016)

Description

Death counts by county and ICD-10 cause of death for the state of Florida, USA, 2016. This is raw data – the user builds the ICD-10 tree and cases matrix in the analysis script, making it a pedagogical example of the full workflow.

Format

A data.frame with 3,066 rows and 6 columns:

county_fips

5-digit FIPS code (character), e.g. "12086".

county_name

County name, e.g. "Miami-Dade County".

icd10_code

ICD-10 cause of death code, e.g. "I25.1".

icd10_desc

Description of the ICD-10 code, e.g. "Atherosclerotic heart disease".

deaths

Number of deaths (integer).

population

County population estimate (integer).

Details

Covers 65 of Florida's 67 counties, 253 ICD-10 codes, and 157,000 total deaths. All ages, all causes.

County polygons and centroids can be obtained via tigris::counties(state = "FL", cb = TRUE).

The ICD-10 descriptions in icd10_desc can be used to build a lookup table: unique(fl_deaths[, c("icd10_code", "icd10_desc")]).

Source

CDC WONDER Compressed Mortality File 1999–2016 (https://wonder.cdc.gov/cmf-icd10.html).

Examples

data(fl_deaths)
head(fl_deaths)
cat("Counties:", length(unique(fl_deaths$county_fips)), "\n")
cat("ICD-10 codes:", length(unique(fl_deaths$icd10_code)), "\n")
cat("Total deaths:", sum(fl_deaths$deaths), "\n")

treeSS documentation built on May 16, 2026, 1:08 a.m.