Synopsis

U.S. National Oceanic and Atmospheric Administration’s (NOAA) storm database is used to study impact of weather events on health and economy of the country.

Note: Few of the output are deleted and commented. The reason is document can be easily readerable

Import Library

Download data in zip format and unzip

The data for this assignment come in the form of a comma-separated-value file compressed via the bzip2 algorithm to reduce its size. You can download the file from the course web site:

Read Data in CSV

1. Load the data

2. Process/transform the data (if necessary) into a format suitable for your analysis

Variables we are interested

Health variables:

  • FATALITIES
  • INJURIES

Economic variables:

  • PROPDMG
  • PROPDMGEXP
  • CROPDMG
  • CROPDMGEXP

If any NA replace it with 0

Remove all the values except Thousand, Million, Billion dollars

Result

  • First & Second plot shows that Death and Injury is most due to Tornado.
  • Third plot illustrates majority demage of property is due to Flood.
  • Fourth plot shows that Drought is event due to which Crop are demaged.