LA Deaths

Author

Caresse Cross Beard

Load Packages

library(tidyverse)
── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
✔ dplyr     1.2.1     ✔ readr     2.2.0
✔ forcats   1.0.1     ✔ stringr   1.6.0
✔ ggplot2   4.0.3     ✔ tibble    3.3.1
✔ lubridate 1.9.5     ✔ tidyr     1.3.2
✔ purrr     1.2.2     
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag()    masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
library(dplyr)
los_angeles <- read.csv("CDPH EpiCenter Death Data Table 11-29-2026_1047.csv")
glimpse(los_angeles)
Rows: 2,566
Columns: 5
$ Age              <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2,…
$ Sex              <chr> "Female", "Female", "Female", "Female", "Female", "Fe…
$ Education        <chr> "N/A (<25 Years Old)", "N/A (<25 Years Old)", "N/A (<…
$ Injury.Mechanism <chr> "Transportation: MVT-Occupant", "Transportation: Othe…
$ Count            <int> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
names(los_angeles)
[1] "Age"              "Sex"              "Education"        "Injury.Mechanism"
[5] "Count"           
unique(los_angeles$Education)
[1] "N/A (<25 Years Old)"              "High School"                     
[3] "Some College or Associate Degree" "Bachelor's Degree"               
[5] "Advanced Degree"                  "Unknown"                         
[7] "Less Than High School"           
unique(los_angeles$Injury.Mechanism)
 [1] "Transportation: MVT-Occupant"               
 [2] "Transportation: Other Land Transport"       
 [3] "Natural/Environmental"                      
 [4] "Suffocation"                                
 [5] "Other Specified: Classifiable"              
 [6] "Unspecified"                                
 [7] "Drowning/Submersion"                        
 [8] "Fall"                                       
 [9] "Poisoning"                                  
[10] "Transportation: MVT-Pedestrian"             
[11] "Other Specified: Not Elsewhere Classifiable"
[12] "Transportation: MVT-Unspecified"            
[13] "Cut/Pierce"                                 
[14] "Firearm"                                    
[15] "Transportation: Pedal Cyclist, Other"       
[16] "Transportation: Pedestrian, Other"          
[17] "Transportation: MVT-Motorcyclist"           
[18] "Struck By/Against"                          
[19] "Transportation: MVT-Pedal Cyclist"          
[20] "Fire/Burn: Fire/Flame"                      
[21] "Transportation: Other"                      
[22] "Transportation: Motor Vehicle, Nontraffic"  
[23] "Machinery"                                  
[24] "Fire/Burn: Hot Object/Substance"            
los_angeles_tidy <- los_angeles %>%
  mutate(
    age_group = case_when(
      Age < 25 ~ "Under 25",
      Age >= 25 & Age <= 35 ~ "25-35",
      Age >= 36 & Age <= 44 ~ "36-44",
      Age >= 45 & Age <= 64 ~ "45-64",
      Age >= 65 ~ "65+",
      TRUE ~ NA_character_
    )
  )
count(los_angeles_tidy, age_group)
  age_group   n
1     25-35 460
2     36-44 371
3     45-64 775
4       65+ 760
5  Under 25 200
mechanism_summary <- los_angeles_tidy %>%
  count(Injury.Mechanism, sort = TRUE)

mechanism_summary
                              Injury.Mechanism   n
1                                    Poisoning 469
2                                         Fall 378
3                                      Firearm 282
4               Transportation: MVT-Pedestrian 261
5                                  Suffocation 220
6                 Transportation: MVT-Occupant 219
7                          Drowning/Submersion  98
8                                   Cut/Pierce  95
9              Transportation: MVT-Unspecified  92
10            Transportation: MVT-Motorcyclist  74
11                                 Unspecified  59
12 Other Specified: Not Elsewhere Classifiable  58
13                       Fire/Burn: Fire/Flame  57
14               Other Specified: Classifiable  52
15           Transportation: Pedestrian, Other  30
16           Transportation: MVT-Pedal Cyclist  29
17                           Struck By/Against  27
18                       Natural/Environmental  20
19        Transportation: Pedal Cyclist, Other  14
20   Transportation: Motor Vehicle, Nontraffic  11
21                       Transportation: Other   9
22        Transportation: Other Land Transport   7
23             Fire/Burn: Hot Object/Substance   3
24                                   Machinery   2

Visualization Injury Mechanism

ggplot(mechanism_summary,
       aes(x = reorder(Injury.Mechanism, n), y = n)) +
  geom_col() +
  coord_flip() +
  labs(
    title = "Most Frequent Injury Mechanisms in Los Angeles",
    x = "Injury Mechanism",
    y = "Number of Deaths"
  ) +
  theme_minimal()

Analysis: Most Frequent Injury Mechanisms

The 3 highest causes of death in this data set is poisoning (469), followed by falls (378), and then firearms (282).

Visualization by gender

gender_summary <- los_angeles_tidy %>%
  count(Sex, Injury.Mechanism)

gender_summary
      Sex                            Injury.Mechanism   n
1  Female                                  Cut/Pierce  24
2  Female                         Drowning/Submersion  27
3  Female                                        Fall 147
4  Female                       Fire/Burn: Fire/Flame  20
5  Female             Fire/Burn: Hot Object/Substance   2
6  Female                                     Firearm  58
7  Female                                   Machinery   1
8  Female                       Natural/Environmental   5
9  Female               Other Specified: Classifiable  14
10 Female Other Specified: Not Elsewhere Classifiable  21
11 Female                                   Poisoning 198
12 Female                           Struck By/Against   5
13 Female                                 Suffocation  66
14 Female            Transportation: MVT-Motorcyclist   5
15 Female                Transportation: MVT-Occupant  82
16 Female           Transportation: MVT-Pedal Cyclist   3
17 Female              Transportation: MVT-Pedestrian 108
18 Female             Transportation: MVT-Unspecified  24
19 Female   Transportation: Motor Vehicle, Nontraffic   1
20 Female        Transportation: Other Land Transport   2
21 Female           Transportation: Pedestrian, Other   4
22 Female                                 Unspecified  17
23   Male                                  Cut/Pierce  71
24   Male                         Drowning/Submersion  71
25   Male                                        Fall 231
26   Male                       Fire/Burn: Fire/Flame  37
27   Male             Fire/Burn: Hot Object/Substance   1
28   Male                                     Firearm 224
29   Male                                   Machinery   1
30   Male                       Natural/Environmental  15
31   Male               Other Specified: Classifiable  38
32   Male Other Specified: Not Elsewhere Classifiable  37
33   Male                                   Poisoning 271
34   Male                           Struck By/Against  22
35   Male                                 Suffocation 154
36   Male            Transportation: MVT-Motorcyclist  69
37   Male                Transportation: MVT-Occupant 137
38   Male           Transportation: MVT-Pedal Cyclist  26
39   Male              Transportation: MVT-Pedestrian 153
40   Male             Transportation: MVT-Unspecified  68
41   Male   Transportation: Motor Vehicle, Nontraffic  10
42   Male                       Transportation: Other   9
43   Male        Transportation: Other Land Transport   5
44   Male        Transportation: Pedal Cyclist, Other  14
45   Male           Transportation: Pedestrian, Other  26
46   Male                                 Unspecified  42
ggplot(gender_summary,
       aes(x = Injury.Mechanism, y = n, fill = Sex)) +
  geom_col(position = "dodge") +
  coord_flip() +
  labs(
    title = "Injury Mechanisms by Gender",
    x = "Injury Mechanism",
    y = "No. of Deaths",
    fill = "Gender"
  ) +
  theme_minimal()

Analysis: Injury Mechanisms by Gender

The chart compares the number of deaths associated with different injury mechanisms among males and females. Overall, males had higher numbers of deaths than females across most injury mechanisms. Poisoning had the highest number of deaths among males, followed by firearm injuries and falls.

Visualization by Age

age_summary <- los_angeles_tidy %>%
  count(age_group, Injury.Mechanism)

age_summary
    age_group                            Injury.Mechanism   n
1       25-35                                  Cut/Pierce  21
2       25-35                         Drowning/Submersion  22
3       25-35                                        Fall  25
4       25-35                       Fire/Burn: Fire/Flame   6
5       25-35                                     Firearm  56
6       25-35                       Natural/Environmental   3
7       25-35               Other Specified: Classifiable  11
8       25-35 Other Specified: Not Elsewhere Classifiable  14
9       25-35                                   Poisoning  92
10      25-35                           Struck By/Against   3
11      25-35                                 Suffocation  42
12      25-35            Transportation: MVT-Motorcyclist  23
13      25-35                Transportation: MVT-Occupant  49
14      25-35           Transportation: MVT-Pedal Cyclist   3
15      25-35              Transportation: MVT-Pedestrian  46
16      25-35             Transportation: MVT-Unspecified  24
17      25-35   Transportation: Motor Vehicle, Nontraffic   1
18      25-35                       Transportation: Other   2
19      25-35        Transportation: Other Land Transport   1
20      25-35           Transportation: Pedestrian, Other   8
21      25-35                                 Unspecified   8
22      36-44                                  Cut/Pierce  24
23      36-44                         Drowning/Submersion   7
24      36-44                                        Fall  25
25      36-44                       Fire/Burn: Fire/Flame   7
26      36-44                                     Firearm  46
27      36-44                                   Machinery   1
28      36-44                       Natural/Environmental   1
29      36-44               Other Specified: Classifiable  11
30      36-44 Other Specified: Not Elsewhere Classifiable   7
31      36-44                                   Poisoning  84
32      36-44                           Struck By/Against   4
33      36-44                                 Suffocation  31
34      36-44            Transportation: MVT-Motorcyclist  14
35      36-44                Transportation: MVT-Occupant  30
36      36-44           Transportation: MVT-Pedal Cyclist   5
37      36-44              Transportation: MVT-Pedestrian  42
38      36-44             Transportation: MVT-Unspecified  12
39      36-44   Transportation: Motor Vehicle, Nontraffic   1
40      36-44        Transportation: Other Land Transport   1
41      36-44        Transportation: Pedal Cyclist, Other   1
42      36-44           Transportation: Pedestrian, Other   7
43      36-44                                 Unspecified  10
44      45-64                                  Cut/Pierce  32
45      45-64                         Drowning/Submersion  21
46      45-64                                        Fall  76
47      45-64                       Fire/Burn: Fire/Flame  17
48      45-64             Fire/Burn: Hot Object/Substance   1
49      45-64                                     Firearm  91
50      45-64                       Natural/Environmental   7
51      45-64               Other Specified: Classifiable  20
52      45-64 Other Specified: Not Elsewhere Classifiable  14
53      45-64                                   Poisoning 183
54      45-64                           Struck By/Against   8
55      45-64                                 Suffocation  70
56      45-64            Transportation: MVT-Motorcyclist  19
57      45-64                Transportation: MVT-Occupant  70
58      45-64           Transportation: MVT-Pedal Cyclist   9
59      45-64              Transportation: MVT-Pedestrian  69
60      45-64             Transportation: MVT-Unspecified  27
61      45-64   Transportation: Motor Vehicle, Nontraffic   3
62      45-64                       Transportation: Other   4
63      45-64        Transportation: Other Land Transport   3
64      45-64        Transportation: Pedal Cyclist, Other   7
65      45-64           Transportation: Pedestrian, Other   8
66      45-64                                 Unspecified  16
67        65+                                  Cut/Pierce  10
68        65+                         Drowning/Submersion  36
69        65+                                        Fall 242
70        65+                       Fire/Burn: Fire/Flame  26
71        65+             Fire/Burn: Hot Object/Substance   2
72        65+                                     Firearm  68
73        65+                                   Machinery   1
74        65+                       Natural/Environmental   5
75        65+               Other Specified: Classifiable   4
76        65+ Other Specified: Not Elsewhere Classifiable  20
77        65+                                   Poisoning  88
78        65+                           Struck By/Against   8
79        65+                                 Suffocation  52
80        65+            Transportation: MVT-Motorcyclist   8
81        65+                Transportation: MVT-Occupant  44
82        65+           Transportation: MVT-Pedal Cyclist  10
83        65+              Transportation: MVT-Pedestrian  88
84        65+             Transportation: MVT-Unspecified  15
85        65+   Transportation: Motor Vehicle, Nontraffic   6
86        65+                       Transportation: Other   3
87        65+        Transportation: Other Land Transport   1
88        65+        Transportation: Pedal Cyclist, Other   4
89        65+                                 Unspecified  19
90   Under 25                                  Cut/Pierce   8
91   Under 25                         Drowning/Submersion  12
92   Under 25                                        Fall  10
93   Under 25                       Fire/Burn: Fire/Flame   1
94   Under 25                                     Firearm  21
95   Under 25                       Natural/Environmental   4
96   Under 25               Other Specified: Classifiable   6
97   Under 25 Other Specified: Not Elsewhere Classifiable   3
98   Under 25                                   Poisoning  22
99   Under 25                           Struck By/Against   4
100  Under 25                                 Suffocation  25
101  Under 25            Transportation: MVT-Motorcyclist  10
102  Under 25                Transportation: MVT-Occupant  26
103  Under 25           Transportation: MVT-Pedal Cyclist   2
104  Under 25              Transportation: MVT-Pedestrian  16
105  Under 25             Transportation: MVT-Unspecified  14
106  Under 25        Transportation: Other Land Transport   1
107  Under 25        Transportation: Pedal Cyclist, Other   2
108  Under 25           Transportation: Pedestrian, Other   7
109  Under 25                                 Unspecified   6
top_5_injuries <- mechanism_summary %>%
  slice_max(order_by = n, n = 5)
age_summary_top5 <- age_summary %>%
  filter(Injury.Mechanism %in% top_5_injuries$Injury.Mechanism)
ggplot(age_summary_top5,
       aes(x = age_group, y = n, fill = Injury.Mechanism)) +
  geom_col() +
  labs(
    title = "Top 5 Injury Mechanisms Across Age Groups",
    x = "Age Group",
    y = "Number of Deaths",
    fill = "Injury Mechanism"
  ) +
  theme_minimal()

Analysis: Top 5 Injury Mechanisms Across Age Groups

The chart shows the five most common injury mechanisms across different age groups.

The 65+ age group had the highest number of deaths, with falls being the most common injury. The 45–64 age group also had a high number of deaths, with poisoning being one of the most common causes.

For the younger age groups (25–35 and 36–44), poisoning was also a major injury mechanism. The Under 25 age group had the lowest number of deaths.

Overall, the chart shows that injury mechanisms vary across age groups. Falls were more common among older adults, while poisoning appeared frequently in younger and middle-aged groups.