Professional Documents
Culture Documents
Darlington Final Assessment
Darlington Final Assessment
The aim of this exercise is to analyze hurricane Harvey events. As explained in the reading, these events are
flooding, thunderstorms, hail, and tornadoes. The objectives are:
Table of Contents
Background and Scope............................................................................................................................................ 1
Import the Data..................................................................................................................................................... 1
Two States Mostly Impacted by Harvey................................................................................................................8
Table of Events for Two Most Impacted States...................................................................................................10
Visualizations..........................................................................................................................................................13
Figure of Event Types.........................................................................................................................................13
Figure of Event Locations................................................................................................................................... 14
Analysis.................................................................................................................................................................. 15
Three Counties with Most Events in State 1.......................................................................................................15
Three Counties with Most Events in State 2.......................................................................................................18
Three Counties with Highest Property Cost in State 1....................................................................................... 19
Three Counties with Highest Property Cost in State 2....................................................................................... 22
Conclusions and Recommendations...................................................................................................................... 23
1
EpisodeID Event_ID State Year Month Event_Type
2
EpisodeID Event_ID State Year Month Event_Type
3
EpisodeID Event_ID State Year Month Event_Type
% I filtered the table to include only hurricane events and the time period it occured.
StormEvents = StormEvents2017finalProject(~ismember(StormEvents2017finalProject.Event_Type,{'As
StormEvents = StormEvents(StormEvents.Begin_Date_Time >= '2017-08-17 00:00:00' & StormEvents.Be
StormEvents = sortrows(StormEvents,'Begin_Date_Time')
4
EpisodeID Event_ID State Year Month Event_Type CZ_Name
5
EpisodeID Event_ID State Year Month Event_Type CZ_Name
6
EpisodeID Event_ID State Year Month Event_Type CZ_Name
7
EpisodeID Event_ID State Year Month Event_Type CZ_Name
• Texas
• Louisiana .
8
State GroupCount sum_Property_Cost
23 MICHIGAN 5 45000
24 GEORGIA 34 36000
25 ARIZONA 12 26000
26 VIRGINIA 59 23000
27 WEST VIRGI... 9 20100
28 SOUTH DAKOTA 89 12000
29 HAWAII 26 10000
30 ALABAMA 16 5000
31 NEVADA 8 5000
32 OKLAHOMA 33 2000
33 NEW MEXICO 15 800
34 AMERICAN S... 1 0
35 ATLANTIC N... 62 0
36 ATLANTIC S... 32 0
37 COLORADO 6 0
38 DELAWARE 3 0
39 DISTRICT O... 3 0
40 E PACIFIC 1 0
41 GULF OF ME... 64 0
42 ILLINOIS 11 0
43 KANSAS 64 0
44 LAKE ERIE 5 0
45 LAKE MICHI... 5 0
46 LAKE ONTARIO 1 0
47 MAINE 3 0
48 MARYLAND 56 0
49 MONTANA 6 0
50 NEW HAMPSH... 21 0
51 NEW JERSEY 27 0
52 PUERTO RICO 33 0
53 UTAH 2 0
54 WISCONSIN 6 0
9
Table of Events for Two Most Impacted States
This is a table containing he most impacted states.
TableofMostImpactedStates = StormEvents(ismember(StormEvents.State,{'LOUISIANA','TEXAS'}),:);
TableofMostImpactedStates = sortrows(TableofMostImpactedStates,'State','descend');
TableofMostImpactedStates = sortrows(TableofMostImpactedStates,'Event_Type')
10
EpisodeID Event_ID State Year Month Event_Type CZ_Name
11
EpisodeID Event_ID State Year Month Event_Type CZ_Name
12
EpisodeID Event_ID State Year Month Event_Type CZ_Name
Visualizations
Figure of Event Types
The histograms below show the type and number of occurances for events related to Harvey in the two states
13
Figure of Event Locations
The geodensity plot below show the location of events in the two states.
14
Analysis
Three Counties with Most Events in State 1
The three counties most affected by Harvey in Texas are
• Harris
• Galveston and
• Fort Bend
1 HARRIS 20
2 GALVESTON 17
3 FORT BEND 13
4 BRAZORIA 12
5 ANGELINA 11
6 SABINE 11
15
CZ_Name GroupCount
7 BASTROP 9
8 CHAMBERS 8
9 CALDWELL 7
10 MONTGOMERY 6
11 CALHOUN 5
12 JEFFERSON 5
13 MATAGORDA 5
14 WHARTON 5
15 FAYETTE 4
16 LIBERTY 4
17 WALKER 4
18 WALLER 4
19 AUSTIN 3
20 EL PASO 3
21 GRIMES 3
22 HOCKLEY 3
23 JACKSON 3
24 ORANGE 3
25 REFUGIO 3
26 SAN JACINTO 3
27 SWISHER 3
28 TAYLOR 3
29 VICTORIA 3
30 ARANSAS 2
31 BRAZOS 2
32 COLLIN 2
33 DALLAS 2
34 DE WITT 2
35 GONZALES 2
36 GRAYSON 2
37 HAYS 2
38 JASPER 2
39 LEE 2
16
CZ_Name GroupCount
40 LUBBOCK 2
41 MADISON 2
42 NUECES 2
43 OCHILTREE 2
44 POLK 2
45 SAN AUGUS... 2
46 SAN PATRI... 2
47 SHELBY 2
48 WASHINGTON 2
49 WILLIAMSON 2
50 BEE 1
51 BEXAR 1
52 BRISCOE 1
53 BURLESON 1
54 CLAY 1
55 COLEMAN 1
56 COLORADO 1
57 COMAL 1
58 CROCKETT 1
59 DALLAM 1
60 DENTON 1
61 ECTOR 1
62 GOLIAD 1
63 GUADALUPE 1
64 HALE 1
65 HARDIN 1
66 HARTLEY 1
67 HEMPHILL 1
68 HUNT 1
69 HUTCHINSON 1
70 JIM WELLS 1
71 KARNES 1
72 KAUFMAN 1
17
CZ_Name GroupCount
73 KENEDY 1
74 KLEBERG 1
75 LAVACA 1
76 LIVE OAK 1
77 LYNN 1
78 MIDLAND 1
79 MOORE 1
80 MOTLEY 1
81 NACOGDOCHES 1
82 NEWTON 1
83 OLDHAM 1
84 RANDALL 1
85 SHERMAN 1
86 TOM GREEN 1
87 TYLER 1
88 WILSON 1
• Natchitoches
• Sabine
• Red River
1 NATCHITOC... 20
2 SABINE 14
3 RED RIVER 8
4 WINN 5
5 CAMERON 4
6 VERMILION 4
7 DE SOTO 2
8 ACADIA 1
18
CZ_Name GroupCount
9 BEAUREGARD 1
10 CALCASIEU 1
11 EAST CAME... 1
12 IBERIA 1
13 LAFAYETTE 1
14 LAFOURCHE 1
15 ST. CHARLES 1
16 ST. JAMES 1
17 ST. MARY 1
18 UNION 1
19 WEST CAME... 1
• Galveston,
• Fort Bend, and
• Montgomery
19
CZ_Name Maximum_Property_Cost_in_Dollars GroupCount max_Property_Cost
20
CZ_Name Maximum_Property_Cost_in_Dollars GroupCount max_Property_Cost
21
CZ_Name Maximum_Property_Cost_in_Dollars GroupCount max_Property_Cost
77 RANDALL 0 1 0
78 SABINE 0 11 0
79 SAN AUGUS... 0 2 0
80 SHELBY 0 2 0
81 SHERMAN 0 1 0
82 SWISHER 0 3 0
83 TAYLOR 0 3 0
84 TOM GREEN 0 1 0
85 WILLIAMSON 0 2 0
86 WILSON 0 1 0
• Calcasieu,
• Beauregard, and
• Acadia
22
CZ_Name Maximum_Property_Cost_in_Dollars GroupCount max_Property_Cost
12 RED RIVER 0 8 0
13 SABINE 0 14 0
14 ST. CHARLES 0 1 0
15 ST. JAMES 0 1 0
16 ST. MARY 0 1 0
17 UNION 0 1 0
18 WEST CAME... 0 1 0
19 WINN 0 5 0
I recommend that the contractors be sent to the counties with the greatest property damage cost, being
Galveston, Fort Bend, and montgomery for Texas, and Calcasieu, Beauregard, and Acadia for Louisiana.
23