Synopsis: There are 902,297 weather events reported in the NOAA Storm Database. The most harmful with respect to population health are tornados with a total of 60,652 events reported causing 5,633 fatalities, 91,346 injuries, and $57.3 billion in property and crop damages. The events with the highest economic impact were floods with 25,326 events reported causing $150.3 billion in property and crop damages, 470 fatalities and 6,789 injuries.
The data comes from https://d396qusza40orc.cloudfront.net/repdata%2Fdata%2FStormData.csv.bz2, downloaded on 2026-11-13.
National Weather Service Storm Data Documentation (https://d396qusza40orc.cloudfront.net/repdata%2Fpeer2_doc%2Fpd01016005curr.pdf) defines property damage as having 3 significant figures and an alphabetical character indicating maginitude, specifically “K” for thousands, “M” for millions, and “B” for billions. There are around 466000 entries with "" as the exponent. We will assume that “h” and “H” indicate hundreds, and take all other symbols to mean no exponent.
We calculate three fields for damages: propdamage and cropdamage that are the combination of PROPDMG and PROPDMGEXP as well as CROPDMG and CROPDMGEXP respectively with units of millions of dollars. There is the third field of totaldamage that is the sum of propdamage and cropdamage.
# Original data downloaded with the following command:
# download.file("https://d396qusza40orc.cloudfront.net/repdata%2Fdata%2FStormData.csv.bz2", destfile = "StormData.csv.bz2")
data <- read.csv(bzfile("StormData.csv.bz2"))
# Calculating damages by including the exponent term:
data_with_damages <- data %>%
mutate(prop_damage_multiplier = case_when(
PROPDMGEXP %in% c("h", "H") ~ 1e2/1e6, # hundreds
PROPDMGEXP %in% c("k", "K") ~ 1e3/1e6, # thousands
PROPDMGEXP %in% c("m", "M") ~ 1e6/1e6, # millions
PROPDMGEXP %in% c("b", "B") ~ 1e9/1e6, # billions
TRUE ~ 1/1e6) # Default catchall
) %>%
mutate(crop_damage_multiplier = case_when(
CROPDMGEXP %in% c("h", "H") ~ 1e2/1e6, # hundreds
CROPDMGEXP %in% c("k", "K") ~ 1e3/1e6, # thousands
CROPDMGEXP %in% c("m", "M") ~ 1e6/1e6, # millions
CROPDMGEXP %in% c("b", "B") ~ 1e9/1e6, # billions
TRUE ~ 1/1e6) # Default catchall
) %>%
mutate(prop_damage = PROPDMG * prop_damage_multiplier,
crop_damage = CROPDMG * crop_damage_multiplier) %>%
mutate(total_damage = prop_damage + crop_damage)
damages_by_event_type <- data_with_damages %>%
group_by(EVTYPE) %>%
summarize(number_events = n(),
total_fatalities = sum(FATALITIES, na.rm=TRUE),
total_injuries = sum(INJURIES, na.rm=TRUE),
total_propdamage = sum(prop_damage),
total_cropdamage = sum(crop_damage),
total_damage = sum(total_damage),
.groups = "drop")
print(
damages_by_event_type %>%
arrange(desc(total_fatalities)) %>% # order in terms of descending damages
head(n = 10) %>% # Top 10 damages
ggplot(aes(x = reorder(EVTYPE, -total_fatalities), y = total_fatalities)) +
geom_col() +
theme(axis.text.x = element_text(angle = 45, hjust = 1)) +
labs(x = "Event Type", y = "Number of fatalities", title = "Top 10 most lethal weather event types")
)
print(
damages_by_event_type %>%
arrange(desc(total_injuries)) %>% # order in terms of descending damages
head(n = 10) %>% # Top 10 damages
ggplot(aes(x = reorder(EVTYPE, -total_injuries), y = total_injuries)) +
geom_col() +
theme(axis.text.x = element_text(angle = 45, hjust = 1)) +
labs(x = "Event Type", y = "Number of fatalities", title = "Top 10 weather event types by reported injuries")
)
Tornados are the most lethal weather event type leading to 5633 fatalities and 91346 injuries.
damages_by_event_type %>%
arrange(desc(total_damage)) %>% # order in terms of descending damages
head(n = 10) %>% # Top 10 damages
ggplot(aes(x = reorder(EVTYPE, -total_damage), y = total_damage)) +
geom_col() +
theme(axis.text.x = element_text(angle = 45, hjust = 1)) +
labs(x = "Event Type", y = "Total damage (million $)", title = "Top 10 most damaging weather event types")
Across the United States, we see that floods have the highest economic consequences of approximately $150 billion in total, followed by hurrican/typhoons around $70 billion.