title: “Public Health and Economic Impacts of 2024 U.S. Severe Weather Events”
author: “Lani Kegler”
date: “2026-12-01”
output: html_document

Synopsis:

Severe weather events across the United States cause serious harm to communities, property, and local economies. This report analyzes the 2024 National Oceanic and Atmospheric Administration (NOAA) Storm Events Database by combining event details, location data, and fatality records. After cleaning the raw CSV files and converting damage estimates into dollar amounts, we analyze which storm types cause the most deaths and injuries, which states and months see the most severe weathert, and which events cause the highest financial losses.

Data Processing

All data loading and cleaning steps are performed within this R Markdown document starting from the raw 2024 NOAA Storm Events CSV files (‘details’, ‘fatalities, and ’locations’) without external processing. We read the mentioned files into R, summarize locations and fatalities by ‘EVENT_ID to avoid duplicate rows, and merge them into a single data set. Finally, we sum direct and indirect casualties, convert property and crop damage codes (’K’, ‘M’, ‘B’) into numeric dollar values, and order month names chronologically.

1. Loading Required Libraries

library(dplyr)
## 
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
library(tidyr)
library(ggplot2)
library(patchwork)
## Warning: package 'patchwork' was built under R version 4.6.2
library(scales)

2. Downloading and Joining Raw NOAA Data sets

details_file <- "StormEvents_details-ftp_v1.0_d2024_c20261119.csv"
fatalities_file <- "StormEvents_fatalities-ftp_v1.0_d2024_c20261119.csv"
locations_file <- "StormEvents_locations-ftp_v1.0_d2024_c20261119.csv"

# Read the raw compressed CSV files directly into R
storm_details <- read.csv(details_file, stringsAsFactors = FALSE)
storm_fatalities <- read.csv(fatalities_file, stringsAsFactors = FALSE)
storm_locations <- read.csv(locations_file, stringsAsFactors = FALSE)

# Group locations by EVENT_ID so rows don't duplicate
loc_summary <- storm_locations %>%
  group_by(EVENT_ID) %>%
  summarise(
    location_count = n(),
    avg_lat = mean(LATITUDE, na.rm = TRUE),
    avg_lon = mean(LONGITUDE, na.rm = TRUE),
    .groups = "drop"
  )

fat_summary <- storm_fatalities %>%
  group_by(EVENT_ID) %>%
  summarise(
    recorded_fatality_rows = n(),
    .groups = "drop"
  )

# Join all three data setsby EVENT_ID and export the combined data set
StormEvents_joined_data <- storm_details %>%
  left_join(loc_summary, by = "EVENT_ID") %>%
  left_join(fat_summary, by = "EVENT_ID")

write.csv(StormEvents_joined_data, "StormEvents_joined_data.csv", row.names = FALSE)
dim(StormEvents_joined_data)
## [1] 69802    55

#3. Data Transformations and Cleaning

# Helper function to convert NOAA damage strings into numeric dollars

parse_damage <- function(x){
  x <- trimws(toupper(x))
  num <- suppressWarnings(as.numeric(gsub("[KMB]", "", x)))
  multplier <- case_when(
    grepl("K$", x) ~ 1e3,
    grepl("M$", x) ~ 1e6,
    grepl("B$", x) ~ 1e9,
    TRUE ~ 1
  )
  result <- num * multplier
  ifelse(is.na(result), 0, result)
  
}

# Apply transformations

storm_clean <- StormEvents_joined_data %>%
  mutate(
    # Total casualties (direct and indirect)
    total_deaths = coalesce(DEATHS_DIRECT, 0) + coalesce(DEATHS_INDIRECT,0),
    total_injuries = coalesce(INJURIES_DIRECT,0) + coalesce(INJURIES_INDIRECT,0),
    total_casualties = total_deaths + total_injuries,
    
    # Numeric property and crop damage
    prop_dmg_usd = parse_damage(DAMAGE_PROPERTY),
    crop_dmg_usd = parse_damage(DAMAGE_CROPS),
    total_dmg_usd = prop_dmg_usd + crop_dmg_usd,
    
    # Chronological month factor
    MONTH_NAME = factor(MONTH_NAME, levels = month.name)
  )


summary(storm_clean[, c("total_deaths", "total_injuries", "total_dmg_usd")])
##   total_deaths      total_injuries     total_dmg_usd      
##  Min.   : 0.00000   Min.   : 0.00000   Min.   :0.000e+00  
##  1st Qu.: 0.00000   1st Qu.: 0.00000   1st Qu.:0.000e+00  
##  Median : 0.00000   Median : 0.00000   Median :0.000e+00  
##  Mean   : 0.01635   Mean   : 0.02636   Mean   :2.578e+05  
##  3rd Qu.: 0.00000   3rd Qu.: 0.00000   3rd Qu.:0.000e+00  
##  Max.   :42.00000   Max.   :80.00000   Max.   :1.075e+09

Results

Question 1: Which types of Events are most harmful to population health?

To evaluate public health impacts across the United States, we aggregate both total fatalities (direct and indirect) and total injuries (direct and indirect) by ‘EVENT_TYPE’.

health_impact <- storm_clean %>% group_by(EVENT_TYPE) %>% summarise( Deaths = sum(total_deaths), Injuries = sum(total_injuries), Total_casualties = sum(total_casualties), .groups = "drop" )

top_deaths <- health_impact %>% arrange(desc(Deaths)) %>% slice_head(n = 10)
top_injuries <- health_impact %>% arrange(desc(Injuries)) %>% slice_head(n = 10)

p1 <- ggplot(top_deaths, aes(x = reorder(EVENT_TYPE, Deaths), y = Deaths)) +
geom_col(fill = "#b22222") + 
coord_flip() + labs(title = "Top 10 Event Types By Fatalities (2024)", x = NULL, y = "Total Deaths (Direct and Indirect") +
theme_minimal()

p2 <- ggplot(top_injuries, aes(x = reorder(EVENT_TYPE, Injuries), y = Injuries)) + 
geom_col(fill = "#b22222") + 
coord_flip() + labs(title = "Top 10 Event Types by Injuries (2024)", x = NULL, y = "Total Injuries (Direct and Indirect)"
) +
theme_minimal()

# Figure 1: Combined two-panel plot

p1 + p2 + plot_annotation( title = "Figure 1: Severe Weather Events Most Harmful to U.S. Population Health", caption = "Source: NOAA Storm Events Database (2024)"

)

Interpretation: Different types of weather drive deaths veruses injuries. Extreme heat, flash floods, and tornadoes caused the highest number of deaths in 2024, while tornadoes and thunderstorm winds caused the most injuries.


Question 2: Which Types of Events Occur Most Frequently in Which States?

Next, we identify the top U.S. states/ territories by overall severe weather volume and examine the composition of the most frequent event types within those states.

# Identify top 10 states by total event count

top_states <- storm_clean %>%
  count(STATE, sort = TRUE) %>%
  slice_head(n = 10) %>%
  pull(STATE)
  
# Identify top 5 event types overall; group remaining types as "Other"

top_5_events <- storm_clean %>%
  count(EVENT_TYPE, sort = TRUE) %>%
  slice_head(n = 5) %>%
  pull(EVENT_TYPE)


state_event_summary <- storm_clean %>%
  filter(STATE %in% top_states) %>%
  mutate(Event_Category = ifelse(EVENT_TYPE %in% top_5_events, EVENT_TYPE, "Other")) %>%
  count(STATE, Event_Category)

# Figure 2: Stacked horizontal bar chart of event types across top 10 states

ggplot(state_event_summary, aes(x = reorder(STATE, n , sum), y = n, fill = Event_Category)) + 
  geom_col() + 
  coord_flip() +
  scale_y_continuous(labels = comma) +
  scale_fill_brewer(palette = "Set2") +
  labs(
    title = "Figure 2: Most Frequent Storm Event Types Across Top 10 States (2024)",
    subtitle = "Breakdown of the top 5 nationwide event categories vs. all other events",
    x = NULL,
    y = "Number of Recorded Events",
    fill = "Event Type",
    caption = "Source: NOAA Storm Events Database (2024)"
  ) +
  theme_minimal()

Interpretation: Central Plains and Midwestern states, especially Texas, Kansas, and Nebraska recorded the most severe weather events in 2024. Across nearly all of the top 10 states, thunderstorm winds and hail make up the majority of reported events.

Question 3: Which Types of Events Are Characterized by Which Months?

To help emergency managers anticipate seasonal shifts, we examine the monthly distribution of the six most common severe weather event types across the calendar.

top_6_events <- storm_clean %>%
  count(EVENT_TYPE, sort = TRUE) %>%
  slice_head(n = 6) %>%
  pull(EVENT_TYPE)

monthly_events <- storm_clean %>%
filter(EVENT_TYPE %in% top_6_events, !is.na(MONTH_NAME)) %>%
count(MONTH_NAME, EVENT_TYPE)

# Figure 3: Seasonal Profile by Event Type

ggplot(monthly_events, aes(x = MONTH_NAME, y = n, group = EVENT_TYPE, color = EVENT_TYPE)) +
  geom_line(linewidth = 1) +
  geom_point(size = 2) +
  facet_wrap(~ EVENT_TYPE, scales = "free_y", ncol = 2) + 
  scale_x_discrete(labels = month.abb) +
  scale_y_continuous(labels = comma) +
  labs(
    title = "Figure 3: Montly Seasonality of Major Storm Event Types (2024)",
    subtitle = "Note: Y-axes are scaled independently to highlight seasonal peaks per hazard",
    x = "Month",
    y = "Event Count",
    caption = "Source: NOAA Storm Events Database (2024)") +
  theme_minimal() +
  theme(legend.position = "none", axis.text.x = element_text(angle = 45, hjust = 1))

Interpretation: Severe weather exhibits clear seasonal clustering:

  1. Spring and Summer (May-July): Hazards specifically Thunderstorm, Wind, Hail, and Flash Floods surge sharply during late spring and mid summer.

  2. Winter (December-February): Winter weather and Heavy Snow and High Wind dominate the cold-season months.

Question 4(Custom Research Question): Which Event Types Cause the Greatest Economic Damage (Property vs.Crops)?

Beyond human casualties, municipal planners must budget for infrastructure recover and agricultural; relief. Here, we investigate which event types produce the highest combined economic losses and how those losses split between property damage and crop damage.

econ_summary <- storm_clean %>%
group_by(EVENT_TYPE) %>%
  summarise(
  Property_Damage = sum(prop_dmg_usd),
  Crop_Damage = sum(crop_dmg_usd),
  Total_Damage = sum(total_dmg_usd),
  .groups = "drop"
  ) %>%
  arrange(desc(Total_Damage)) %>%
  slice_head(n = 10)

econ_long <- econ_summary %>%
select(EVENT_TYPE, Property_Damage, Crop_Damage) %>%
pivot_longer(cols = c(Property_Damage, Crop_Damage), names_to = "Damage_Type", values_to = "USD")%>%
mutate(Damage_Type = recode(Damage_Type, "Property_Damage" = "Property Damage", "Crop_Damage" = "Crop Damage"))

# Figure 4: Economic Losses by Event Type

ggplot(econ_long, aes(x = reorder(EVENT_TYPE, USD,sum), y = USD / 1e9, fill = Damage_Type)) +
geom_col() +
coord_flip() +
scale_y_continuous(labels = dollar_format(suffix = "B")) +
scale_fill_manual(values = c("Property Damage" = "#2c3e50", "Crop Damage" = "#27ae60")) +
labs(
  title = "Figure 4: Top 10 Storm Event Types by Economic Damage in the U.S. (2024)",
  subtitle = "Combined property and crop losses in Billions of USD",
  x = NULL,
  y = "Estimated Economic Loss (Billiond of USD)",
  fill = "Loss Category",
  caption = "Source: NOAA Storm Event Database (2024)"
) + 
  theme_minimal()

Interpretation: Property damage vastly outweighs crop damage in total dollar terms accross almost all top disaster categories. Hurricanes/Typhoons, Flash Floods, Storm Surge/Tide and Tornadoes drive the highest structural property losses, compared to Drought/Hail and Floods account for the largest shares of agricultural crop damage.