Synopsis

This analysis uses the NOAA Storm Database, which covers US severe weather events from 1950 to November 2011. The raw data were loaded directly from the compressed CSV file. Population health harm was measured as fatalities plus injuries for each event type (EVTYPE). Economic damage was measured as property plus crop damage, after converting the K, M and B exponent codes into dollar amounts. Tornadoes are by far the most harmful event type for population health, with 5,633 fatalities and 91,346 injuries. Excessive heat, thunderstorm wind and floods follow, but with far fewer casualties. Floods cause the greatest economic damage, at about 150 billion USD. Hurricanes/typhoons, tornadoes and storm surge are next. Event types were not merged or cleaned, so similar categories such as FLOOD and FLASH FLOOD, or HURRICANE and HURRICANE/TYPHOON, are counted separately.

Data Processing

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(ggplot2)

The analysis starts from the raw compressed file.

storm <- read.csv("repdata_data_StormData.csv.bz2")

Health harm is measured as fatalities plus injuries. Economic damage is property plus crop damage, after converting the exponent codes (K = thousand, M = million, B = billion).

exp_value <- function(e) {
  e <- toupper(as.character(e))
  ifelse(e == "K", 1e3, ifelse(e == "M", 1e6, ifelse(e == "B", 1e9, 1)))
}
storm$prop <- storm$PROPDMG * exp_value(storm$PROPDMGEXP)
storm$crop <- storm$CROPDMG * exp_value(storm$CROPDMGEXP)

health <- storm %>% group_by(EVTYPE) %>%
  summarise(fatalities = sum(FATALITIES), injuries = sum(INJURIES)) %>%
  mutate(total = fatalities + injuries) %>%
  arrange(desc(total)) %>% head(10)
## `summarise()` ungrouping output (override with `.groups` argument)
econ <- storm %>% group_by(EVTYPE) %>%
  summarise(damage = sum(prop + crop)/1e9) %>%
  arrange(desc(damage)) %>% head(10)
## `summarise()` ungrouping output (override with `.groups` argument)

Results

Population health

ggplot(health, aes(reorder(EVTYPE, total), total)) +
  geom_col(fill="firebrick") + coord_flip() +
  labs(x="Event type", y="Fatalities + injuries")
Figure 1: Top 10 event types by total fatalities plus injuries, 1950-2011.

Figure 1: Top 10 event types by total fatalities plus injuries, 1950-2011.

health
## # A tibble: 10 x 4
##    EVTYPE            fatalities injuries total
##    <chr>                  <dbl>    <dbl> <dbl>
##  1 TORNADO                 5633    91346 96979
##  2 EXCESSIVE HEAT          1903     6525  8428
##  3 TSTM WIND                504     6957  7461
##  4 FLOOD                    470     6789  7259
##  5 LIGHTNING                816     5230  6046
##  6 HEAT                     937     2100  3037
##  7 FLASH FLOOD              978     1777  2755
##  8 ICE STORM                 89     1975  2064
##  9 THUNDERSTORM WIND        133     1488  1621
## 10 WINTER STORM             206     1321  1527

Tornadoes are the most harmful event type for population health, causing 96,979 fatalities and injuries combined, more than ten times the next event (excessive heat, 8,428).

Economic consequences

ggplot(econ, aes(reorder(EVTYPE, damage), damage)) +
  geom_col(fill="steelblue") + coord_flip() +
  labs(x="Event type", y="Damage (billion USD)")
Figure 2: Top 10 event types by total property and crop damage (billions of USD), 1950-2011.

Figure 2: Top 10 event types by total property and crop damage (billions of USD), 1950-2011.

econ
## # A tibble: 10 x 2
##    EVTYPE            damage
##    <chr>              <dbl>
##  1 FLOOD             150.  
##  2 HURRICANE/TYPHOON  71.9 
##  3 TORNADO            57.4 
##  4 STORM SURGE        43.3 
##  5 HAIL               18.8 
##  6 FLASH FLOOD        17.6 
##  7 DROUGHT            15.0 
##  8 HURRICANE          14.6 
##  9 RIVER FLOOD        10.1 
## 10 ICE STORM           8.97

Floods have the greatest economic consequences, with about 150 billion USD in property and crop damage, followed by hurricanes/typhoons (about 71.9 billion) and tornadoes (about 57.4 billion).