generated from usf-cs360-spring2020/template-bulma
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdata.html
463 lines (432 loc) · 23.9 KB
/
data.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- TODO: Change title -->
<title>Data</title>
<!-- Load Bulma from CDN (consider saving it to repository instead) -->
<!-- https://bulma.io/ -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<!-- Load Font Awesome 5 (free) icons -->
<script defer src="https://use.fontawesome.com/releases/v5.10.2/js/all.js"></script>
</head>
<body>
<!-- Page header -->
<!-- https://bulma.io/documentation/layout/hero/ -->
<section class="hero is-primary is-bold">
<div class="hero-body">
<div class="container">
<!-- TODO: Change title -->
<h1 class="title">Data Midterm Chinchillas</h1>
<!-- TODO: Change subtitle -->
<h2 class="subtitle">Fire Department SF data set</h2>
</div>
</div>
</section>
<!-- End page header -->
<!-- Page navigation -->
<!-- https://bulma.io/documentation/components/navbar/ -->
<nav class="navbar is-light" role="navigation" aria-label="main navigation">
<div class="container">
<div class="navbar-brand">
<!-- TODO: Change link to repository homepage if needed -->
<!-- TODO: Change which navbar-item is-active if needed -->
<a class="navbar-item " href="index.html">
<span class="icon"><i class="fas fa-home"></i></span>
<span>Home</span>
</a>
<a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="main-menu">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div id="main-menu" class="navbar-menu has-text-weight-medium">
<!-- Left navbar items -->
<div class="navbar-start">
<a class="navbar-item is-active" href="data.html" title="Data">
<span class="icon"><i class="fas fa-table"></i></span>
<span>Data</span>
</a>
<!-- TODO: Modify or remove dropdown -->
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
<span class="icon"><i class="fas fa-fire-alt"></i></span>
Visualizations
</a>
<div class="navbar-dropdown">
<a href="ned.html" class="navbar-item">
<span class="icon"><i class="fas fa-chart-line"></i></span>
<span>Ned's Chart</span>
</a>
<a href="enrique.html" class="navbar-item">
<span class="icon"><i class="fas fa-chart-area"></i></span>
<span>Enrique's Chart</span>
</a>
<a href="jaden.html" class="navbar-item">
<span class="icon"><i class="fas fa-chart-bar"></i></span>
<span>Jaden's Chart</span>
</a>
</div>
</div>
</div>
<!-- Right navbar items -->
<div class="navbar-end">
<!-- TODO: Update as needed -->
<a class="navbar-item" href="" title="About">
<span class="icon"><i class="fas fa-tasks"></i></span>
<span>Grade</span>
</a>
<a class="navbar-item" href="about.html" title="About">
<span class="icon"><i class="fas fa-info-circle"></i></span>
<span>About</span>
</a>
</div>
</div>
</div>
</nav>
<!-- End page navigation -->
<section class="section">
<div class="container">
<!-- Begin page content -->
<div class="content">
<h2 id="data">Data</h2>
<p>Our data set is taken from Data SF, it is the fire department Calls for Service data set. It has 34 columns and 5.4M rows. You can find the full data set at <a href="https://data.sfgov.org/Public-Safety/Fire-Department-Calls-for-Service/nuek-vuh3">Data sf</a>. it's under the following license:</p>
<blockquote>
<p>
"This data is made available under the Public Domain Dedication and License v1.0 whose full text can be found at: <a href="http://www.opendatacommons.org/licenses/pddl/1.0/">www.opendatacommons.org/licenses/pddl/1.0/</a>"
</p>
</blockquote>
<p>Fire Calls-For-Service includes all fire units responses to calls. Each record includes the call number, incident number, address, unit identifier, call type, and disposition. All relevant time intervals are also included. Because this dataset is based on responses, and since most calls involved multiple units, there are multiple records for each call number. Addresses are associated with a block number, intersection or call box, not a specific address.</p>
<p>The data set column descriptions are as follow: </p>
<div style="height:400px;overflow:auto;">
<div id="Fire-dictionary_19608" align=center x:publishsource="Excel"><span
style='font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;
text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;
text-decoration-color: initial'>
<table border=0 cellpadding=0 cellspacing=0 width=727 style='border-collapse:
collapse;table-layout:fixed;width:545pt'>
<col width=221 style='mso-width-source:userset;mso-width-alt:7850;width:166pt'>
<col width=142 style='mso-width-source:userset;mso-width-alt:5034;width:106pt'>
<col width=364 style='mso-width-source:userset;mso-width-alt:12942;width:273pt'>
<tr height=19 style='height:14.4pt'>
<td height=19 class=xl6519608 width=221 style='height:14.4pt;width:166pt'>Field
Name</span></td>
<td class=xl6519608 width=142 style='border-left:none;width:106pt'>Data Type</td>
<td class=xl6519608 width=364 style='border-left:none;width:273pt'>Definition</td>
</tr>
<tr height=58 style='height:43.2pt'>
<td height=58 class=xl6619608 style='height:43.2pt;border-top:none'>Call
Number</td>
<td class=xl6719608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6819608 width=364 style='border-top:none;border-left:none;
width:273pt'>A unique 9-digit number assigned by the 911 Dispatch Center
(DEM) to this call. These number are used for both Police and Fire calls.</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Unit ID</td>
<td class=xl6719608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6819608 width=364 style='border-top:none;border-left:none;
width:273pt'>Unit Identifier. For example E01 for Engine 1 or T01 for Truck
1.</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Incident
Number</td>
<td class=xl6719608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6819608 width=364 style='border-top:none;border-left:none;
width:273pt'>A unique 8-digit number assigned by DEM to this Fire incident.</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Call Date</td>
<td class=xl6719608 style='border-top:none;border-left:none'>Date & Time</td>
<td class=xl6819608 width=364 style='border-top:none;border-left:none;
width:273pt'>Date the call is received at the 911 Dispatch Center. Used for
reporting purposes.</td>
</tr>
<tr height=19 style='height:14.4pt'>
<td height=19 class=xl6619608 style='height:14.4pt;border-top:none'>Call Type</td>
<td class=xl6719608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6819608 width=364 style='border-top:none;border-left:none;
width:273pt'>Type of call the incident falls into. See the list below.</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Watch
Date</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Date & Time</td>
<td class=xl6819608 width=364 style='border-top:none;border-left:none;
width:273pt'>Watch date when the call is received. Watch date starts at 0800
each morning and ends at 0800 the next day.</td>
</tr>
<tr height=19 style='height:14.4pt'>
<td height=19 class=xl6619608 style='height:14.4pt;border-top:none'>Received
DtTm</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Date & Time</td>
<td class=xl6819608 width=364 style='border-top:none;border-left:none;
width:273pt'>Date and time of call is received at the 911 Dispatch Center.</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Entry
DtTm</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Date & Time</td>
<td class=xl6819608 width=364 style='border-top:none;border-left:none;
width:273pt'>Date and time the 911 operator submits the entry of the initical
call information into the CAD system</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Dispatch
DtTm</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Date & Time</td>
<td class=xl6819608 width=364 style='border-top:none;border-left:none;
width:273pt'>Date and time the 911 operator dispatches this unit to the call.</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Response
DtTm</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Date & Time</td>
<td class=xl6819608 width=364 style='border-top:none;border-left:none;
width:273pt'>Date and time this unit acknowledges the dispatch and records
that the unit is en route to the location of the call.</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>On Scene
DtTm</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Date & Time</td>
<td class=xl6819608 width=364 style='border-top:none;border-left:none;
width:273pt'>Date and time the unit records arriving to the location of the
incident</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>AVL
Validated On Scene DtTm</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Date & Time</td>
<td class=xl6819608 width=364 style='border-top:none;border-left:none;
width:273pt'>Updated date and time the unit arrived on scene based on
existing unit AVL coordinates.</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Transport
DtTm</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Date & Time</td>
<td class=xl6819608 width=364 style='border-top:none;border-left:none;
width:273pt'>If this unit is an ambulance, date and time the unit begins the
transport unit arrives to hospital</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Hospital
DtTm</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Date & Time</td>
<td class=xl6819608 width=364 style='border-top:none;border-left:none;
width:273pt'>If this unit is an ambulance, date and time the unit arrives to
the hospital.</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Call
Final Disposition</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6819608 width=364 style='border-top:none;border-left:none;
width:273pt'>Disposition of the call (Code). For example TH2: Transport to
Hospital - Code 2, FIR: Resolved by Fire Department</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Available
DtTm</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Date & Time</td>
<td class=xl6819608 width=364 style='border-top:none;border-left:none;
width:273pt'>Date and time this unit is not longer assigned to this call and
it is available for another dispatch.</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Address</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>Address of midblock point associated with incident (obfuscated
address to protect caller privacy)</td>
</tr>
<tr height=19 style='height:14.4pt'>
<td height=19 class=xl6619608 style='height:14.4pt;border-top:none'>City</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>City of incident</td>
</tr>
<tr height=19 style='height:14.4pt'>
<td height=19 class=xl6619608 style='height:14.4pt;border-top:none'>Zipcode
of Incident</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>Zipcode of incident</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Battalion</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>Emergency Response District (There are 9 Fire Emergency Response
Districts)</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Station
Area</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>Fire Station First Response Area associated with the address of
the incident</td>
</tr>
<tr height=77 style='height:57.6pt'>
<td height=77 class=xl6619608 style='height:57.6pt;border-top:none'>Box</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>Fire box associated with the address of the incident. A box is
the smallest area used to divide the City. Each box is associated with a
unique unit dispatch order. The City is divided into more than 2,400 boxes.</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Original
Priority</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>Initial call priority (Code 2: Non-Emergency or Code
3:Emergency).</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Priority</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>Call priority (Code 2: Non-Emergency or Code 3:Emergency).</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Final
Priority</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>Final call priority (Code 2: Non-Emergency or Code 3:Emergency).</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>ALS Unit</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Boolean
(True/False)</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>Does this unit includes ALS (Advance Life Support) resources? Is
there a paramedic in this unit?</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Call Type
Group</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>Call types are divided into four main groups: Fire, Alarm,
Potential Life Threatening and Non Life Threatening.</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Number of
Alarms</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Numeric</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>Number of alarms associated with the incident. This is a number
between 1 and 5.</td>
</tr>
<tr height=19 style='height:14.4pt'>
<td height=19 class=xl6619608 style='height:14.4pt;border-top:none'>Unit Type</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>Unit type</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Unit
sequence in call dispatch</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Numeric</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>A number that indicates the order this unit was assigned to this
call</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Location</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Coordinates</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>Latitude and longitude of address obfuscated either to the
midblock, intersection or call box</td>
</tr>
<tr height=38 style='height:28.8pt'>
<td height=38 class=xl6619608 style='height:28.8pt;border-top:none'>Fire
Prevention District</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>Bureau of Fire Prevention District associated with this address</td>
</tr>
<tr height=19 style='height:14.4pt'>
<td height=19 class=xl6619608 style='height:14.4pt;border-top:none'>Supervisor
District</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>Supervisor District associated with this address</td>
</tr>
<tr height=58 style='height:43.2pt'>
<td height=58 class=xl6619608 style='height:43.2pt;border-top:none'>Neighborhood
District</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>Neighborhood District associated with this address, boundaries
available here: https://data.sfgov.org/d/p5b7-5n3h</td>
</tr>
<tr height=58 style='height:43.2pt'>
<td height=58 class=xl6619608 style='height:43.2pt;border-top:none'>RowID</td>
<td class=xl6619608 style='border-top:none;border-left:none'>Text</td>
<td class=xl6919608 width=364 style='border-top:none;border-left:none;
width:273pt'>Unique identifier used for managing data updates. It is the
concatenation of Call Number and Unit ID separated by a dash</td>
</tr>
<![if supportMisalignedColumns]>
<tr height=0 style='display:none'>
<td width=221 style='width:166pt'></td>
<td width=142 style='width:106pt'></td>
<td width=364 style='width:273pt'></td>
</tr>
<![endif]>
</table>
</div>
</div>
<!-- Page footer -->
<!-- https://bulma.io/documentation/layout/footer/ -->
<footer class="footer">
<div class="content has-text-centered is-size-7">
<p>
<a href="#top">
<span class="fas fa-arrow-up"></span>
<span class="has-text-weight-medium">Back to Top</span>
</a>
</p>
<p>
<!-- TODO: Change to link to your Github repository -->
<a href="https://github.com/usf-cs360-spring2020/template-bulma" class="button is-small" style="padding-left: 1em; padding-right: 1em;">
<i class="fab fa-github-alt"></i> <strong>Github</strong>
</a>
<a href="https://fontawesome.com/" class="button is-small" style="padding-left: 1em; padding-right: 1em;">
<i class="fab fa-font-awesome"></i> <strong>FontAwesome</strong>
</a>
<a href="https://bulma.io" class="button is-small">
<img src="https://bulma.io/images/made-with-bulma--semiblack.png" alt="Made with Bulma" width="128" height="24">
</a>
</p>
</div>
</footer>
<!-- End page footer -->
<!-- Mobile menu responsiveness -->
<!-- https://bulma.io/documentation/components/navbar/ -->
<script>
document.addEventListener('DOMContentLoaded', () => {
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
if ($navbarBurgers.length > 0) {
$navbarBurgers.forEach( el => {
el.addEventListener('click', () => {
const target = el.dataset.target;
const $target = document.getElementById(target);
el.classList.toggle('is-active');
$target.classList.toggle('is-active');
});
});
}
});
</script>
<!-- End mobile menu responsiveness -->
</body>
</html>