| fl_deaths | R Documentation |
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.
A data.frame with 3,066 rows and 6 columns:
5-digit FIPS code (character), e.g. "12086".
County name, e.g. "Miami-Dade County".
ICD-10 cause of death code, e.g. "I25.1".
Description of the ICD-10 code, e.g.
"Atherosclerotic heart disease".
Number of deaths (integer).
County population estimate (integer).
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")]).
CDC WONDER Compressed Mortality File 1999–2016 (https://wonder.cdc.gov/cmf-icd10.html).
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.