Spaces:
Sleeping
Sleeping
Merged PR 9870: Columns and table descriptions with tables schema
Browse filesPR Summary:
Added client-shared database schema to the repository.
Included table-level descriptions for incident, apparatus, and personnel datasets (views as well).
Documented column-level metadata including data types and descriptions.
Related work items: #15799, #15800
- data/client_database_script.sql +0 -0
- data/rag_input_data/apparatus_columns_details.txt +549 -0
- data/rag_input_data/apparatus_table_details.txt +19 -0
- data/rag_input_data/incident_columns_details.txt +794 -0
- data/rag_input_data/incident_table_details.txt +15 -0
- data/rag_input_data/incidentappratus_columns_details.txt +369 -0
- data/rag_input_data/incidentappratus_table_details.txt +19 -0
- data/rag_input_data/incidentbase_columns_details.txt +159 -0
- data/rag_input_data/incidentbase_table_details.txt +21 -0
- data/rag_input_data/incidentpersonnel_columns_details.txt +656 -0
- data/rag_input_data/incidentpersonnel_table_details.txt +21 -0
- data/rag_input_data/personnel_columns_details.txt +149 -0
- data/rag_input_data/personnel_table_details.txt +19 -0
data/client_database_script.sql
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/rag_input_data/apparatus_columns_details.txt
ADDED
|
@@ -0,0 +1,549 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Column Name: incidentkey
|
| 2 |
+
Description: The primary key for the incident table. This is a unique, system-generated 14-character identifier for every incident record. It serves as the fundamental link to all other related tables in the database, such as apparatus, personnel, and supplemental data. This value is used to join with the incident table to get incident-level details.
|
| 3 |
+
Data Type: char(14), NOT NULL
|
| 4 |
+
Examples: _4GR15262U_SMS, _4GR15HZEC_SMS, _4GR166YT7_SMS
|
| 5 |
+
|
| 6 |
+
Column Name: apparatuskey
|
| 7 |
+
Description: The primary key for the apparatus table. This is a unique, system-generated 14-character identifier for a specific apparatus response to an incident. It serves as the primary link between apparatus response records and personnel assignments.
|
| 8 |
+
Data Type: char(14), NOT NULL
|
| 9 |
+
Examples: _4GR15265W_SMS, _4GR15HZF7_SMS, _4GR166YUI_SMS
|
| 10 |
+
|
| 11 |
+
Column Name: pslid
|
| 12 |
+
Description: The primary key for the personnel table. This is a unique, system-generated identifier for each individual firefighter, officer, or other personnel member. This value is used to join with the personnel table for demographic and qualification details.
|
| 13 |
+
Data Type: varchar(15), NOT NULL
|
| 14 |
+
Examples: _1XL0XJ7VGDEFA, _26H0W4XBHCPAU, _2FW0KTEBFCPAU
|
| 15 |
+
|
| 16 |
+
Column Name: personnelid
|
| 17 |
+
Description: A unique, human-readable identifier for each individual. This number is likely used for payroll, internal tracking, and linking to other systems. It is distinct from the system-generated pslid and may correspond to employee or badge numbers.
|
| 18 |
+
Data Type: int, NOT NULL
|
| 19 |
+
Examples: 219, 378, 390, 337, 394
|
| 20 |
+
|
| 21 |
+
Column Name: namefirst
|
| 22 |
+
Description: The first name of the individual as stored in the personnel table. This is denormalized data from the personnel table for reporting convenience.
|
| 23 |
+
Data Type: varchar(25), NOT NULL
|
| 24 |
+
Examples: Dale, Brandon, Kyle, Andrew, Stephen
|
| 25 |
+
|
| 26 |
+
Column Name: namemi
|
| 27 |
+
Description: The middle initial of the individual as stored in the personnel table. May be blank or contain a space if no middle name is recorded.
|
| 28 |
+
Data Type: varchar(2), NULLable
|
| 29 |
+
Examples: E, A, S, M, R
|
| 30 |
+
|
| 31 |
+
Column Name: namelast
|
| 32 |
+
Description: The last name of the individual as stored in the personnel table.
|
| 33 |
+
Data Type: varchar(25), NOT NULL
|
| 34 |
+
Examples: Bryan, Davis, Coles, Puetz, Vizzard
|
| 35 |
+
|
| 36 |
+
Column Name: namesuffix
|
| 37 |
+
Description: A suffix for the individual's name, such as Jr., Sr., III. This field appears to be largely unused or NULL in the provided data.
|
| 38 |
+
Data Type: varchar(6), NULLable
|
| 39 |
+
Examples: NULL
|
| 40 |
+
|
| 41 |
+
Column Name: namefirstlast
|
| 42 |
+
Description: A concatenated field displaying the individual's first and last name (e.g., "First Last"). This is likely generated for display purposes.
|
| 43 |
+
Data Type: varchar(51), NOT NULL
|
| 44 |
+
Examples: Dale Bryan, Brandon Davis, Kyle Coles, Andrew Puetz
|
| 45 |
+
|
| 46 |
+
Column Name: namelastfirst
|
| 47 |
+
Description: A concatenated field displaying the individual's last name, then first name (e.g., "Last, First"). Used for alphabetical sorting and formal listings.
|
| 48 |
+
Data Type: varchar(51), NOT NULL
|
| 49 |
+
Examples: Bryan, Dale; Davis, Brandon; Coles, Kyle; Puetz, Andrew
|
| 50 |
+
|
| 51 |
+
Column Name: namefull
|
| 52 |
+
Description: A concatenated field displaying the individual's full name, typically formatted as "First Middle Last" or "First M. Last". This is used for formal display and official reports.
|
| 53 |
+
Data Type: varchar(53), NOT NULL
|
| 54 |
+
Examples: Dale E Bryan, Brandon A Davis, Kyle S Coles, Andrew M Puetz
|
| 55 |
+
|
| 56 |
+
Column Name: rank
|
| 57 |
+
Description: The rank code of the individual (e.g., CAPT, FF, ENG, BC). This indicates their role and seniority within the department and corresponds to a rank table in the database.
|
| 58 |
+
Data Type: varchar(6), NOT NULL
|
| 59 |
+
Examples: CAPT, FF, ENG, BC
|
| 60 |
+
|
| 61 |
+
Column Name: actiontaken1code
|
| 62 |
+
Description: A code representing the primary action taken by this personnel on the incident. This corresponds to the actiontaken1 field in the apparatus table and references a standardized list of NFIRS (National Fire Incident Reporting System) action codes.
|
| 63 |
+
Data Type: varchar(4), NULLable
|
| 64 |
+
Examples: 93, 86, 32, 31, (empty)
|
| 65 |
+
|
| 66 |
+
Column Name: actiontaken1descip
|
| 67 |
+
Description: A text description of the primary action taken, corresponding to actiontaken1code. Note the misspelling of "descrip" in the column header, which likely originates from a data export view.
|
| 68 |
+
Data Type: varchar(100), NULLable
|
| 69 |
+
Examples: Cancelled en route, Investigate, Provide basic life support (BLS), Provide first aid & check for injuries
|
| 70 |
+
|
| 71 |
+
Column Name: actiontaken2code
|
| 72 |
+
Description: A code representing a secondary action taken by this personnel on the incident, following NFIRS coding standards.
|
| 73 |
+
Data Type: varchar(4), NULLable
|
| 74 |
+
Examples: 31, 12, 86, (empty)
|
| 75 |
+
|
| 76 |
+
Column Name: actiontaken2descip
|
| 77 |
+
Description: A text description of the secondary action taken, corresponding to actiontaken2code.
|
| 78 |
+
Data Type: varchar(100), NULLable
|
| 79 |
+
Examples: Provide first aid & check for injuries, Salvage & overhaul, Investigate
|
| 80 |
+
|
| 81 |
+
Column Name: actiontaken3code
|
| 82 |
+
Description: A code representing a tertiary action taken by this personnel on the incident, following NFIRS coding standards.
|
| 83 |
+
Data Type: varchar(4), NULLable
|
| 84 |
+
Examples: 86, 82, (empty)
|
| 85 |
+
|
| 86 |
+
Column Name: actiontaken3descip
|
| 87 |
+
Description: A text description of the tertiary action taken, corresponding to actiontaken3code.
|
| 88 |
+
Data Type: varchar(100), NULLable
|
| 89 |
+
Examples: Investigate, Notify other agencies.
|
| 90 |
+
|
| 91 |
+
Column Name: actiontaken4code
|
| 92 |
+
Description: A code representing a quaternary action taken by this personnel on the incident, following NFIRS coding standards.
|
| 93 |
+
Data Type: varchar(4), NULLable
|
| 94 |
+
Examples: (empty)
|
| 95 |
+
|
| 96 |
+
Column Name: actiontaken4descip
|
| 97 |
+
Description: A text description of the quaternary action taken, corresponding to actiontaken4code.
|
| 98 |
+
Data Type: varchar(100), NULLable
|
| 99 |
+
Examples: (empty)
|
| 100 |
+
|
| 101 |
+
Column Name: amount1
|
| 102 |
+
Description: A monetary value field from the apparatus table. In NFIRS reporting, this may represent dollar amounts for property loss, equipment value, or other financial metrics. The specific meaning depends on the context of the action taken.
|
| 103 |
+
Data Type: money, NULLable
|
| 104 |
+
Examples: NULL, 1
|
| 105 |
+
|
| 106 |
+
Column Name: amount2
|
| 107 |
+
Description: A second monetary value field from the apparatus table. May represent additional financial data such as property saved, contents value, or other monetary metrics.
|
| 108 |
+
Data Type: money, NULLable
|
| 109 |
+
Examples: NULL, 1
|
| 110 |
+
|
| 111 |
+
Column Name: crole
|
| 112 |
+
Description: Likely indicates the "credit role" or a specific assignment type for the personnel. The meaning is unclear from the data but often contains "NULL". May relate to NFIRS crew role designations.
|
| 113 |
+
Data Type: varchar(4), NULLable
|
| 114 |
+
Examples: NULL
|
| 115 |
+
|
| 116 |
+
Column Name: losapcreditcode
|
| 117 |
+
Description: A code indicating if the personnel received LOSAP (Length of Service Award Program) credit for this incident. LOSAP is a program that provides retirement or service awards to volunteer firefighters.
|
| 118 |
+
Data Type: int, NULLable
|
| 119 |
+
Examples: 1, (empty)
|
| 120 |
+
|
| 121 |
+
Column Name: losapcreditdescrip
|
| 122 |
+
Description: A text description of the LOSAP credit status, corresponding to losapcreditcode. Values are consistently "Losap Credit".
|
| 123 |
+
Data Type: varchar(20), NULLable
|
| 124 |
+
Examples: Losap Credit
|
| 125 |
+
|
| 126 |
+
Column Name: incidentkey (duplicate)
|
| 127 |
+
Description: This appears to be a duplicate of the main incidentkey column, possibly included due to a data join or export from a denormalized view that includes both incident and apparatus tables.
|
| 128 |
+
Data Type: char(14), NOT NULL
|
| 129 |
+
Examples: _4GR15262U_SMS, _4GR15HZEC_SMS
|
| 130 |
+
|
| 131 |
+
Column Name: apparatuskey (duplicate)
|
| 132 |
+
Description: This appears to be a duplicate of the main apparatuskey column, likely included from the apparatus table when joining personnel assignment data.
|
| 133 |
+
Data Type: char(14), NOT NULL
|
| 134 |
+
Examples: _4GR15265W_SMS, _4GR15HZF7_SMS
|
| 135 |
+
|
| 136 |
+
Column Name: apparatusid
|
| 137 |
+
Description: The public-facing identifier or "unit number" for the apparatus (e.g., "BE7", "BE6", "BE3"). This is what is used in radio communications and official logs to refer to a specific vehicle or unit. Stored as char(8) in the schema.
|
| 138 |
+
Data Type: char(8), NOT NULL
|
| 139 |
+
Examples: BE7, BE6, BE3, BE14, BTK7, BE13, BE5
|
| 140 |
+
|
| 141 |
+
Column Name: deptunitornotcode
|
| 142 |
+
Description: A code indicating whether the apparatus is a department unit or some other type of resource. A value of "0" seems consistent. In the schema, this might correspond to a flag indicating unit type.
|
| 143 |
+
Data Type: int, NOT NULL
|
| 144 |
+
Examples: 0
|
| 145 |
+
|
| 146 |
+
Column Name: deptunitornotdescrip
|
| 147 |
+
Description: A text description of the apparatus type, corresponding to deptunitornotcode. The value "DeptUnit" suggests it is a standard department unit.
|
| 148 |
+
Data Type: varchar(10), NOT NULL
|
| 149 |
+
Examples: DeptUnit
|
| 150 |
+
|
| 151 |
+
Column Name: priorityresponsecode
|
| 152 |
+
Description: A code indicating the priority level of the response for this apparatus. A value of "1" likely indicates the highest priority. This corresponds to the priorityresponseflag bit field in the apparatus table.
|
| 153 |
+
Data Type: int, NOT NULL
|
| 154 |
+
Examples: 1
|
| 155 |
+
|
| 156 |
+
Column Name: priorityresponsedescrip
|
| 157 |
+
Description: A text description of the response priority. "Yes" may indicate it was a priority response (lights and sirens).
|
| 158 |
+
Data Type: varchar(5), NOT NULL
|
| 159 |
+
Examples: Yes
|
| 160 |
+
|
| 161 |
+
Column Name: cancelledenroutecode
|
| 162 |
+
Description: A code indicating whether the apparatus was cancelled while en route to the incident. Corresponds to the cancelledenrouteflag bit field in the apparatus table.
|
| 163 |
+
Data Type: int, NOT NULL
|
| 164 |
+
Examples: 0, 1
|
| 165 |
+
|
| 166 |
+
Column Name: cancelledenroutedescrip
|
| 167 |
+
Description: A text description of the cancellation status. "No" means not cancelled, "Yes" means cancelled en route.
|
| 168 |
+
Data Type: varchar(5), NOT NULL
|
| 169 |
+
Examples: No, Yes
|
| 170 |
+
|
| 171 |
+
Column Name: firstarrivingunitcode
|
| 172 |
+
Description: A code indicating whether this apparatus was the first to arrive at the scene. Corresponds to the firstarrivingunit field in the apparatus table, which uses the udtlogical data type.
|
| 173 |
+
Data Type: int, NOT NULL
|
| 174 |
+
Examples: 1, 0
|
| 175 |
+
|
| 176 |
+
Column Name: firstarrivingunitdescrip
|
| 177 |
+
Description: A text description of the first-arriving status. "Yes" indicates it was the first unit, "No" indicates it was not.
|
| 178 |
+
Data Type: varchar(5), NOT NULL
|
| 179 |
+
Examples: Yes, No
|
| 180 |
+
|
| 181 |
+
Column Name: dispatchtype
|
| 182 |
+
Description: A code representing the type of dispatch for this apparatus. Often NULL or "NULL". This may correspond to a dispatch code table.
|
| 183 |
+
Data Type: varchar(4), NULLable
|
| 184 |
+
Examples: NULL
|
| 185 |
+
|
| 186 |
+
Column Name: dispatchtypedescrip
|
| 187 |
+
Description: A text description of the dispatch type. Often NULL or empty.
|
| 188 |
+
Data Type: varchar(30), NULLable
|
| 189 |
+
Examples: (empty)
|
| 190 |
+
|
| 191 |
+
Column Name: respondedfromquarterscode
|
| 192 |
+
Description: A code indicating whether the apparatus responded directly from its quarters (station) or from another location. Corresponds to the respondfromquarters field in the apparatus table, which uses the udtlogical data type.
|
| 193 |
+
Data Type: int, NOT NULL
|
| 194 |
+
Examples: 0
|
| 195 |
+
|
| 196 |
+
Column Name: respondedfromquarterdescrip
|
| 197 |
+
Description: A text description of the response origin. "No" may indicate it did not respond from quarters (e.g., was already on the road or at another location).
|
| 198 |
+
Data Type: varchar(5), NOT NULL
|
| 199 |
+
Examples: No
|
| 200 |
+
|
| 201 |
+
Column Name: mainapparatususecode
|
| 202 |
+
Description: A code indicating if this was the main apparatus used for the incident. This likely corresponds to the usecode field in the apparatus table.
|
| 203 |
+
Data Type: int, NOT NULL
|
| 204 |
+
Examples: 1, 0
|
| 205 |
+
|
| 206 |
+
Column Name: mainapparatususedescrip
|
| 207 |
+
Description: A text description of the main apparatus status. "Suppression" is common for fire suppression units, "Chief officer car" for command vehicles.
|
| 208 |
+
Data Type: varchar(30), NOT NULL
|
| 209 |
+
Examples: Suppression, Chief officer car
|
| 210 |
+
|
| 211 |
+
Column Name: apparatustypecode
|
| 212 |
+
Description: A code representing the type of apparatus (e.g., engine, truck, chief's car). Corresponds to the apparatustype field in the apparatus table, which references a standard NFIRS apparatus type code.
|
| 213 |
+
Data Type: int, NOT NULL
|
| 214 |
+
Examples: 11, 12, 92, 0
|
| 215 |
+
|
| 216 |
+
Column Name: apparatustypedescrip
|
| 217 |
+
Description: A text description of the apparatus type, corresponding to apparatustypecode. Based on NFIRS standard descriptions.
|
| 218 |
+
Data Type: varchar(40), NOT NULL
|
| 219 |
+
Examples: Engine, Truck or aerial, Chief officer car, Other apparatus/resource
|
| 220 |
+
|
| 221 |
+
Column Name: actiontaken1code (duplicate)
|
| 222 |
+
Description: A duplicate column, representing the primary action taken by the apparatus as a whole. This corresponds to the actiontaken1 field in the apparatus table and follows NFIRS coding standards.
|
| 223 |
+
Data Type: varchar(4), NULLable
|
| 224 |
+
Examples: 93, 86, 32, 31
|
| 225 |
+
|
| 226 |
+
Column Name: actiontaken1descip (duplicate)
|
| 227 |
+
Description: A duplicate text description of the primary action taken by the apparatus.
|
| 228 |
+
Data Type: varchar(100), NULLable
|
| 229 |
+
Examples: Cancelled en route, Investigate, Provide basic life support (BLS)
|
| 230 |
+
|
| 231 |
+
Column Name: actiontaken2code (duplicate)
|
| 232 |
+
Description: A duplicate column for a secondary action taken by the apparatus. Corresponds to actiontaken2 in the apparatus table.
|
| 233 |
+
Data Type: varchar(4), NULLable
|
| 234 |
+
Examples: 31, 12, 86
|
| 235 |
+
|
| 236 |
+
Column Name: actiontaken2descip (duplicate)
|
| 237 |
+
Description: A duplicate text description of the secondary action taken by the apparatus.
|
| 238 |
+
Data Type: varchar(100), NULLable
|
| 239 |
+
Examples: Provide first aid & check for injuries, Salvage & overhaul, Investigate
|
| 240 |
+
|
| 241 |
+
Column Name: actiontaken3code (duplicate)
|
| 242 |
+
Description: A duplicate column for a tertiary action taken by the apparatus. Corresponds to actiontaken3 in the apparatus table.
|
| 243 |
+
Data Type: varchar(4), NULLable
|
| 244 |
+
Examples: 86, 82
|
| 245 |
+
|
| 246 |
+
Column Name: actiontaken3descip (duplicate)
|
| 247 |
+
Description: A duplicate text description of the tertiary action taken by the apparatus.
|
| 248 |
+
Data Type: varchar(100), NULLable
|
| 249 |
+
Examples: Investigate, Notify other agencies.
|
| 250 |
+
|
| 251 |
+
Column Name: actiontaken4code (duplicate)
|
| 252 |
+
Description: A duplicate column for a quaternary action taken by the apparatus. Corresponds to actiontaken4 in the apparatus table.
|
| 253 |
+
Data Type: varchar(4), NULLable
|
| 254 |
+
Examples: (empty)
|
| 255 |
+
|
| 256 |
+
Column Name: actiontaken4descip (duplicate)
|
| 257 |
+
Description: A duplicate text description of the quaternary action taken by the apparatus.
|
| 258 |
+
Data Type: varchar(100), NULLable
|
| 259 |
+
Examples: (empty)
|
| 260 |
+
|
| 261 |
+
Column Name: numberofresponders
|
| 262 |
+
Description: The number of personnel who responded on this apparatus. This corresponds to the numberpeople field in the apparatus table. Note that this value is repeated for each personnel row, indicating data redundancy in this export.
|
| 263 |
+
Data Type: int, NOT NULL
|
| 264 |
+
Examples: 3, 4, 2, 0, 1
|
| 265 |
+
|
| 266 |
+
Column Name: dispatchdatetime
|
| 267 |
+
Description: The full date and time when the apparatus was dispatched. Corresponds to the dispatchdate field in the apparatus table.
|
| 268 |
+
Data Type: datetime, NOT NULL
|
| 269 |
+
Examples: 08:31.0 10/9/2015, 20:21.0 10/9/2015, 39:16.0 10/9/2015
|
| 270 |
+
|
| 271 |
+
Column Name: dispatchtime
|
| 272 |
+
Description: The time component of the dispatch, likely extracted for reporting convenience.
|
| 273 |
+
Data Type: time, NOT NULL
|
| 274 |
+
Examples: 19:08:31, 19:20:21, 19:39:16
|
| 275 |
+
|
| 276 |
+
Column Name: dispatchdate
|
| 277 |
+
Description: The date component of the dispatch, likely extracted for reporting convenience.
|
| 278 |
+
Data Type: date, NOT NULL
|
| 279 |
+
Examples: 10/9/2015, 10/10/2015
|
| 280 |
+
|
| 281 |
+
Column Name: dispatchenroutetime
|
| 282 |
+
Description: The date and time when the apparatus acknowledged dispatch and began moving en route to the scene. This corresponds to the enroutedate field in the apparatus table. NULL if cancelled before en route.
|
| 283 |
+
Data Type: datetime, NULLable
|
| 284 |
+
Examples: 09:15.0 10/9/2015, 21:36.0 10/9/2015, (empty)
|
| 285 |
+
|
| 286 |
+
Column Name: dispatchenroutediffseconds
|
| 287 |
+
Description: The difference in seconds between dispatch time and en route time. This represents the time it took for the unit to get moving (turnout time).
|
| 288 |
+
Data Type: int, NULLable
|
| 289 |
+
Examples: 44, 75, (empty)
|
| 290 |
+
|
| 291 |
+
Column Name: enroutetoscenedatetime
|
| 292 |
+
Description: The date and time when the apparatus began traveling from its current location to the scene. Often identical to or very close to dispatchenroutetime. Corresponds to the enroutedate field.
|
| 293 |
+
Data Type: datetime, NULLable
|
| 294 |
+
Examples: 09:15.0 10/9/2015, 21:36.0 10/9/2015
|
| 295 |
+
|
| 296 |
+
Column Name: enroutetoscenetime
|
| 297 |
+
Description: The time component of enroutetoscenedatetime.
|
| 298 |
+
Data Type: time, NULLable
|
| 299 |
+
Examples: 19:09:15, 19:21:36
|
| 300 |
+
|
| 301 |
+
Column Name: enroutetoscenedate
|
| 302 |
+
Description: The date component of enroutetoscenedatetime.
|
| 303 |
+
Data Type: date, NULLable
|
| 304 |
+
Examples: 10/9/2015
|
| 305 |
+
|
| 306 |
+
Column Name: enroutearrivalscenetime
|
| 307 |
+
Description: This column header appears to be a misnomer. Based on the data, it likely represents the difference between en route time and arrival time. This is calculated as a time interval.
|
| 308 |
+
Data Type: varchar(10), NULLable
|
| 309 |
+
Examples: 0:01:55, 0:03:37, (empty)
|
| 310 |
+
|
| 311 |
+
Column Name: enroutearrivalscenediffseconds
|
| 312 |
+
Description: The difference in seconds between en route time and arrival time. This is the travel time to the scene.
|
| 313 |
+
Data Type: int, NULLable
|
| 314 |
+
Examples: 115, 217, (empty)
|
| 315 |
+
|
| 316 |
+
Column Name: responsetime
|
| 317 |
+
Description: The total time from dispatch to arrival on scene, formatted as HH:MM:SS. This is likely calculated as a reporting field.
|
| 318 |
+
Data Type: varchar(10), NULLable
|
| 319 |
+
Examples: 0:02:39, 0:04:52, (empty)
|
| 320 |
+
|
| 321 |
+
Column Name: responsetimeseconds
|
| 322 |
+
Description: The total time from dispatch to arrival on scene, expressed in seconds.
|
| 323 |
+
Data Type: int, NULLable
|
| 324 |
+
Examples: 159, 292, (empty)
|
| 325 |
+
|
| 326 |
+
Column Name: arrivaldatetime
|
| 327 |
+
Description: The full date and time when the apparatus arrived at the scene of the incident. Corresponds to the arrivaldate field in the apparatus table.
|
| 328 |
+
Data Type: datetime, NULLable
|
| 329 |
+
Examples: 11:10.0 10/9/2015, 25:13.0 10/9/2015, (empty)
|
| 330 |
+
|
| 331 |
+
Column Name: arrivaltime
|
| 332 |
+
Description: The time component of the arrival.
|
| 333 |
+
Data Type: time, NULLable
|
| 334 |
+
Examples: 19:11:10, 19:25:13
|
| 335 |
+
|
| 336 |
+
Column Name: arrivaldate
|
| 337 |
+
Description: The date component of the arrival.
|
| 338 |
+
Data Type: date, NULLable
|
| 339 |
+
Examples: 10/9/2015
|
| 340 |
+
|
| 341 |
+
Column Name: arrivaltoenroutehospdifftime
|
| 342 |
+
Description: Time difference between arrival at scene and en route to hospital. This would represent on-scene time before transporting a patient. Typically NULL for non-EMS runs.
|
| 343 |
+
Data Type: varchar(10), NULLable
|
| 344 |
+
Examples: NULL
|
| 345 |
+
|
| 346 |
+
Column Name: arrivaltoenroutehospdiffseconds
|
| 347 |
+
Description: The difference in seconds between arrival at scene and en route to hospital.
|
| 348 |
+
Data Type: int, NULLable
|
| 349 |
+
Examples: 0
|
| 350 |
+
|
| 351 |
+
Column Name: enroutetohospitaldatetime
|
| 352 |
+
Description: The date and time when the apparatus began en route to the hospital with a patient. This would correspond to a hospital transport leg. Typically NULL for non-EMS runs.
|
| 353 |
+
Data Type: datetime, NULLable
|
| 354 |
+
Examples: 00:00.0, (empty)
|
| 355 |
+
|
| 356 |
+
Column Name: enroutetohospitaltime
|
| 357 |
+
Description: The time component of enroutetohospitaldatetime.
|
| 358 |
+
Data Type: time, NULLable
|
| 359 |
+
Examples: (empty)
|
| 360 |
+
|
| 361 |
+
Column Name: enroutetohospitaldate
|
| 362 |
+
Description: The date component of enroutetohospitaldatetime.
|
| 363 |
+
Data Type: date, NULLable
|
| 364 |
+
Examples: (empty)
|
| 365 |
+
|
| 366 |
+
Column Name: enroutetoarrivalhospdifftime
|
| 367 |
+
Description: Time difference between en route to hospital and arrival at hospital. This represents transport time to the medical facility.
|
| 368 |
+
Data Type: varchar(10), NULLable
|
| 369 |
+
Examples: NULL
|
| 370 |
+
|
| 371 |
+
Column Name: enroutetoarrivalhospdiffseconds
|
| 372 |
+
Description: The difference in seconds between en route to hospital and arrival at hospital.
|
| 373 |
+
Data Type: int, NULLable
|
| 374 |
+
Examples: 0
|
| 375 |
+
|
| 376 |
+
Column Name: arrivalscenetoarrivalhospdifftime
|
| 377 |
+
Description: Time difference between arrival at scene and arrival at hospital. This is the total time spent on scene before leaving for the hospital plus transport time.
|
| 378 |
+
Data Type: varchar(10), NULLable
|
| 379 |
+
Examples: NULL
|
| 380 |
+
|
| 381 |
+
Column Name: arrivalscenetoarrivalhospdiffseconds
|
| 382 |
+
Description: The difference in seconds between arrival at scene and arrival at hospital.
|
| 383 |
+
Data Type: int, NULLable
|
| 384 |
+
Examples: 0
|
| 385 |
+
|
| 386 |
+
Column Name: hospitalarrivaldatetime
|
| 387 |
+
Description: The full date and time when the apparatus arrived at the hospital. Corresponds to the FACILITYDATE field in the apparatus table. Typically NULL for non-EMS runs.
|
| 388 |
+
Data Type: datetime, NULLable
|
| 389 |
+
Examples: 00:00.0, (empty)
|
| 390 |
+
|
| 391 |
+
Column Name: hospitalarrivaltime
|
| 392 |
+
Description: The time component of hospitalarrivaldatetime.
|
| 393 |
+
Data Type: time, NULLable
|
| 394 |
+
Examples: (empty)
|
| 395 |
+
|
| 396 |
+
Column Name: hospitalarrivaldate
|
| 397 |
+
Description: The date component of hospitalarrivaldatetime.
|
| 398 |
+
Data Type: date, NULLable
|
| 399 |
+
Examples: (empty)
|
| 400 |
+
|
| 401 |
+
Column Name: arrivalclearhospdifftime
|
| 402 |
+
Description: Time difference between arrival at hospital and clearing from the hospital (becoming available). This represents time spent at the hospital transferring patient care and completing paperwork.
|
| 403 |
+
Data Type: varchar(10), NULLable
|
| 404 |
+
Examples: NULL
|
| 405 |
+
|
| 406 |
+
Column Name: arrivalclearhospdiffseconds
|
| 407 |
+
Description: The difference in seconds between arrival at hospital and clearing from the hospital.
|
| 408 |
+
Data Type: int, NULLable
|
| 409 |
+
Examples: 0
|
| 410 |
+
|
| 411 |
+
Column Name: cleardatetime
|
| 412 |
+
Description: The full date and time when the apparatus cleared the incident and became available for another call. Corresponds to the cleardate field in the apparatus table.
|
| 413 |
+
Data Type: datetime, NULLable
|
| 414 |
+
Examples: 16:17.0 10/9/2015, 40:39.0 10/9/2015, 41:06.0 10/9/2015
|
| 415 |
+
|
| 416 |
+
Column Name: cleartime
|
| 417 |
+
Description: The time component of the clear time.
|
| 418 |
+
Data Type: time, NULLable
|
| 419 |
+
Examples: 19:16:17, 19:40:39, 19:41:06
|
| 420 |
+
|
| 421 |
+
Column Name: cleardate
|
| 422 |
+
Description: The date component of the clear time.
|
| 423 |
+
Data Type: date, NULLable
|
| 424 |
+
Examples: 10/9/2015, 10/10/2015
|
| 425 |
+
|
| 426 |
+
Column Name: dispatchcleardifftime
|
| 427 |
+
Description: The total time from dispatch to clear, formatted as HH:MM:SS. This is the total time the unit was committed to the incident.
|
| 428 |
+
Data Type: varchar(10), NULLable
|
| 429 |
+
Examples: 0:07:46, 0:20:18, 0:01:50
|
| 430 |
+
|
| 431 |
+
Column Name: dispatchcleardiffseconds
|
| 432 |
+
Description: The total time from dispatch to clear, expressed in seconds.
|
| 433 |
+
Data Type: int, NULLable
|
| 434 |
+
Examples: 466, 1218, 110
|
| 435 |
+
|
| 436 |
+
Column Name: inservicedatetime
|
| 437 |
+
Description: The date and time when the apparatus returned to service/in quarters and was marked as available. Corresponds to the inservicedate and inservicetime fields in the apparatus table. Often 00:00.0, suggesting it may not be consistently populated.
|
| 438 |
+
Data Type: datetime, NULLable
|
| 439 |
+
Examples: 00:00.0, (empty)
|
| 440 |
+
|
| 441 |
+
Column Name: inservicetime
|
| 442 |
+
Description: The time component of inservicedatetime.
|
| 443 |
+
Data Type: time, NULLable
|
| 444 |
+
Examples: (empty)
|
| 445 |
+
|
| 446 |
+
Column Name: inservicedate
|
| 447 |
+
Description: The date component of inservicedatetime.
|
| 448 |
+
Data Type: date, NULLable
|
| 449 |
+
Examples: (empty)
|
| 450 |
+
|
| 451 |
+
Column Name: emsruncode
|
| 452 |
+
Description: A code indicating whether this was an EMS (Emergency Medical Services) run. "Not EMS Run" appears as text in this code field, which may be a display value rather than the actual stored code.
|
| 453 |
+
Data Type: varchar(15), NULLable
|
| 454 |
+
Examples: Not EMS Run, (empty)
|
| 455 |
+
|
| 456 |
+
Column Name: emsrundescrip
|
| 457 |
+
Description: A text description of the EMS run status. This field is often NULL. May correspond to the emsrun bit field in the apparatus table.
|
| 458 |
+
Data Type: varchar(40), NULLable
|
| 459 |
+
Examples: NULL
|
| 460 |
+
|
| 461 |
+
Column Name: emsrunnumber
|
| 462 |
+
Description: A number associated with the EMS run, likely a sequential identifier for the patient care report. Corresponds to the emsrunnumber field in the apparatus table. Often NULL for non-EMS runs.
|
| 463 |
+
Data Type: varchar(14), NULLable
|
| 464 |
+
Examples: NULL
|
| 465 |
+
|
| 466 |
+
Column Name: losapcode
|
| 467 |
+
Description: A code indicating if the apparatus or its personnel received LOSAP credit. Corresponds to the lLosap_credit bit field in the apparatus table. Often 1, corresponding to the description.
|
| 468 |
+
Data Type: int, NULLable
|
| 469 |
+
Examples: 1
|
| 470 |
+
|
| 471 |
+
Column Name: losapdescrip
|
| 472 |
+
Description: A text description of the LOSAP credit status. "Losap Credit" is the common value.
|
| 473 |
+
Data Type: varchar(20), NULLable
|
| 474 |
+
Examples: Losap Credit
|
| 475 |
+
|
| 476 |
+
Column Name: alarmscode
|
| 477 |
+
Description: A code related to the alarm level or type. Corresponds to the alarms field in the apparatus table, which is char(10). Often NULL.
|
| 478 |
+
Data Type: int, NULLable
|
| 479 |
+
Examples: NULL
|
| 480 |
+
|
| 481 |
+
Column Name: alarmdescrip
|
| 482 |
+
Description: A text description of the alarm level. Often NULL.
|
| 483 |
+
Data Type: varchar(30), NULLable
|
| 484 |
+
Examples: NULL
|
| 485 |
+
|
| 486 |
+
Column Name: amount1 (duplicate)
|
| 487 |
+
Description: Another duplicate of the amount1 field, likely for apparatus-level monetary data.
|
| 488 |
+
Data Type: money, NULLable
|
| 489 |
+
Examples: NULL
|
| 490 |
+
|
| 491 |
+
Column Name: amount2 (duplicate)
|
| 492 |
+
Description: Another duplicate of the amount2 field, likely for apparatus-level monetary data.
|
| 493 |
+
Data Type: money, NULLable
|
| 494 |
+
Examples: NULL
|
| 495 |
+
|
| 496 |
+
Column Name: fdid_no
|
| 497 |
+
Description: Fire Department ID Number - a unique identifier for the fire department. This field is consistently NULL in the sample data but corresponds to the fdid_no field in the apparatus table using the udtfdid data type.
|
| 498 |
+
Data Type: udtfdid (custom data type), NULLable
|
| 499 |
+
Examples: NULL
|
| 500 |
+
|
| 501 |
+
Column Name: stagingdatetime
|
| 502 |
+
Description: The date and time when the apparatus was placed in a staging area. Corresponds to the stagingDate field in the apparatus table. Often NULL or zero values.
|
| 503 |
+
Data Type: datetime, NULLable
|
| 504 |
+
Examples: 00:00.0, (empty)
|
| 505 |
+
|
| 506 |
+
Column Name: stagingtime
|
| 507 |
+
Description: The time component of stagingdatetime.
|
| 508 |
+
Data Type: time, NULLable
|
| 509 |
+
Examples: (empty)
|
| 510 |
+
|
| 511 |
+
Column Name: stagingdate
|
| 512 |
+
Description: The date component of stagingdatetime.
|
| 513 |
+
Data Type: date, NULLable
|
| 514 |
+
Examples: (empty)
|
| 515 |
+
|
| 516 |
+
Column Name: AtPatientSideDateTime
|
| 517 |
+
Description: The date and time when personnel reached the patient's side. This field is specific to medical calls and corresponds to the AtPatientSideTime field in the apparatus table. Often NULL or zero.
|
| 518 |
+
Data Type: datetime, NULLable
|
| 519 |
+
Examples: 00:00.0, (empty)
|
| 520 |
+
|
| 521 |
+
Column Name: AtPatientSideTime
|
| 522 |
+
Description: The time component of AtPatientSideDateTime.
|
| 523 |
+
Data Type: time, NULLable
|
| 524 |
+
Examples: (empty)
|
| 525 |
+
|
| 526 |
+
Column Name: AtPatientSideDate
|
| 527 |
+
Description: The date component of AtPatientSideDateTime.
|
| 528 |
+
Data Type: date, NULLable
|
| 529 |
+
Examples: (empty)
|
| 530 |
+
|
| 531 |
+
Column Name: FacilityDateTime
|
| 532 |
+
Description: The date and time when the patient was transferred to a medical facility. Corresponds to the FACILITYDATE field in the apparatus table. Often NULL or zero.
|
| 533 |
+
Data Type: datetime, NULLable
|
| 534 |
+
Examples: 00:00.0, (empty)
|
| 535 |
+
|
| 536 |
+
Column Name: FacilityTime
|
| 537 |
+
Description: The time component of FacilityDateTime.
|
| 538 |
+
Data Type: time, NULLable
|
| 539 |
+
Examples: (empty)
|
| 540 |
+
|
| 541 |
+
Column Name: FacilityDate
|
| 542 |
+
Description: The date component of FacilityDateTime.
|
| 543 |
+
Data Type: date, NULLable
|
| 544 |
+
Examples: (empty)
|
| 545 |
+
|
| 546 |
+
Column Name: changedate
|
| 547 |
+
Description: A timestamp indicating the last time this record was modified in the source system. The format in the export appears to be minutes and seconds past midnight (e.g., 17:39.0 = 17 minutes and 39 seconds past midnight). In the schema, this is a datetime field.
|
| 548 |
+
Data Type: datetime, NOT NULL
|
| 549 |
+
Examples: 17:39.0, 42:11.5, 48:24.5, 57:38.2
|
data/rag_input_data/apparatus_table_details.txt
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Table Name: apparatus
|
| 2 |
+
|
| 3 |
+
This table represents a denormalized operational dataset that combines incident, apparatus response, and personnel participation details for emergency response events. Each row typically corresponds to a specific personnel member assigned to a particular apparatus responding to an incident. Because of this structure, incident-level and apparatus-level data may repeat across multiple rows when multiple responders are involved in the same response unit.
|
| 4 |
+
|
| 5 |
+
The dataset links three core operational entities: incidents, apparatus units, and personnel. The incident identifier serves as the primary reference to the emergency event itself, while the apparatus identifier represents the responding vehicle or resource unit. Personnel identifiers represent the firefighters, officers, or responders assigned to that apparatus during the incident. This structure allows the dataset to capture the full relationship between responders, equipment, and the incident event.
|
| 6 |
+
|
| 7 |
+
Operational details in the table include responder information such as personnel names, ranks, and role-related attributes. It also contains standardized action codes describing the actions performed during the response. These action codes follow the NFIRS (National Fire Incident Reporting System) standards, which classify operational activities such as investigations, medical assistance, suppression, or cancellations.
|
| 8 |
+
|
| 9 |
+
The dataset also includes apparatus-level operational attributes such as apparatus identifiers, apparatus type, response priority, dispatch type, cancellation status, and whether the unit was the first arriving resource. These attributes help describe how each unit participated in the response and what role it played in the overall incident management.
|
| 10 |
+
|
| 11 |
+
Another major component of the dataset is the detailed response timeline. Multiple timestamps track the lifecycle of a response, including dispatch time, en route time, arrival on scene, hospital transport events, and the time when the unit cleared the incident and returned to service. Derived duration fields calculate response metrics such as turnout time, travel time to the scene, total response time, and total committed time for the apparatus.
|
| 12 |
+
|
| 13 |
+
For incidents involving emergency medical services (EMS), the table also includes patient care milestones such as arrival at patient side, en route to hospital, and arrival at a medical facility. These timestamps help measure EMS operational performance and patient transport timelines.
|
| 14 |
+
|
| 15 |
+
Financial or administrative metrics may also appear in the dataset, including monetary amount fields and LOSAP (Length of Service Award Program) credit indicators used for volunteer firefighter service recognition. These fields provide additional operational and administrative context for the response.
|
| 16 |
+
|
| 17 |
+
Because the table appears to originate from a reporting view or export, several columns are duplicated from related entities such as apparatus actions or financial values. These duplicates exist to simplify reporting and reduce the need for additional joins when generating analytics, reports, or operational summaries.
|
| 18 |
+
|
| 19 |
+
Overall, this dataset functions as a comprehensive response activity record that captures incident context, apparatus deployment details, personnel assignments, operational actions, and the full response timeline. It is particularly useful for operational analytics, response time analysis, personnel participation tracking, and emergency service performance reporting.
|
data/rag_input_data/incident_columns_details.txt
ADDED
|
@@ -0,0 +1,794 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Column Name: incidentkey
|
| 2 |
+
Description: The primary key for the incident table. This is a unique, system-generated 14-character identifier for every incident record. It serves as the fundamental link to all other related tables in the database, such as apparatus, personnel, and supplemental data.
|
| 3 |
+
Data Type: char(14), NOT NULL
|
| 4 |
+
Examples: _48Y00K5I8_SMS, _48Y00K5IA_SMS, _48Y00JH1N_SMS
|
| 5 |
+
|
| 6 |
+
Column Name: incidentdate
|
| 7 |
+
Description: The official date and time of the incident. This field is often populated by the CAD (Computer-Aided Dispatch) system (referred to as ZMS in the extended properties). It typically represents the same moment as the alarm date and time.
|
| 8 |
+
Data Type: datetime, NULLable
|
| 9 |
+
Examples: 08:50.0 1/1/2015, 09:25.0 1/1/2015
|
| 10 |
+
|
| 11 |
+
Column Name: incidentnumber
|
| 12 |
+
Description: The public-facing, human-readable number assigned to the incident. This is the number used for official records, reports, and public inquiries. Multiple records (e.g., for different apparatus or exposures) may share the same incident number.
|
| 13 |
+
Data Type: char(10), NULLable
|
| 14 |
+
Examples: 1500003, 1500004, 1500002
|
| 15 |
+
|
| 16 |
+
Column Name: exposure
|
| 17 |
+
Description: The exposure number for the incident. An exposure is a separate incident, often a fire, that is caused by or related to a primary incident (e.g., a fire spreading to a neighboring building). A value of '0' or blank typically indicates the primary incident.
|
| 18 |
+
Data Type: char(3), NULLable
|
| 19 |
+
Examples: 0
|
| 20 |
+
|
| 21 |
+
Column Name: incidentstatus
|
| 22 |
+
Description: A status field that, combined with the incident number, can indicate the number of this supplemental record. Its precise use is not fully detailed in the provided schema, but it likely tracks the state of the incident report itself.
|
| 23 |
+
Data Type: char(20), NULLable
|
| 24 |
+
Examples: (mostly empty in sample)
|
| 25 |
+
|
| 26 |
+
Column Name: reviewstatusflag
|
| 27 |
+
Description: A boolean flag indicating whether the incident report has undergone an official review. A value of 0 means 'Not Reviewed', and a value of 1 means 'Reviewed'. This is a key part of the quality assurance process.
|
| 28 |
+
Data Type: bit, NOT NULL (Default 0)
|
| 29 |
+
Examples: 0, 1
|
| 30 |
+
|
| 31 |
+
Column Name: publicreleaseflag
|
| 32 |
+
Description: A boolean flag indicating if the incident report has been approved for release to the public, media, or other external requestors. A value of 0 means 'Not Released', and a value of 1 means 'Released'.
|
| 33 |
+
Data Type: bit, NOT NULL (Default 0)
|
| 34 |
+
Examples: 0
|
| 35 |
+
|
| 36 |
+
Column Name: completed
|
| 37 |
+
Description: A boolean flag indicating if all data entry for the incident report is considered complete. A value of 0 means 'Not Completed', and a value of 1 means 'Completed'. This helps manage workflow and reporting.
|
| 38 |
+
Data Type: bit, NOT NULL (Default 0)
|
| 39 |
+
Examples: 1
|
| 40 |
+
|
| 41 |
+
Column Name: transactiontype
|
| 42 |
+
Description: A code used internally, likely for data synchronization or replication purposes. It indicates the type of transaction, such as a new record (blank or 'A'), an edit ('1'), a delete ('2'), or 'None' ('3').
|
| 43 |
+
Data Type: char(4), NULLable
|
| 44 |
+
Examples: (blank in sample)
|
| 45 |
+
|
| 46 |
+
Column Name: district
|
| 47 |
+
Description: The identifier for the fire district or geographic zone in which the incident occurred. This is used for resource allocation, performance analysis, and administrative purposes.
|
| 48 |
+
Data Type: char(10), NULLable
|
| 49 |
+
Examples: B07, B04, 67, B08
|
| 50 |
+
|
| 51 |
+
Column Name: station
|
| 52 |
+
Description: The identifier or designation of the primary fire station responsible for the incident's district. This field is often populated based on the district.
|
| 53 |
+
Data Type: char(30), NULLable (Default '')
|
| 54 |
+
Examples: B7, 4, K65, B1
|
| 55 |
+
|
| 56 |
+
Column Name: shift
|
| 57 |
+
Description: The code for the duty shift that was on duty at the time of the incident (e.g., A, B, C). This is used for personnel tracking and resource management.
|
| 58 |
+
Data Type: char(2), NULLable (Default '')
|
| 59 |
+
Examples: B, A, C
|
| 60 |
+
|
| 61 |
+
Column Name: company
|
| 62 |
+
Description: This field is noted in the extended properties as 'Not Used'. It is likely a legacy field or reserved for future functionality.
|
| 63 |
+
Data Type: char(64), NULLable
|
| 64 |
+
Examples: (mostly empty)
|
| 65 |
+
|
| 66 |
+
Column Name: incidenttype
|
| 67 |
+
Description: A crucial classification code for the incident, based on standards like the National Fire Incident Reporting System (NFIRS). It defines the nature of the incident, such as a fire, EMS call, or hazardous condition. The corresponding description can be found by joining to the `codes901` table where `category = 'incident'`.
|
| 68 |
+
Data Type: char(4), NOT NULL (Default '')
|
| 69 |
+
Examples: 243, 2430, 321, 6111
|
| 70 |
+
|
| 71 |
+
Column Name: initialdispatchcode
|
| 72 |
+
Description: The code that was used by the dispatch center when resources were first sent to the incident. This may be a more specific or initial assessment code compared to the final `incidenttype`.
|
| 73 |
+
Data Type: varchar(25), NULLable
|
| 74 |
+
Examples: FWX, MA, FST
|
| 75 |
+
|
| 76 |
+
Column Name: mutualaidcode
|
| 77 |
+
Description: A code indicating the type of mutual aid provided or received, if any. Standard codes can be found in the `codes901` table under the `category = 'aid'`. Common examples include 'N' for None, '4' for Automatic Aid Given, and '2' for Automatic Aid Received.
|
| 78 |
+
Data Type: char(4), NOT NULL (Default '')
|
| 79 |
+
Examples: N, 4, 2
|
| 80 |
+
|
| 81 |
+
Column Name: alarmdate
|
| 82 |
+
Description: The date and time when the initial alarm was first received, marking the official start of the incident response.
|
| 83 |
+
Data Type: datetime, NULLable (Default '')
|
| 84 |
+
Examples: 08:50.0 1/1/2015, 09:25.0 1/1/2015
|
| 85 |
+
|
| 86 |
+
Column Name: arrivaldate
|
| 87 |
+
Description: The date and time when the first responding unit arrived on the scene of the incident. This is a critical performance metric.
|
| 88 |
+
Data Type: datetime, NULLable
|
| 89 |
+
Examples: 16:56.0 1/1/2015, 14:44.0 1/1/2015
|
| 90 |
+
|
| 91 |
+
Column Name: didnotarriveflag
|
| 92 |
+
Description: A boolean flag set to '1' if the responding unit(s) were cancelled en route and did not actually arrive at the incident location. A value of '0' indicates they did arrive.
|
| 93 |
+
Data Type: bit, NOT NULL (Default 0)
|
| 94 |
+
Examples: 0, 1
|
| 95 |
+
|
| 96 |
+
Column Name: controlleddate
|
| 97 |
+
Description: The date and time when the incident was declared "under control". For fires, this might be when the main body of the fire was knocked down. This field may be left blank for non-fire incidents like EMS calls.
|
| 98 |
+
Data Type: datetime, NULLable
|
| 99 |
+
Examples: 00:00.0 (mostly empty)
|
| 100 |
+
|
| 101 |
+
Column Name: lastunitcleareddate
|
| 102 |
+
Description: The date and time when the last fire department unit left the scene and became available for another call. This marks the official end of the incident response.
|
| 103 |
+
Data Type: datetime, NULLable
|
| 104 |
+
Examples: 25:33.0 1/1/2015, 22:25.0 1/1/2015
|
| 105 |
+
|
| 106 |
+
Column Name: includemutualaidflag
|
| 107 |
+
Description: A boolean flag indicating whether any mutual aid resources were included in the response. A value of '1' typically means 'Yes' (mutual aid was involved), while '0' means 'No'.
|
| 108 |
+
Data Type: bit, NOT NULL (Default 0)
|
| 109 |
+
Examples: 0, 1
|
| 110 |
+
|
| 111 |
+
Column Name: madepartment
|
| 112 |
+
Description: The name or identifier of the mutual aid department that responded, if mutual aid was provided or received.
|
| 113 |
+
Data Type: char(30), NULLable
|
| 114 |
+
Examples: (blank in sample)
|
| 115 |
+
|
| 116 |
+
Column Name: madeptincidentno
|
| 117 |
+
Description: The incident number assigned by the mutual aid department to this same incident, used for their own record-keeping and cross-referencing.
|
| 118 |
+
Data Type: char(9), NULLable
|
| 119 |
+
Examples: 1500009, 1500038, 1500050
|
| 120 |
+
|
| 121 |
+
Column Name: alarms
|
| 122 |
+
Description: The number of alarms sounded for this incident. A higher number of alarms (e.g., 2nd, 3rd, 4th alarm) indicates a larger, more resource-intensive incident that required more units to be called in.
|
| 123 |
+
Data Type: int, NULLable
|
| 124 |
+
Examples: 1
|
| 125 |
+
|
| 126 |
+
Column Name: actiontaken1
|
| 127 |
+
Description: A code representing the primary action taken by fire department personnel at the scene. Descriptions for these codes are stored in the `codes901` table with a `category = 'action'`.
|
| 128 |
+
Data Type: char(4), NULLable
|
| 129 |
+
Examples: 86, 32, 93, 80
|
| 130 |
+
|
| 131 |
+
Column Name: actiontaken2
|
| 132 |
+
Description: A code representing a secondary action taken at the scene, if applicable.
|
| 133 |
+
Data Type: char(4), NULLable
|
| 134 |
+
Examples: 85, 0, 93, 73
|
| 135 |
+
|
| 136 |
+
Column Name: actiontaken3
|
| 137 |
+
Description: A code representing a tertiary action taken at the scene, if applicable.
|
| 138 |
+
Data Type: char(4), NULLable
|
| 139 |
+
Examples: (often blank), 93
|
| 140 |
+
|
| 141 |
+
Column Name: resourceformusedflag
|
| 142 |
+
Description: This field is noted in the extended properties as 'Not Used'. It is likely a legacy field.
|
| 143 |
+
Data Type: bit, NOT NULL (Default 0)
|
| 144 |
+
Examples: (likely 0)
|
| 145 |
+
|
| 146 |
+
Column Name: apparatussuppression
|
| 147 |
+
Description: A summary count of the total number of fire suppression apparatus (e.g., engines, trucks, quints) from the reporting department that responded to the incident.
|
| 148 |
+
Data Type: int, NULLable (Default 0)
|
| 149 |
+
Examples: 1, 3, 4, 5
|
| 150 |
+
|
| 151 |
+
Column Name: apparatusems
|
| 152 |
+
Description: A summary count of the total number of EMS apparatus (e.g., ambulances, medic units) from the reporting department that responded to the incident.
|
| 153 |
+
Data Type: int, NULLable (Default 0)
|
| 154 |
+
Examples: 0, 1
|
| 155 |
+
|
| 156 |
+
Column Name: apparatusother
|
| 157 |
+
Description: A summary count of any other apparatus from the reporting department that responded, such as command vehicles, air units, or support units.
|
| 158 |
+
Data Type: int, NULLable (Default 0)
|
| 159 |
+
Examples: 0
|
| 160 |
+
|
| 161 |
+
Column Name: personnelsuppression
|
| 162 |
+
Description: A summary count of the total number of suppression personnel from the reporting department who responded to the incident.
|
| 163 |
+
Data Type: int, NULLable (Default 0)
|
| 164 |
+
Examples: 3, 7, 11, 14
|
| 165 |
+
|
| 166 |
+
Column Name: personnelems
|
| 167 |
+
Description: A summary count of the total number of EMS personnel from the reporting department who responded to the incident.
|
| 168 |
+
Data Type: int, NULLable (Default 0)
|
| 169 |
+
Examples: 0
|
| 170 |
+
|
| 171 |
+
Column Name: personnelother
|
| 172 |
+
Description: A summary count of any other personnel from the reporting department who responded.
|
| 173 |
+
Data Type: int, NULLable (Default 0)
|
| 174 |
+
Examples: 0
|
| 175 |
+
|
| 176 |
+
Column Name: lossproperty
|
| 177 |
+
Description: The estimated dollar amount of loss or damage to the property itself, as a direct result of the incident (e.g., fire damage to a building).
|
| 178 |
+
Data Type: money, NULLable
|
| 179 |
+
Examples: 500, 6000, 20000, 30000, NULL
|
| 180 |
+
|
| 181 |
+
Column Name: losscontents
|
| 182 |
+
Description: The estimated dollar amount of loss or damage to the contents within the property (e.g., furniture, inventory, personal belongings).
|
| 183 |
+
Data Type: money, NULLable
|
| 184 |
+
Examples: 200, 1000, 500, 2500, NULL
|
| 185 |
+
|
| 186 |
+
Column Name: valueproperty
|
| 187 |
+
Description: The estimated total dollar value of the property *before* the incident occurred.
|
| 188 |
+
Data Type: money, NULLable
|
| 189 |
+
Examples: 500, 7000, 1000, 70000, NULL
|
| 190 |
+
|
| 191 |
+
Column Name: valuecontents
|
| 192 |
+
Description: The estimated total dollar value of the contents *before* the incident occurred.
|
| 193 |
+
Data Type: money, NULLable
|
| 194 |
+
Examples: 200, 500, 1000, 10000, NULL
|
| 195 |
+
|
| 196 |
+
Column Name: fatalfireservice
|
| 197 |
+
Description: The number of fatalities that occurred involving fire service personnel. A value of 0 indicates none.
|
| 198 |
+
Data Type: int, NULLable (Default 0)
|
| 199 |
+
Examples: 0, 1
|
| 200 |
+
|
| 201 |
+
Column Name: fatalother
|
| 202 |
+
Description: The number of fatalities that occurred involving civilians or other non-fire-service persons. A value of 0 indicates none.
|
| 203 |
+
Data Type: int, NULLable (Default 0)
|
| 204 |
+
Examples: 0, 1
|
| 205 |
+
|
| 206 |
+
Column Name: nonfatalfireservice
|
| 207 |
+
Description: The number of non-fatal injuries sustained by fire service personnel. A value of 0 indicates none.
|
| 208 |
+
Data Type: int, NULLable (Default 0)
|
| 209 |
+
Examples: 0
|
| 210 |
+
|
| 211 |
+
Column Name: nonfatalother
|
| 212 |
+
Description: The number of non-fatal injuries sustained by civilians or other non-fire-service persons. A value of 0 indicates none.
|
| 213 |
+
Data Type: int, NULLable (Default 0)
|
| 214 |
+
Examples: 0, 2
|
| 215 |
+
|
| 216 |
+
Column Name: detector
|
| 217 |
+
Description: A code indicating the performance and role of smoke or fire detection equipment. Lookup descriptions are in `codes901` with `category = 'det_alrt'`. Common values include 'U' for Unknown, '1' for Detector alerted occupants, and '2' for Detector did not alert occupants.
|
| 218 |
+
Data Type: char(4), NULLable
|
| 219 |
+
Examples: U, 1, 2
|
| 220 |
+
|
| 221 |
+
Column Name: hazardmaterialreleased
|
| 222 |
+
Description: A code indicating if hazardous materials were released during the incident. Lookup descriptions are in `codes901` with `category = 'haz_rel'`. A common value is 'U' for Unknown.
|
| 223 |
+
Data Type: char(4), NULLable
|
| 224 |
+
Examples: (mostly blank), U
|
| 225 |
+
|
| 226 |
+
Column Name: mixeduse
|
| 227 |
+
Description: A code indicating if the property involved in the incident had a mixed-use occupancy (e.g., residential above commercial). Lookup descriptions are in `codes901` with `category = 'mixeduse'`. '20' for example, represents 'Educational use' in the sample data.
|
| 228 |
+
Data Type: char(4), NULLable
|
| 229 |
+
Examples: (mostly blank), 20
|
| 230 |
+
|
| 231 |
+
Column Name: propertyuse
|
| 232 |
+
Description: A code classifying the primary use or occupancy of the property where the incident occurred, based on NFIRS standards. Lookup descriptions are in `codes901` with `category = 'prop_use'`.
|
| 233 |
+
Data Type: char(4), NULLable
|
| 234 |
+
Examples: 429, 419, 962, 311
|
| 235 |
+
|
| 236 |
+
Column Name: emsprovidedflag
|
| 237 |
+
Description: A boolean flag indicating whether Emergency Medical Services (EMS) were provided at the scene. '1' means EMS was provided, '0' means it was not.
|
| 238 |
+
Data Type: bit, NOT NULL (Default 0)
|
| 239 |
+
Examples: 0, 1
|
| 240 |
+
|
| 241 |
+
Column Name: casualtiesflag
|
| 242 |
+
Description: A flag indicating the presence of casualties. According to the schema description: 0-Blank, 1-No, 2-Yes. However, the sample data shows a value of '1' for 'Casualties Incident'.
|
| 243 |
+
Data Type: tinyint, NULLable
|
| 244 |
+
Examples: 1
|
| 245 |
+
|
| 246 |
+
Column Name: priorityresponseflag
|
| 247 |
+
Description: A boolean flag indicating if the incident was handled as a priority response (e.g., with lights and sirens). '1' means Yes, '0' means No.
|
| 248 |
+
Data Type: bit, NULLable
|
| 249 |
+
Examples: 1, 0
|
| 250 |
+
|
| 251 |
+
Column Name: vendorid
|
| 252 |
+
Description: This field is noted in the extended properties as 'Not Used'. It is likely a legacy field.
|
| 253 |
+
Data Type: char(20), NULLable
|
| 254 |
+
Examples: (mostly empty)
|
| 255 |
+
|
| 256 |
+
Column Name: locationtype
|
| 257 |
+
Description: A code indicating the type of location used for the address. The schema provides the mapping: 1-Address, 2-Intersection, 3-In Front Of, 4-In Rear Of, 5-Adjacent To, 6-Directions, 7-US National Grid, 8-Lat/Long, 9-Township or Range.
|
| 258 |
+
Data Type: float, NULLable (Default 1)
|
| 259 |
+
Examples: 1, 2, 3, 4
|
| 260 |
+
|
| 261 |
+
Column Name: censustract
|
| 262 |
+
Description: The census tract identifier for the geographic area where the incident occurred. This is used for demographic analysis and planning.
|
| 263 |
+
Data Type: char(7), NULLable (Default '')
|
| 264 |
+
Examples: 28.15, 7, 9.03
|
| 265 |
+
|
| 266 |
+
Column Name: numberormile
|
| 267 |
+
Description: The street number of the address. For highway incidents, this may be a mile marker.
|
| 268 |
+
Data Type: char(8), NULLable (Default '')
|
| 269 |
+
Examples: 2601, 327, 3700-BLK, 1809
|
| 270 |
+
|
| 271 |
+
Column Name: streetprefix
|
| 272 |
+
Description: A directional prefix for the street name, such as N, S, E, or W. Lookup codes can be found in `codes901` with `category = 'dir'`.
|
| 273 |
+
Data Type: char(2), NULLable (Default '')
|
| 274 |
+
Examples: S, (blank), E, W
|
| 275 |
+
|
| 276 |
+
Column Name: streethighway
|
| 277 |
+
Description: The name of the street or highway.
|
| 278 |
+
Data Type: char(30), NULLable (Default '')
|
| 279 |
+
Examples: REAL, CHESTNUT, CARDINAL, WHITE LN
|
| 280 |
+
|
| 281 |
+
Column Name: streettype
|
| 282 |
+
Description: The street suffix, such as RD, AV, ST, DR, WY, LN, HWY, BLVD. Lookup codes can be found in the `dptCodes` table with `category = 'type'`.
|
| 283 |
+
Data Type: char(4), NULLable (Default '')
|
| 284 |
+
Examples: RD, AV, ST, DR, HWY
|
| 285 |
+
|
| 286 |
+
Column Name: streetsuffix
|
| 287 |
+
Description: A directional suffix for the street name, such as N, S, E, or W. Lookup codes can be found in `codes901` with `category = 'dir'`.
|
| 288 |
+
Data Type: char(2), NULLable (Default '')
|
| 289 |
+
Examples: (mostly blank), W
|
| 290 |
+
|
| 291 |
+
Column Name: apartment
|
| 292 |
+
Description: The apartment, suite, unit, or building number.
|
| 293 |
+
Data Type: char(15), NULLable (Default '')
|
| 294 |
+
Examples: 77, (blank), 13, 1006
|
| 295 |
+
|
| 296 |
+
Column Name: city
|
| 297 |
+
Description: The name of the city where the incident occurred.
|
| 298 |
+
Data Type: char(20), NULLable (Default '')
|
| 299 |
+
Examples: Bakersfield, KERN COUNTY, BAKERSFIELD
|
| 300 |
+
|
| 301 |
+
Column Name: state
|
| 302 |
+
Description: The two-letter abbreviation for the state.
|
| 303 |
+
Data Type: char(2), NULLable (Default '')
|
| 304 |
+
Examples: CA
|
| 305 |
+
|
| 306 |
+
Column Name: postalcode
|
| 307 |
+
Description: The 5-digit or 9-digit postal (ZIP) code.
|
| 308 |
+
Data Type: char(20), NULLable (Default '')
|
| 309 |
+
Examples: 93309, 93305, 93312, 93301
|
| 310 |
+
|
| 311 |
+
Column Name: crossstreetprefix
|
| 312 |
+
Description: The directional prefix for the nearest cross street.
|
| 313 |
+
Data Type: char(2), NULLable (Default '')
|
| 314 |
+
Examples: (mostly blank), W
|
| 315 |
+
|
| 316 |
+
Column Name: crossstreethighway
|
| 317 |
+
Description: The name of the nearest cross street.
|
| 318 |
+
Data Type: char(30), NULLable (Default '')
|
| 319 |
+
Examples: (mostly blank), LYNN ST, GOSFORD RD
|
| 320 |
+
|
| 321 |
+
Column Name: crossstreettype
|
| 322 |
+
Description: The street suffix for the nearest cross street.
|
| 323 |
+
Data Type: char(4), NULLable (Default '')
|
| 324 |
+
Examples: (mostly blank), ST
|
| 325 |
+
|
| 326 |
+
Column Name: crossstreetsuffix
|
| 327 |
+
Description: The directional suffix for the nearest cross street.
|
| 328 |
+
Data Type: char(2), NULLable (Default '')
|
| 329 |
+
Examples: (mostly blank)
|
| 330 |
+
|
| 331 |
+
Column Name: directions
|
| 332 |
+
Description: A free-text field for general directions to the incident location, often used for locations that are not a standard street address.
|
| 333 |
+
Data Type: varchar(max), NULLable (Default '')
|
| 334 |
+
Examples: (mostly blank)
|
| 335 |
+
|
| 336 |
+
Column Name: latitude
|
| 337 |
+
Description: The geographic latitude coordinate of the incident location.
|
| 338 |
+
Data Type: char(20), NULLable (Default '')
|
| 339 |
+
Examples: 35.33065871, 35.39931674, 35.40617403
|
| 340 |
+
|
| 341 |
+
Column Name: longitude
|
| 342 |
+
Description: The geographic longitude coordinate of the incident location.
|
| 343 |
+
Data Type: char(20), NULLable (Default '')
|
| 344 |
+
Examples: -119.0455376, -118.9926012, -118.9520503
|
| 345 |
+
|
| 346 |
+
Column Name: meridian
|
| 347 |
+
Description: For township/range coordinate systems, this field stores the meridian code. Lookup codes can be found in `codes901` with `category = 'meridian'`.
|
| 348 |
+
Data Type: char(20), NULLable (Default '')
|
| 349 |
+
Examples: (mostly blank)
|
| 350 |
+
|
| 351 |
+
Column Name: northsouth
|
| 352 |
+
Description: For township/range systems, this field stores the north-south direction. Lookup codes can be found in `dptCodes` with `category = 'dir'`.
|
| 353 |
+
Data Type: char(1), NULLable (Default '')
|
| 354 |
+
Examples: (mostly blank)
|
| 355 |
+
|
| 356 |
+
Column Name: eastwest
|
| 357 |
+
Description: For township/range systems, this field stores the east-west direction. Lookup codes can be found in `dptCodes` with `category = 'dir'`.
|
| 358 |
+
Data Type: char(1), NULLable (Default '')
|
| 359 |
+
Examples: (mostly blank)
|
| 360 |
+
|
| 361 |
+
Column Name: subsection
|
| 362 |
+
Description: For township/range systems, this field stores the subsection code. Lookup codes can be found in `codes901` with `category = 'subsectn'`.
|
| 363 |
+
Data Type: char(4), NULLable
|
| 364 |
+
Examples: (mostly blank)
|
| 365 |
+
|
| 366 |
+
Column Name: section
|
| 367 |
+
Description: For township/range systems, this field stores the section number.
|
| 368 |
+
Data Type: int, NULLable
|
| 369 |
+
Examples: (mostly blank)
|
| 370 |
+
|
| 371 |
+
Column Name: range
|
| 372 |
+
Description: For township/range systems, this field stores the range number.
|
| 373 |
+
Data Type: int, NULLable
|
| 374 |
+
Examples: (mostly blank)
|
| 375 |
+
|
| 376 |
+
Column Name: township
|
| 377 |
+
Description: For township/range systems, this field stores the township number.
|
| 378 |
+
Data Type: decimal(5,1), NULLable
|
| 379 |
+
Examples: (mostly blank)
|
| 380 |
+
|
| 381 |
+
Column Name: compositeaddress
|
| 382 |
+
Description: A single, concatenated string field that combines the full address (number, prefix, street name, type, suffix, apartment) for easy display and searching.
|
| 383 |
+
Data Type: char(50), NOT NULL (Default '')
|
| 384 |
+
Examples: 2601 S REAL RD 77, 327 CHESTNUT AV, 1809 LACEY ST 13
|
| 385 |
+
|
| 386 |
+
Column Name: MAAPPARATUSSUPPRESSION
|
| 387 |
+
Description: A summary count of the total number of suppression apparatus from any mutual aid department(s) that responded to the incident.
|
| 388 |
+
Data Type: int, NULLable
|
| 389 |
+
Examples: 0
|
| 390 |
+
|
| 391 |
+
Column Name: MAAPPARATUSEMS
|
| 392 |
+
Description: A summary count of the total number of EMS apparatus from any mutual aid department(s) that responded.
|
| 393 |
+
Data Type: int, NULLable
|
| 394 |
+
Examples: 0
|
| 395 |
+
|
| 396 |
+
Column Name: MAAPPARATUSOTHER
|
| 397 |
+
Description: A summary count of any other apparatus from any mutual aid department(s) that responded.
|
| 398 |
+
Data Type: int, NULLable
|
| 399 |
+
Examples: 0
|
| 400 |
+
|
| 401 |
+
Column Name: MAPERSONNELSUPPRESSION
|
| 402 |
+
Description: A summary count of the total number of suppression personnel from any mutual aid department(s) that responded.
|
| 403 |
+
Data Type: int, NULLable
|
| 404 |
+
Examples: 0
|
| 405 |
+
|
| 406 |
+
Column Name: MAPERSONNELEMS
|
| 407 |
+
Description: A summary count of the total number of EMS personnel from any mutual aid department(s) that responded.
|
| 408 |
+
Data Type: int, NULLable
|
| 409 |
+
Examples: 0
|
| 410 |
+
|
| 411 |
+
Column Name: MAPERSONNELOTHER
|
| 412 |
+
Description: A summary count of any other personnel from any mutual aid department(s) that responded.
|
| 413 |
+
Data Type: int, NULLable
|
| 414 |
+
Examples: 0
|
| 415 |
+
|
| 416 |
+
Column Name: useoptionaltabs
|
| 417 |
+
Description: A boolean flag indicating whether optional data entry tabs or sections of the incident report were used. '1' means Yes, '0' means No.
|
| 418 |
+
Data Type: bit, NULLable (Default 0)
|
| 419 |
+
Examples: (mostly blank/0)
|
| 420 |
+
|
| 421 |
+
Column Name: fdid_no
|
| 422 |
+
Description: The Fire Department ID number. This is a unique identifier for the fire department, often used in state and national reporting. Lookup codes can be found in the `dptCodes` table under `category = 'agency'`.
|
| 423 |
+
Data Type: char(5), NULLable
|
| 424 |
+
Examples: (mostly blank)
|
| 425 |
+
|
| 426 |
+
Column Name: madeptstate
|
| 427 |
+
Description: The two-letter state abbreviation for the mutual aid department that responded, if applicable.
|
| 428 |
+
Data Type: char(2), NULLable
|
| 429 |
+
Examples: (mostly blank)
|
| 430 |
+
|
| 431 |
+
Column Name: appversion
|
| 432 |
+
Description: The version of the FireRMS software that was in use when the incident record was created.
|
| 433 |
+
Data Type: char(10), NULLable
|
| 434 |
+
Examples: (mostly blank)
|
| 435 |
+
|
| 436 |
+
Column Name: county
|
| 437 |
+
Description: The name of the county where the incident occurred.
|
| 438 |
+
Data Type: varchar(20), NULLable
|
| 439 |
+
Examples: KERN, Kern, NULL
|
| 440 |
+
|
| 441 |
+
Column Name: CityOther
|
| 442 |
+
Description: A field for an "other" city name, possibly used when the city is not in a standard picklist.
|
| 443 |
+
Data Type: char(15), NULLable
|
| 444 |
+
Examples: (mostly blank)
|
| 445 |
+
|
| 446 |
+
Column Name: occupancykey
|
| 447 |
+
Description: A foreign key linking the incident to a specific occupancy record in the `occ_bas` table.
|
| 448 |
+
Data Type: char(14), NULLable
|
| 449 |
+
Examples: (mostly blank)
|
| 450 |
+
|
| 451 |
+
Column Name: occupancynumber
|
| 452 |
+
Description: The number or identifier of the occupancy record, as stored in `occ_bas.number`.
|
| 453 |
+
Data Type: char(16), NULLable
|
| 454 |
+
Examples: (mostly blank)
|
| 455 |
+
|
| 456 |
+
Column Name: occupancyname
|
| 457 |
+
Description: The name of the occupancy (e.g., a business name), as stored in `occ_bas.name`.
|
| 458 |
+
Data Type: char(40), NULLable
|
| 459 |
+
Examples: (mostly blank)
|
| 460 |
+
|
| 461 |
+
Column Name: runcard
|
| 462 |
+
Description: This field is noted in the extended properties as 'Not Used'.
|
| 463 |
+
Data Type: char(8), NULLable
|
| 464 |
+
Examples: (mostly blank)
|
| 465 |
+
|
| 466 |
+
Column Name: mappage
|
| 467 |
+
Description: A map page, grid, or book reference to help locate the incident on a paper or digital map.
|
| 468 |
+
Data Type: char(20), NULLable
|
| 469 |
+
Examples: NULL
|
| 470 |
+
|
| 471 |
+
Column Name: descrip
|
| 472 |
+
Description: This field is noted in the extended properties as 'Not Used'.
|
| 473 |
+
Data Type: char(30), NULLable
|
| 474 |
+
Examples: (mostly blank)
|
| 475 |
+
|
| 476 |
+
Column Name: SubstitudeFireForm
|
| 477 |
+
Description: A boolean flag indicating if an alternative or substitute fire form was used. '1' means Yes, '0' means No. The data type `udtlogical` is a user-defined data type, likely representing a boolean.
|
| 478 |
+
Data Type: udtlogical, NULLable (Default 0)
|
| 479 |
+
Examples: (likely 0)
|
| 480 |
+
|
| 481 |
+
Column Name: addressvalidated
|
| 482 |
+
Description: A flag indicating if the address was validated against a master address database. '1' means Yes, '0' means No.
|
| 483 |
+
Data Type: tinyint, NULLable
|
| 484 |
+
Examples: NULL
|
| 485 |
+
|
| 486 |
+
Column Name: CADCompleted
|
| 487 |
+
Description: A boolean flag indicating if the Computer-Aided Dispatch (CAD) process for this incident was marked as complete. '1' means Yes, '0' means No.
|
| 488 |
+
Data Type: bit, NULLable (Default 0)
|
| 489 |
+
Examples: (mostly blank/0)
|
| 490 |
+
|
| 491 |
+
Column Name: changedate
|
| 492 |
+
Description: The date and time when any field in the incident record was last modified.
|
| 493 |
+
Data Type: datetime, NULLable
|
| 494 |
+
Examples: 55:21.4, 19:27.9, 58:03.2
|
| 495 |
+
|
| 496 |
+
Column Name: rowguid
|
| 497 |
+
Description: A globally unique identifier for the row, automatically generated by SQL Server using `newsequentialid()`. It is primarily used for replication and merging data between different databases or systems.
|
| 498 |
+
Data Type: uniqueidentifier, ROWGUIDCOL NOT NULL
|
| 499 |
+
Examples: (binary data, not shown in sample)
|
| 500 |
+
|
| 501 |
+
Column Name: OtherInfo
|
| 502 |
+
Description: A field included in the incident table for use with the Day Book To Do Items, but it is noted as 'Not populated in the incident table'.
|
| 503 |
+
Data Type: varchar(20), NULLable
|
| 504 |
+
Examples: (mostly blank)
|
| 505 |
+
|
| 506 |
+
Column Name: LogComments
|
| 507 |
+
Description: A field for comments entered via the Daybook Log.
|
| 508 |
+
Data Type: varchar(max), NULLable
|
| 509 |
+
Examples: (mostly blank)
|
| 510 |
+
|
| 511 |
+
Column Name: CO_Flag
|
| 512 |
+
Description: A boolean flag indicating whether the incident was related to carbon monoxide (CO). '1' means Yes, '0' means No.
|
| 513 |
+
Data Type: bit, NULLable
|
| 514 |
+
Examples: (mostly blank/0)
|
| 515 |
+
|
| 516 |
+
Column Name: Alarm_Trans
|
| 517 |
+
Description: This field is noted in the extended properties as 'Not Used'.
|
| 518 |
+
Data Type: char(4), NULLable
|
| 519 |
+
Examples: (mostly blank)
|
| 520 |
+
|
| 521 |
+
Column Name: Incident_ID
|
| 522 |
+
Description: This field is noted in the extended properties as 'Not Used'.
|
| 523 |
+
Data Type: int, NOT NULL (Default 0)
|
| 524 |
+
Examples: 0
|
| 525 |
+
|
| 526 |
+
Column Name: loss_not_known
|
| 527 |
+
Description: A boolean flag indicating if the property and contents losses could not be estimated. '1' means Loss Not Known, '0' means losses were estimated or not applicable.
|
| 528 |
+
Data Type: bit, NOT NULL (Default 0)
|
| 529 |
+
Examples: 0, 1
|
| 530 |
+
|
| 531 |
+
Column Name: iMobile
|
| 532 |
+
Description: A flag indicating if the incident record was created or modified via a mobile data application. '1' means Yes, '0' means No.
|
| 533 |
+
Data Type: tinyint, NULLable (Default 0)
|
| 534 |
+
Examples: 0
|
| 535 |
+
|
| 536 |
+
Column Name: collecteddate
|
| 537 |
+
Description: The date and time when the incident data was exported to a mobile data collection application (e.g., FireRMS Collector).
|
| 538 |
+
Data Type: datetime, NULLable
|
| 539 |
+
Examples: NULL
|
| 540 |
+
|
| 541 |
+
Column Name: DispatchIncType
|
| 542 |
+
Description: The incident type as it was entered or received from the CAD system at the moment of dispatch. This may be more general than the final `incidenttype`.
|
| 543 |
+
Data Type: varchar(80), NULLable
|
| 544 |
+
Examples: (mostly blank)
|
| 545 |
+
|
| 546 |
+
Column Name: nfscasualtycnt
|
| 547 |
+
Description: The total count of fire service casualties (both fatal and non-fatal). This may be a calculated or duplicated field for easier reporting.
|
| 548 |
+
Data Type: smallint, NULLable
|
| 549 |
+
Examples: (mostly blank)
|
| 550 |
+
|
| 551 |
+
Column Name: ncivcasualtycnt
|
| 552 |
+
Description: The total count of civilian casualties (both fatal and non-fatal). This may be a calculated or duplicated field for easier reporting.
|
| 553 |
+
Data Type: smallint, NULLable
|
| 554 |
+
Examples: (mostly blank)
|
| 555 |
+
|
| 556 |
+
Column Name: nEstKMDistance
|
| 557 |
+
Description: For departments in the Province of Ontario, Canada, this field stores the estimated distance in kilometers for the response.
|
| 558 |
+
Data Type: smallint, NULLable
|
| 559 |
+
Examples: (mostly blank)
|
| 560 |
+
|
| 561 |
+
Column Name: ofm_nbrrescued
|
| 562 |
+
Description: For the Ontario Office of the Fire Marshal (OFM), this field stores the number of people rescued.
|
| 563 |
+
Data Type: smallint, NULLable
|
| 564 |
+
Examples: (mostly blank)
|
| 565 |
+
|
| 566 |
+
Column Name: criticalincident
|
| 567 |
+
Description: A flag for the Ontario Province indicating a Critical Incident. '1' likely means 'No', '2' likely means 'Yes'.
|
| 568 |
+
Data Type: char(1), NULLable
|
| 569 |
+
Examples: (mostly blank)
|
| 570 |
+
|
| 571 |
+
Column Name: teammobilized
|
| 572 |
+
Description: A flag for the Ontario Province indicating if a team was mobilized. '1' likely means 'No', '2' likely means 'Yes'.
|
| 573 |
+
Data Type: char(1), NULLable
|
| 574 |
+
Examples: (mostly blank)
|
| 575 |
+
|
| 576 |
+
Column Name: psaptime
|
| 577 |
+
Description: The date and time the incident was first received by the Public Safety Answering Point (PSAP), i.e., the 9-1-1 center.
|
| 578 |
+
Data Type: datetime, NULLable
|
| 579 |
+
Examples: 00:00.0 (mostly empty)
|
| 580 |
+
|
| 581 |
+
Column Name: circumstance1
|
| 582 |
+
Description: A code for the first of up to three circumstances contributing to a wildland fire. Lookup codes can be found in the `dptCodes` table with `category = 'cstance'`.
|
| 583 |
+
Data Type: varchar(10), NULLable
|
| 584 |
+
Examples: (mostly blank)
|
| 585 |
+
|
| 586 |
+
Column Name: circumstance2
|
| 587 |
+
Description: A code for the second circumstance. Lookup codes are in `dptCodes` with `category = 'cstance'`.
|
| 588 |
+
Data Type: varchar(10), NULLable
|
| 589 |
+
Examples: (mostly blank)
|
| 590 |
+
|
| 591 |
+
Column Name: circumstance3
|
| 592 |
+
Description: A code for the third circumstance. Lookup codes are in `dptCodes` with `category = 'cstance'`.
|
| 593 |
+
Data Type: varchar(10), NULLable
|
| 594 |
+
Examples: (mostly blank)
|
| 595 |
+
|
| 596 |
+
Column Name: lArsonFlag
|
| 597 |
+
Description: A boolean flag for wildland fires indicating if arson was suspected. '1' means Yes, '0' means No.
|
| 598 |
+
Data Type: bit, NULLable
|
| 599 |
+
Examples: (mostly blank/0)
|
| 600 |
+
|
| 601 |
+
Column Name: ReportedBy
|
| 602 |
+
Description: A code indicating who or what agency reported the incident. Lookup codes can be found in the `dptCodes` table with `category = 'inreptby'`.
|
| 603 |
+
Data Type: varchar(8), NULLable
|
| 604 |
+
Examples: (mostly blank)
|
| 605 |
+
|
| 606 |
+
Column Name: lReExport
|
| 607 |
+
Description: A boolean flag indicating if the record was corrected and needs to be re-exported to a state or federal reporting system (like NFIRS). '1' means Yes, '0' means No.
|
| 608 |
+
Data Type: bit, NULLable (Default 0)
|
| 609 |
+
Examples: (likely 0)
|
| 610 |
+
|
| 611 |
+
Column Name: XCoord
|
| 612 |
+
Description: The X-coordinate for geographic mapping systems (e.g., state plane coordinate system).
|
| 613 |
+
Data Type: char(20), NULLable
|
| 614 |
+
Examples: (mostly blank)
|
| 615 |
+
|
| 616 |
+
Column Name: YCoord
|
| 617 |
+
Description: The Y-coordinate for geographic mapping systems.
|
| 618 |
+
Data Type: char(20), NULLable
|
| 619 |
+
Examples: (mostly blank)
|
| 620 |
+
|
| 621 |
+
Column Name: lValidated
|
| 622 |
+
Description: A boolean flag indicating if the incident location has been validated, likely through a geocoding process. '1' means Yes, '0' means No.
|
| 623 |
+
Data Type: bit, NULLable
|
| 624 |
+
Examples: (likely 0)
|
| 625 |
+
|
| 626 |
+
Column Name: isEPCR
|
| 627 |
+
Description: A boolean flag indicating if this incident record originated from or is linked to an electronic Patient Care Report (ePCR) system. '1' means Yes, '0' means No.
|
| 628 |
+
Data Type: bit, NULLable
|
| 629 |
+
Examples: (likely 0)
|
| 630 |
+
|
| 631 |
+
Column Name: ofm_mutualaid
|
| 632 |
+
Description: For the Ontario Office of the Fire Marshal (OFM), this is a code for the type of mutual aid. Lookup codes can be found in the `dptCodes` table with `category = 'mutl_aid'`.
|
| 633 |
+
Data Type: char(10), NULLable
|
| 634 |
+
Examples: (mostly blank)
|
| 635 |
+
|
| 636 |
+
Column Name: EMSModule
|
| 637 |
+
Description: A flag indicating the type of EMS module or standard used. According to the description: 1-Basic EMS, 2-Advanced EMS, 3-NEMSIS (National EMS Information System).
|
| 638 |
+
Data Type: tinyint, NULLable
|
| 639 |
+
Examples: (mostly blank)
|
| 640 |
+
|
| 641 |
+
Column Name: inc_exc
|
| 642 |
+
Description: A code for an incident delay or exception. Lookup codes can be found in the `dptCodes` table with `category = 'incexcep'`.
|
| 643 |
+
Data Type: char(10), NULLable
|
| 644 |
+
Examples: (mostly blank)
|
| 645 |
+
|
| 646 |
+
Column Name: CensusArea
|
| 647 |
+
Description: A code for the Census Area. Lookup codes can be found in the `dptCodes` table with `category = 'censara'`.
|
| 648 |
+
Data Type: char(10), NULLable
|
| 649 |
+
Examples: (mostly blank)
|
| 650 |
+
|
| 651 |
+
Column Name: finaldispatchcode
|
| 652 |
+
Description: The final dispatch code used for the incident. This may be the same as or different from the `initialdispatchcode`, reflecting any updates made during the response.
|
| 653 |
+
Data Type: varchar(25), NULLable
|
| 654 |
+
Examples: FWX, MA, FST
|
| 655 |
+
|
| 656 |
+
Column Name: created
|
| 657 |
+
Description: The date and time when the incident record was first created in the database.
|
| 658 |
+
Data Type: datetime, NOT NULL (Default getdate())
|
| 659 |
+
Examples: (not in sample, but would be a date/time)
|
| 660 |
+
|
| 661 |
+
Column Name: ResponseType
|
| 662 |
+
Description: A code for the type of response. Lookup codes can be found in the `dptCodes` table with `category = 'resptype'`.
|
| 663 |
+
Data Type: varchar(10), NULLable
|
| 664 |
+
Examples: (mostly blank)
|
| 665 |
+
|
| 666 |
+
Column Name: CADText1
|
| 667 |
+
Description: A user-defined text field for custom CAD data, number 1.
|
| 668 |
+
Data Type: varchar(50), NULLable
|
| 669 |
+
Examples: (mostly blank)
|
| 670 |
+
|
| 671 |
+
Column Name: CADText2
|
| 672 |
+
Description: A user-defined text field for custom CAD data, number 2.
|
| 673 |
+
Data Type: varchar(50), NULLable
|
| 674 |
+
Examples: (mostly blank)
|
| 675 |
+
|
| 676 |
+
Column Name: CADText3
|
| 677 |
+
Description: A user-defined text field for custom CAD data, number 3.
|
| 678 |
+
Data Type: varchar(50), NULLable
|
| 679 |
+
Examples: (mostly blank)
|
| 680 |
+
|
| 681 |
+
Column Name: CADCombo1
|
| 682 |
+
Description: A user-defined combo box field for custom CAD data, number 1. Lookup codes can be found in the `dptCodes` table with `category = 'cadcomb1'`.
|
| 683 |
+
Data Type: varchar(50), NULLable
|
| 684 |
+
Examples: (mostly blank)
|
| 685 |
+
|
| 686 |
+
Column Name: CADCombo2
|
| 687 |
+
Description: A user-defined combo box field for custom CAD data, number 2. Lookup codes can be found in the `dptCodes` table with `category = 'cadcomb2'`.
|
| 688 |
+
Data Type: varchar(50), NULLable
|
| 689 |
+
Examples: (mostly blank)
|
| 690 |
+
|
| 691 |
+
Column Name: CADCombo3
|
| 692 |
+
Description: A user-defined combo box field for custom CAD data, number 3. Lookup codes can be found in the `dptCodes` table with `category = 'cadcomb3'`.
|
| 693 |
+
Data Type: varchar(50), NULLable
|
| 694 |
+
Examples: (mostly blank)
|
| 695 |
+
|
| 696 |
+
Column Name: GMTOffSet
|
| 697 |
+
Description: The GMT offset for the time zone of the record's location.
|
| 698 |
+
Data Type: varchar(6), NULLable
|
| 699 |
+
Examples: (mostly blank)
|
| 700 |
+
|
| 701 |
+
Column Name: CADDate1
|
| 702 |
+
Description: A user-defined date/time field for custom CAD data, number 1.
|
| 703 |
+
Data Type: datetime, NULLable
|
| 704 |
+
Examples: (mostly blank)
|
| 705 |
+
|
| 706 |
+
Column Name: CADDate2
|
| 707 |
+
Description: A user-defined date/time field for custom CAD data, number 2.
|
| 708 |
+
Data Type: datetime, NULLable
|
| 709 |
+
Examples: (mostly blank)
|
| 710 |
+
|
| 711 |
+
Column Name: CADDate3
|
| 712 |
+
Description: A user-defined date/time field for custom CAD data, number 3.
|
| 713 |
+
Data Type: datetime, NULLable
|
| 714 |
+
Examples: (mostly blank)
|
| 715 |
+
|
| 716 |
+
Column Name: WaterOnFireDate
|
| 717 |
+
Description: This field has been moved to the `fire` table. It was originally an incoming benchmark field from CAD.
|
| 718 |
+
Data Type: datetime, NULLable
|
| 719 |
+
Examples: (mostly blank)
|
| 720 |
+
|
| 721 |
+
Column Name: PriSearchCompDate
|
| 722 |
+
Description: An incoming benchmark field from CAD for the date/time the primary search was completed. It is moved to the `fire` table via a trigger.
|
| 723 |
+
Data Type: datetime, NULLable
|
| 724 |
+
Examples: (mostly blank)
|
| 725 |
+
|
| 726 |
+
Column Name: SecSearchCompDate
|
| 727 |
+
Description: The date and time the secondary search was completed.
|
| 728 |
+
Data Type: datetime, NULLable
|
| 729 |
+
Examples: (mostly blank)
|
| 730 |
+
|
| 731 |
+
Column Name: AllClearDate
|
| 732 |
+
Description: The date and time the incident scene was declared "All Clear," meaning no further victims or hazards were found.
|
| 733 |
+
Data Type: datetime, NULLable
|
| 734 |
+
Examples: (mostly blank)
|
| 735 |
+
|
| 736 |
+
Column Name: LossStoppedDate
|
| 737 |
+
Description: The date and time when the spread of loss or damage was stopped.
|
| 738 |
+
Data Type: datetime, NULLable
|
| 739 |
+
Examples: (mostly blank)
|
| 740 |
+
|
| 741 |
+
Column Name: CustStabilizedDate
|
| 742 |
+
Description: The date and time when the customer or patient was stabilized.
|
| 743 |
+
Data Type: datetime, NULLable
|
| 744 |
+
Examples: (mostly blank)
|
| 745 |
+
|
| 746 |
+
Column Name: Investigations_Notified
|
| 747 |
+
Description: A flag indicating if the fire investigation unit was notified. '1' likely means 'No', '2' likely means 'Yes'.
|
| 748 |
+
Data Type: tinyint, NULLable (Default 0)
|
| 749 |
+
Examples: (mostly blank/0)
|
| 750 |
+
|
| 751 |
+
Column Name: Extrication
|
| 752 |
+
Description: A boolean flag indicating if extrication was performed. '1' means Yes, '0' means No.
|
| 753 |
+
Data Type: bit, NOT NULL (Default 0)
|
| 754 |
+
Examples: 0
|
| 755 |
+
|
| 756 |
+
Column Name: ApparatusImported
|
| 757 |
+
Description: A flag used for exposure records. '0' means apparatus was not imported from the primary incident, '1' means apparatus was imported.
|
| 758 |
+
Data Type: bit, NULLable (Default 0)
|
| 759 |
+
Examples: (mostly blank/0)
|
| 760 |
+
|
| 761 |
+
Column Name: lHazMatTabFlag
|
| 762 |
+
Description: A boolean flag indicating if the Hazardous Materials tab should be included in the report. '1' means include the tab, '0' means do not include it. It is set based on the `hazardmaterialreleased` selection.
|
| 763 |
+
Data Type: bit, NULLable (Default 0)
|
| 764 |
+
Examples: (mostly blank/0)
|
| 765 |
+
|
| 766 |
+
Column Name: responseTime
|
| 767 |
+
Description: The calculated maximum allowable response time for the selected incident type, used for performance benchmarking.
|
| 768 |
+
Data Type: varchar(20), NULLable
|
| 769 |
+
Examples: (mostly blank)
|
| 770 |
+
|
| 771 |
+
Column Name: ProQA
|
| 772 |
+
Description: The dispatch code or protocol information from the ProQA emergency dispatch system.
|
| 773 |
+
Data Type: varchar(100), NULLable
|
| 774 |
+
Examples: (mostly blank)
|
| 775 |
+
|
| 776 |
+
Column Name: turnTime
|
| 777 |
+
Description: The calculated turnout time for the incident, representing the time from alarm to apparatus leaving the station.
|
| 778 |
+
Data Type: varchar(20), NULLable
|
| 779 |
+
Examples: (mostly blank)
|
| 780 |
+
|
| 781 |
+
Column Name: Mapset
|
| 782 |
+
Description: The map set identifier from the AGIS geographic information system.
|
| 783 |
+
Data Type: varchar(6), NULLable
|
| 784 |
+
Examples: (mostly blank)
|
| 785 |
+
|
| 786 |
+
Column Name: Easting
|
| 787 |
+
Description: The Easting coordinate from the AGIS system.
|
| 788 |
+
Data Type: varchar(5), NULLable
|
| 789 |
+
Examples: (mostly blank)
|
| 790 |
+
|
| 791 |
+
Column Name: Northing
|
| 792 |
+
Description: The Northing coordinate from the AGIS system.
|
| 793 |
+
Data Type: varchar(5), NULLable
|
| 794 |
+
Examples: (mostly blank)
|
data/rag_input_data/incident_table_details.txt
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Table name: incident
|
| 2 |
+
|
| 3 |
+
The incident table serves as the central repository for all emergency incident data within the Fire Records Management System (RMS5). Each record in this table represents a unique incident, identified by a system-generated key (incidentkey). This table acts as the primary hub, linking to numerous other tables that store granular details about apparatus, personnel, casualties, and more.
|
| 4 |
+
|
| 5 |
+
Core Information: The table stores the foundational details of an incident, including its public-facing number (incidentnumber), exposure status (exposure), and official date and time (incidentdate). Key workflow statuses are tracked via boolean flags, indicating if a report is completed, has been reviewstatusflag, or is approved for publicreleaseflag.
|
| 6 |
+
|
| 7 |
+
Temporal Data: A critical function of this table is to record all major timestamps associated with an incident's lifecycle. This includes the initial alarmdate, the first unit's arrivaldate, the time the incident was brought under controlleddate, and when the last unit lastunitcleareddate. These timestamps are essential for calculating performance metrics like response time.
|
| 8 |
+
|
| 9 |
+
Location and Jurisdiction: The table comprehensively captures the incident's location. This includes administrative identifiers like district, station, and shift, as well as detailed address components (streetnumber, streethighway, city, state, zipcode) and geographic coordinates (latitude, longitude). A pre-built compositeaddress field is also provided for easy display.
|
| 10 |
+
|
| 11 |
+
Incident Classification and Response: It classifies the nature of the incident using standardized codes for incidenttype, initialdispatchcode, and actions taken (actiontaken1, actiontaken2, actiontaken3). It also tracks resource allocation through summary counts for department and mutual aid apparatus and personnel (e.g., apparatussuppression, mapersonnelsuppression).
|
| 12 |
+
|
| 13 |
+
Property and Casualty Information: For incidents involving property damage or loss, the table stores financial data such as valueproperty, lossproperty, and their contents counterparts. It also tracks the number of fatalfireservice, fatalother, and non-fatal casualties, along with flags for casualties (casualtiesflag) and EMS provision (emsprovidedflag).
|
| 14 |
+
|
| 15 |
+
Supplementary and Legacy Data: A significant portion of the table is dedicated to fields that are either legacy columns, placeholders for data moved to more specific tables (like fire or carbonmonoxide), or fields for CAD (Computer-Aided Dispatch) integration (e.g., CADText1, ProQA). This design makes the table a comprehensive, all-encompassing record of the incident from dispatch to final closure.
|
data/rag_input_data/incidentappratus_columns_details.txt
ADDED
|
@@ -0,0 +1,369 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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Name: incidentkey
|
| 2 |
+
Description: The primary key for the incident table. This is a unique, system-generated 14-character identifier for every incident record. It serves as the fundamental link to connect this apparatus response record back to the main incident details. This value is used to join with the incident table to get incident-level information such as incident type, location, and final disposition.
|
| 3 |
+
Data Type: char(14), NOT NULL
|
| 4 |
+
Examples: _48Y061NFN_SMS, _48Y006CZ7_SMS, _48Y09QZRO_SMS
|
| 5 |
+
|
| 6 |
+
Column Name: apparatuskey
|
| 7 |
+
Description: The primary key for the apparatus table. This is a unique, system-generated 14-character identifier for a specific apparatus response to an incident. It serves as the primary link between apparatus response records and personnel assignments, indicating which piece of equipment a person was assigned to for a given incident. This value is used to join with the apparatus table to get details about the vehicle itself.
|
| 8 |
+
Data Type: char(14), NULL
|
| 9 |
+
Examples: _48Y062BSQ_SMS, _48Y006D02_SMS, _48Y09RO93_SMS
|
| 10 |
+
|
| 11 |
+
Column Name: apparatusid
|
| 12 |
+
Description: The public-facing identifier or "unit number" of the apparatus (e.g., 'BE5', 'BB2'). This is the common name used in radio communications and reports to identify a specific fire station and vehicle type (e.g., Engine, Truck, Chief). This value is often used in conjunction with the apparatuskey for display and reporting purposes.
|
| 13 |
+
Data Type: char(?), NULL
|
| 14 |
+
Examples: BE5, BE13, BE2, BB2
|
| 15 |
+
|
| 16 |
+
Column Name: deptunitornotcode
|
| 17 |
+
Description: A code indicating whether the apparatus is a primary department unit or another type of resource. The code '0' corresponds to 'DeptUnit', meaning it is a department-owned unit.
|
| 18 |
+
Data Type: int, NULL
|
| 19 |
+
Examples: 0
|
| 20 |
+
|
| 21 |
+
Column Name: deptunitornotdescrip
|
| 22 |
+
Description: A description of the apparatus's departmental affiliation. The value 'DeptUnit' indicates the apparatus is owned and operated by the fire department, as opposed to a mutual aid or private resource.
|
| 23 |
+
Data Type: nvarchar, NULL
|
| 24 |
+
Examples: DeptUnit
|
| 25 |
+
|
| 26 |
+
Column Name: priorityresponsecode
|
| 27 |
+
Description: A code indicating the priority of the response. '1' signifies a high-priority, emergent response (e.g., with lights and sirens). '0' signifies a non-emergent or routine response.
|
| 28 |
+
Data Type: int, NULL
|
| 29 |
+
Examples: 0, 1
|
| 30 |
+
|
| 31 |
+
Column Name: priorityresponsedescrip
|
| 32 |
+
Description: A description of the response priority. 'Yes' indicates a priority or emergent response, while 'No' indicates a non-priority or non-emergent response.
|
| 33 |
+
Data Type: nvarchar, NULL
|
| 34 |
+
Examples: No, Yes
|
| 35 |
+
|
| 36 |
+
Column Name: cancelledenroutecode
|
| 37 |
+
Description: A code indicating whether the apparatus was cancelled while responding to the incident. '1' signifies Yes (the unit was cancelled), '0' signifies No.
|
| 38 |
+
Data Type: int, NULL
|
| 39 |
+
Examples: 0, 1
|
| 40 |
+
|
| 41 |
+
Column Name: cancelledenroutedescrip
|
| 42 |
+
Description: A description of the cancellation status. 'Yes' means the apparatus was cancelled en route. 'No' means it was not.
|
| 43 |
+
Data Type: nvarchar, NULL
|
| 44 |
+
Examples: No, Yes
|
| 45 |
+
|
| 46 |
+
Column Name: firstarrivingunitcode
|
| 47 |
+
Description: A code indicating whether this apparatus was the first to arrive on the scene of the incident. '1' signifies Yes, '0' signifies No.
|
| 48 |
+
Data Type: int, NULL
|
| 49 |
+
Examples: 1, 0
|
| 50 |
+
|
| 51 |
+
Column Name: firstarrivingunitdescrip
|
| 52 |
+
Description: A description of the first-arriving status. 'Yes' means this unit was the first to arrive. 'No' means it was not.
|
| 53 |
+
Data Type: nvarchar, NULL
|
| 54 |
+
Examples: Yes, No
|
| 55 |
+
|
| 56 |
+
Column Name: dispatchtype
|
| 57 |
+
Description: A code indicating the type of dispatch. This field appears to be unused or deprecated, as all values are NULL.
|
| 58 |
+
Data Type: int, NULL
|
| 59 |
+
Examples: NULL
|
| 60 |
+
|
| 61 |
+
Column Name: dispatchtypedescrip
|
| 62 |
+
Description: A description of the dispatch type. This field appears to be unused or deprecated, as all values are NULL.
|
| 63 |
+
Data Type: nvarchar, NULL
|
| 64 |
+
Examples: NULL
|
| 65 |
+
|
| 66 |
+
Column Name: respondedfromquarterscode
|
| 67 |
+
Description: A code indicating whether the apparatus responded directly from its quarters (the fire station). '1' signifies Yes, '0' signifies No.
|
| 68 |
+
Data Type: int, NULL
|
| 69 |
+
Examples: 0, 1
|
| 70 |
+
|
| 71 |
+
Column Name: respondedfromquarterdescrip
|
| 72 |
+
Description: A description of the response origin. 'Yes' means the apparatus responded from its station. 'No' typically indicates it was already out on another call, staged, or returning from a previous incident.
|
| 73 |
+
Data Type: nvarchar, NULL
|
| 74 |
+
Examples: No, Yes
|
| 75 |
+
|
| 76 |
+
Column Name: mainapparatususecode
|
| 77 |
+
Description: A code representing the primary function or use of the apparatus during this response. '1' commonly indicates a suppression role, while '2' might indicate EMS or other support. This code is used in conjunction with apparatustypecode to define the unit's role.
|
| 78 |
+
Data Type: int, NULL
|
| 79 |
+
Examples: 1
|
| 80 |
+
|
| 81 |
+
Column Name: mainapparatususedescrip
|
| 82 |
+
Description: A description of the primary apparatus use. 'Suppression' indicates the apparatus is primarily for firefighting.
|
| 83 |
+
Data Type: nvarchar, NULL
|
| 84 |
+
Examples: Suppression
|
| 85 |
+
|
| 86 |
+
Column Name: apparatustypecode
|
| 87 |
+
Description: A code that specifies the type of apparatus. '11' indicates an Engine, '12' indicates a Truck or Aerial, '92' indicates a Chief Officer Car, and '16' indicates a Brush Truck. This code is used to categorize the vehicle.
|
| 88 |
+
Data Type: int, NULL
|
| 89 |
+
Examples: 11, 92, 12, 16
|
| 90 |
+
|
| 91 |
+
Column Name: apparatustypedescrip
|
| 92 |
+
Description: A description of the apparatus type. Examples include "Engine", "Chief officer car", "Truck or aerial", and "Brush truck". This provides the full textual name for the apparatustypecode.
|
| 93 |
+
Data Type: nvarchar, NULL
|
| 94 |
+
Examples: Engine, Chief officer car, Truck or aerial, Brush truck
|
| 95 |
+
|
| 96 |
+
Column Name: actiontaken1code, actiontaken2code, actiontaken3code, actiontaken4code
|
| 97 |
+
Description: A code representing the first, second, third, and fourth primary actions taken by the crew of this apparatus at the scene. Codes like '93' indicate "Cancelled en route", '86' indicates "Investigate", and '31' indicates "Provide first aid & check for injuries". The presence of multiple action codes allows for recording a sequence of activities.
|
| 98 |
+
Data Type: nvarchar, NULL
|
| 99 |
+
Examples: 93, 86, 31, NULL
|
| 100 |
+
|
| 101 |
+
Column Name: actiontaken1descip, actiontaken2descip, actiontaken3descip, actiontaken4descip
|
| 102 |
+
Description: A description of the corresponding actiontaken#code. Examples include "Cancelled en route", "Investigate", and "Provide first aid & check for injuries". This provides the human-readable narrative of the actions taken by the crew.
|
| 103 |
+
Data Type: nvarchar, NULL
|
| 104 |
+
Examples: Cancelled en route, Investigate, Provide first aid & check for injuries, NULL
|
| 105 |
+
|
| 106 |
+
Column Name: numberofresponders
|
| 107 |
+
Description: The number of personnel who responded on this apparatus to the incident. This count is used for staffing analysis and resource tracking.
|
| 108 |
+
Data Type: int, NULL
|
| 109 |
+
Examples: 3, 1, 4
|
| 110 |
+
|
| 111 |
+
Column Name: dispatchdatetime
|
| 112 |
+
Description: The date and time when the apparatus was dispatched to the incident. This is the starting point for measuring response timelines.
|
| 113 |
+
Data Type: datetime, NULL
|
| 114 |
+
Examples: 48:09.0, 02:38.0, 30:25.0
|
| 115 |
+
|
| 116 |
+
Column Name: dispatchtime
|
| 117 |
+
Description: The time of day when the apparatus was dispatched, derived from dispatchdatetime. This field is used for analyzing time-of-day patterns.
|
| 118 |
+
Data Type: time, NULL
|
| 119 |
+
Examples: 2:48:09, 0:02:38, 4:30:25
|
| 120 |
+
|
| 121 |
+
Column Name: dispatchdate
|
| 122 |
+
Description: The date on which the apparatus was dispatched, derived from dispatchdatetime.
|
| 123 |
+
Data Type: date, NULL
|
| 124 |
+
Examples: 1/1/2015, 1/2/2015, 1/3/2015
|
| 125 |
+
|
| 126 |
+
Column Name: dispatchenroutetime
|
| 127 |
+
Description: The time of day when the apparatus acknowledged the dispatch and began traveling to the scene (en route). The format is h:mm:ss.
|
| 128 |
+
Data Type: time, NULL
|
| 129 |
+
Examples: 0:01:31, 0:01:19, 0:01:49
|
| 130 |
+
|
| 131 |
+
Column Name: dispatchenroutediffseconds
|
| 132 |
+
Description: The time difference, in seconds, between dispatchdatetime and enroutetoscenedatetime. This measures the "turnout time" – how long it took the crew to get the apparatus rolling after being dispatched.
|
| 133 |
+
Data Type: int, NULL
|
| 134 |
+
Examples: 91, 79, 109
|
| 135 |
+
|
| 136 |
+
Column Name: enroutetoscenedatetime
|
| 137 |
+
Description: The date and time when the apparatus reported that it was en route to the scene. This marks the beginning of the travel phase.
|
| 138 |
+
Data Type: datetime, NULL
|
| 139 |
+
Examples: 49:40.0, 03:57.0, 32:14.0
|
| 140 |
+
|
| 141 |
+
Column Name: enroutetoscenetime
|
| 142 |
+
Description: The time of day when the apparatus reported it was en route to the scene, derived from enroutetoscenedatetime.
|
| 143 |
+
Data Type: time, NULL
|
| 144 |
+
Examples: 2:49:40, 0:03:57, 4:32:14
|
| 145 |
+
|
| 146 |
+
Column Name: enroutetoscenedate
|
| 147 |
+
Description: The date on which the apparatus reported it was en route to the scene, derived from enroutetoscenedatetime.
|
| 148 |
+
Data Type: date, NULL
|
| 149 |
+
Examples: 1/1/2015
|
| 150 |
+
|
| 151 |
+
Column Name: enroutearrivalscenetime
|
| 152 |
+
Description: The time of day when the apparatus arrived at the scene of the incident. The format is h:mm:ss. NULL values indicate the unit did not arrive (e.g., was cancelled en route).
|
| 153 |
+
Data Type: time, NULL
|
| 154 |
+
Examples: NULL, 0:06:12, NULL
|
| 155 |
+
|
| 156 |
+
Column Name: enroutearrivalscenediffseconds
|
| 157 |
+
Description: The time difference, in seconds, between enroutetoscenedatetime and arrivaldatetime. This measures the "travel time" from the station to the scene.
|
| 158 |
+
Data Type: int, NULL
|
| 159 |
+
Examples: 0, 372, 0
|
| 160 |
+
|
| 161 |
+
Column Name: responsetime
|
| 162 |
+
Description: The total time from dispatch to arrival on scene, calculated as dispatchdatetime to arrivaldatetime. The format is h:mm:ss. NULL values indicate the unit did not arrive.
|
| 163 |
+
Data Type: time, NULL
|
| 164 |
+
Examples: NULL, 0:07:37, NULL
|
| 165 |
+
|
| 166 |
+
Column Name: responsetimeseconds
|
| 167 |
+
Description: The total response time, in seconds, from dispatch to arrival on scene. This is a numeric equivalent of responsetime.
|
| 168 |
+
Data Type: int, NULL
|
| 169 |
+
Examples: 0, 457, 0
|
| 170 |
+
|
| 171 |
+
Column Name: arrivaldatetime
|
| 172 |
+
Description: The date and time when the apparatus arrived on the scene of the incident.
|
| 173 |
+
Data Type: datetime, NULL
|
| 174 |
+
Examples: 00:00.0, 54:06.0, 00:00.0
|
| 175 |
+
|
| 176 |
+
Column Name: arrivaltime
|
| 177 |
+
Description: The time of day when the apparatus arrived on the scene, derived from arrivaldatetime.
|
| 178 |
+
Data Type: time, NULL
|
| 179 |
+
Examples: , 0:54:06,
|
| 180 |
+
|
| 181 |
+
Column Name: arrivaldate
|
| 182 |
+
Description: The date on which the apparatus arrived on the scene, derived from arrivaldatetime.
|
| 183 |
+
Data Type: date, NULL
|
| 184 |
+
Examples: , 1/1/2015,
|
| 185 |
+
|
| 186 |
+
Column Name: arrivaltoenroutehospdifftime
|
| 187 |
+
Description: This field appears to be unused or deprecated for this dataset, as all values are NULL. It may relate to EMS transport time calculations.
|
| 188 |
+
Data Type: time, NULL
|
| 189 |
+
Examples: NULL
|
| 190 |
+
|
| 191 |
+
Column Name: arrivaltoenroutehospdiffseconds
|
| 192 |
+
Description: This field appears to be unused or deprecated for this dataset, as all values are NULL.
|
| 193 |
+
Data Type: int, NULL
|
| 194 |
+
Examples: 0
|
| 195 |
+
|
| 196 |
+
Column Name: enroutetohospitaldatetime
|
| 197 |
+
Description: The date and time when the apparatus began transporting a patient to the hospital. This is NULL for non-EMS responses.
|
| 198 |
+
Data Type: datetime, NULL
|
| 199 |
+
Examples: 00:00.0, 00:00.0, 00:00.0
|
| 200 |
+
|
| 201 |
+
Column Name: enroutetohospitaltime
|
| 202 |
+
Description: The time of day when the apparatus began transporting a patient to the hospital, derived from enroutetohospitaldatetime.
|
| 203 |
+
Data Type: time, NULL
|
| 204 |
+
Examples: , , ,
|
| 205 |
+
|
| 206 |
+
Column Name: enroutetohospitaldate
|
| 207 |
+
Description: The date on which the apparatus began transporting a patient to the hospital, derived from enroutetohospitaldatetime.
|
| 208 |
+
Data Type: date, NULL
|
| 209 |
+
Examples: , , ,
|
| 210 |
+
|
| 211 |
+
Column Name: enroutetoarrivalhospdifftime
|
| 212 |
+
Description: This field appears to be unused or deprecated for this dataset, as all values are NULL.
|
| 213 |
+
Data Type: time, NULL
|
| 214 |
+
Examples: NULL
|
| 215 |
+
|
| 216 |
+
Column Name: enroutetoarrivalhospdiffseconds
|
| 217 |
+
Description: This field appears to be unused or deprecated for this dataset, as all values are NULL.
|
| 218 |
+
Data Type: int, NULL
|
| 219 |
+
Examples: 0
|
| 220 |
+
|
| 221 |
+
Column Name: arrivalscenetoarrivalhospdifftime
|
| 222 |
+
Description: This field appears to be unused or deprecated for this dataset, as all values are NULL.
|
| 223 |
+
Data Type: time, NULL
|
| 224 |
+
Examples: NULL
|
| 225 |
+
|
| 226 |
+
Column Name: arrivalscenetoarrivalhospdiffseconds
|
| 227 |
+
Description: This field appears to be unused or deprecated for this dataset, as all values are NULL.
|
| 228 |
+
Data Type: int, NULL
|
| 229 |
+
Examples: 0
|
| 230 |
+
|
| 231 |
+
Column Name: hospitalarrivaldatetime
|
| 232 |
+
Description: The date and time when the apparatus arrived at the hospital with a patient. This is NULL for non-EMS responses.
|
| 233 |
+
Data Type: datetime, NULL
|
| 234 |
+
Examples: 00:00.0, 00:00.0, 00:00.0
|
| 235 |
+
|
| 236 |
+
Column Name: hospitalarrivaltime
|
| 237 |
+
Description: The time of day when the apparatus arrived at the hospital, derived from hospitalarrivaldatetime.
|
| 238 |
+
Data Type: time, NULL
|
| 239 |
+
Examples: , , ,
|
| 240 |
+
|
| 241 |
+
Column Name: hospitalarrivaldate
|
| 242 |
+
Description: The date on which the apparatus arrived at the hospital, derived from hospitalarrivaldatetime.
|
| 243 |
+
Data Type: date, NULL
|
| 244 |
+
Examples: , , ,
|
| 245 |
+
|
| 246 |
+
Column Name: arrivalclearhospdifftime
|
| 247 |
+
Description: This field appears to be unused or deprecated for this dataset, as all values are NULL.
|
| 248 |
+
Data Type: time, NULL
|
| 249 |
+
Examples: NULL
|
| 250 |
+
|
| 251 |
+
Column Name: arrivalclearhospdiffseconds
|
| 252 |
+
Description: This field appears to be unused or deprecated for this dataset, as all values are NULL.
|
| 253 |
+
Data Type: int, NULL
|
| 254 |
+
Examples: 0
|
| 255 |
+
|
| 256 |
+
Column Name: cleardatetime
|
| 257 |
+
Description: The date and time when the apparatus was cleared from the incident and became available for another response. This marks the end of the incident for this unit.
|
| 258 |
+
Data Type: datetime, NULL
|
| 259 |
+
Examples: 57:19.0, 08:03.0, 41:20.0
|
| 260 |
+
|
| 261 |
+
Column Name: cleartime
|
| 262 |
+
Description: The time of day when the apparatus was cleared from the incident, derived from cleardatetime.
|
| 263 |
+
Data Type: time, NULL
|
| 264 |
+
Examples: 2:57:19, 0:08:03, 4:41:20
|
| 265 |
+
|
| 266 |
+
Column Name: cleardate
|
| 267 |
+
Description: The date on which the apparatus was cleared from the incident, derived from cleardatetime.
|
| 268 |
+
Data Type: date, NULL
|
| 269 |
+
Examples: 1/1/2015, 1/2/2015, 1/3/2015
|
| 270 |
+
|
| 271 |
+
Column Name: dispatchcleardifftime
|
| 272 |
+
Description: The total time from dispatch to being cleared from the incident, calculated as dispatchdatetime to cleardatetime. The format is h:mm:ss. This measures the total time the unit was committed to the incident.
|
| 273 |
+
Data Type: time, NULL
|
| 274 |
+
Examples: 0:09:10, 0:05:25, 0:10:55
|
| 275 |
+
|
| 276 |
+
Column Name: dispatchcleardiffseconds
|
| 277 |
+
Description: The total time from dispatch to being cleared, in seconds. This is a numeric equivalent of dispatchcleardifftime.
|
| 278 |
+
Data Type: int, NULL
|
| 279 |
+
Examples: 550, 325, 655
|
| 280 |
+
|
| 281 |
+
Column Name: inservicedatetime
|
| 282 |
+
Description: The date and time when the apparatus was placed back in service and available for responses. This may be the same as cleardatetime or may differ if post-incident activities (e.g., decontamination, refueling) occurred.
|
| 283 |
+
Data Type: datetime, NULL
|
| 284 |
+
Examples: 00:00.0, 00:00.0, 00:00.0
|
| 285 |
+
|
| 286 |
+
Column Name: inservicetime
|
| 287 |
+
Description: The time of day when the apparatus was placed back in service, derived from inservicedatetime.
|
| 288 |
+
Data Type: time, NULL
|
| 289 |
+
Examples: , , ,
|
| 290 |
+
|
| 291 |
+
Column Name: inservicedate
|
| 292 |
+
Description: The date on which the apparatus was placed back in service, derived from inservicedatetime.
|
| 293 |
+
Data Type: date, NULL
|
| 294 |
+
Examples: , , ,
|
| 295 |
+
|
| 296 |
+
Column Name: emsruncode
|
| 297 |
+
Description: A code indicating whether this was an EMS (Emergency Medical Services) run. The value 'Not EMS Run' suggests the apparatus was not on a primary EMS call.
|
| 298 |
+
Data Type: nvarchar, NULL
|
| 299 |
+
Examples: Not EMS Run
|
| 300 |
+
|
| 301 |
+
Column Name: emsrundescrip
|
| 302 |
+
Description: A description of the EMS run status. The consistent value NULL suggests this incident type is not primarily an EMS event.
|
| 303 |
+
Data Type: nvarchar, NULL
|
| 304 |
+
Examples: NULL
|
| 305 |
+
|
| 306 |
+
Column Name: emsrunnumber
|
| 307 |
+
Description: A number associated with the EMS run, potentially a sequential or tracking number. This is NULL for non-EMS runs.
|
| 308 |
+
Data Type: int, NULL
|
| 309 |
+
Examples: NULL
|
| 310 |
+
|
| 311 |
+
Column Name: losapcode
|
| 312 |
+
Description: A code related to LOSAP (Length of Service Award Program) credit. '1' indicates the response qualifies for LOSAP credit.
|
| 313 |
+
Data Type: int, NULL
|
| 314 |
+
Examples: 1
|
| 315 |
+
|
| 316 |
+
Column Name: losapdescrip
|
| 317 |
+
Description: A description of the LOSAP credit status. 'Losap Credit' indicates the response is eligible for credit in the service award program.
|
| 318 |
+
Data Type: nvarchar, NULL
|
| 319 |
+
Examples: Losap Credit
|
| 320 |
+
|
| 321 |
+
Column Name: alarmscode
|
| 322 |
+
Description: A code indicating the alarm level or number of alarms for the incident. All values are NULL in this sample, suggesting this is for a single-alarm incident or this field is not used.
|
| 323 |
+
Data Type: int, NULL
|
| 324 |
+
Examples: NULL
|
| 325 |
+
|
| 326 |
+
Column Name: alarmdescrip
|
| 327 |
+
Description: A description of the alarm level. This field is consistently NULL in the provided data.
|
| 328 |
+
Data Type: nvarchar, NULL
|
| 329 |
+
Examples: NULL
|
| 330 |
+
|
| 331 |
+
Column Name: amount1, amount2
|
| 332 |
+
Description: Generic numeric fields, possibly for recording quantities like hose lengths, water used, or other resources. They are NULL in this dataset, indicating they were not used for these incidents.
|
| 333 |
+
Data Type: int, NULL
|
| 334 |
+
Examples: NULL
|
| 335 |
+
|
| 336 |
+
Column Name: fdid_no
|
| 337 |
+
Description: The Fire Department ID number. This field is NULL in the provided data, suggesting it may not be used or is populated from a related table.
|
| 338 |
+
Data Type: nvarchar, NULL
|
| 339 |
+
Examples: NULL
|
| 340 |
+
|
| 341 |
+
Column Name: stagingdatetime
|
| 342 |
+
Description: The date and time when the apparatus was placed in a staging area. This is used for large-scale incidents where units are held in a designated area before being assigned.
|
| 343 |
+
Data Type: datetime, NULL
|
| 344 |
+
Examples: 00:00.0, 00:00.0, 00:00.0
|
| 345 |
+
|
| 346 |
+
Column Name: stagingtime
|
| 347 |
+
Description: The time of day when the apparatus was placed in a staging area, derived from stagingdatetime.
|
| 348 |
+
Data Type: time, NULL
|
| 349 |
+
Examples: , , ,
|
| 350 |
+
|
| 351 |
+
Column Name: stagingdate
|
| 352 |
+
Description: The date on which the apparatus was placed in a staging area, derived from stagingdatetime.
|
| 353 |
+
Data Type: date, NULL
|
| 354 |
+
Examples: , , ,
|
| 355 |
+
|
| 356 |
+
Column Name: AtPatientSideDateTime, AtPatientSideTime, AtPatientSideDate
|
| 357 |
+
Description: The date and time when the crew arrived at the patient's side, typically for EMS calls. This is 00:00.0 in the sample, indicating it was either not an EMS call or this timestamp was not recorded.
|
| 358 |
+
Data Type: datetime / time / date, NULL
|
| 359 |
+
Examples: 00:00.0 / / (blank)
|
| 360 |
+
|
| 361 |
+
Column Name: FacilityDateTime, FacilityTime, FacilityDate
|
| 362 |
+
Description: The date and time when the apparatus arrived at a medical facility with a patient. This is 00:00.0 in the sample, indicating it was either not an EMS transport call or this timestamp was not recorded.
|
| 363 |
+
Data Type: datetime / time / date, NULL
|
| 364 |
+
Examples: 00:00.0 / / (blank)
|
| 365 |
+
|
| 366 |
+
Column Name: changedate
|
| 367 |
+
Description: A timestamp indicating the last time this record was modified in the database. The values appear to be in seconds or a time-of-day format, but given the context of other datetime fields, it likely represents a time component of a full datetime stamp.
|
| 368 |
+
Data Type: datetime, NULL
|
| 369 |
+
Examples: 43:34.2, 10:02.9, 36:07.4
|
data/rag_input_data/incidentappratus_table_details.txt
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Table Name: auv_incidentapparatus
|
| 2 |
+
|
| 3 |
+
This table contains detailed apparatus response records for emergency incidents. Each row represents a specific apparatus unit responding to an incident and includes operational, status, and timing information related to that response. The table links emergency incidents, apparatus units, and operational activities, enabling comprehensive analysis of how fire department resources respond to emergencies.
|
| 4 |
+
|
| 5 |
+
The dataset is structured around a relational connection between incidents and apparatus responses. A unique incident identifier connects each record to the main incident dataset, while a separate apparatus identifier represents the individual vehicle or response unit assigned to that incident. These identifiers allow the dataset to integrate with related tables containing additional incident information, apparatus details, and personnel assignments.
|
| 6 |
+
|
| 7 |
+
Operational characteristics of the responding apparatus are included to describe how the unit participated in the response. These attributes capture the apparatus type, whether it belongs to the department, its operational role, and whether it was the first unit to arrive at the scene. Additional flags indicate conditions such as priority responses, cancellation while en route, and whether the unit responded directly from its station.
|
| 8 |
+
|
| 9 |
+
The dataset also records the operational actions performed by the apparatus crew during the incident. Multiple action fields allow the system to store a sequence of activities carried out at the scene. These actions typically follow standardized fire reporting classifications such as those defined by the National Fire Incident Reporting System (NFIRS), which categorize activities like investigation, providing medical assistance, or suppression operations.
|
| 10 |
+
|
| 11 |
+
A major component of the table is the detailed response timeline for each apparatus. Multiple timestamps capture key milestones in the response lifecycle, including dispatch, acknowledgement of dispatch, travel to the scene, arrival on scene, patient transport events, clearing the incident, and returning to service. In addition to raw timestamps, the table includes calculated duration fields that measure turnout time, travel time, response time, and the total amount of time a unit remained committed to the incident.
|
| 12 |
+
|
| 13 |
+
For incidents involving emergency medical services (EMS), the dataset includes additional patient care milestones such as arrival at the patient’s side, transport to a medical facility, and arrival at the hospital. These fields enable analysis of EMS response performance and patient transport timelines. When incidents do not involve EMS activities, these fields remain empty.
|
| 14 |
+
|
| 15 |
+
Administrative and operational tracking information is also included. Fields indicate whether the response qualifies for LOSAP (Length of Service Award Program) credit, which is often used by volunteer fire departments to track service participation for benefits or recognition programs. Additional metadata fields record staging activity, modification timestamps, and optional numeric values that may be used for resource or reporting metrics.
|
| 16 |
+
|
| 17 |
+
Several fields in the dataset appear unused or consistently null, suggesting they are either reserved for future use, applicable only to specific incident types, or part of a standardized reporting schema where not all attributes are required for every incident.
|
| 18 |
+
|
| 19 |
+
Overall, this table provides a detailed operational view of apparatus-level activity during emergency incidents. It captures apparatus characteristics, response actions, operational status flags, and a complete response timeline, making it useful for analyzing response performance, apparatus utilization, operational efficiency, and emergency service reporting.
|
data/rag_input_data/incidentbase_columns_details.txt
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Column Name: incidentkey
|
| 2 |
+
Description: The primary key for the incident record. This is a unique, system-generated 14-character identifier for every incident record, typically following a pattern like _48Y..._SMS. It serves as the fundamental link to other tables.
|
| 3 |
+
Data Type: char(14), NOT NULL
|
| 4 |
+
Examples: _48Y00K5I8_SMS, _48Y00K5IA_SMS, _48Y00JH1N_SMS
|
| 5 |
+
|
| 6 |
+
Column Name: IncidentNumber
|
| 7 |
+
Description: The human-readable, sequential number assigned to an incident by the dispatch center. Based on the data, it appears to be a 7-digit number.
|
| 8 |
+
Data Type: char(7), NOT NULL
|
| 9 |
+
Examples: 1500003, 1500004, 1500002
|
| 10 |
+
|
| 11 |
+
Column Name: IncidentExposureNumber
|
| 12 |
+
Description: A number used to differentiate between multiple separate fire or event "exposures" or buildings involved in a single original incident number. A value of '0' indicates the primary incident.
|
| 13 |
+
Data Type: char(1), NOT NULL
|
| 14 |
+
Examples: 0
|
| 15 |
+
|
| 16 |
+
Column Name: CompletedReportCode
|
| 17 |
+
Description: A code indicating the completion status of the incident report. A value of '1' likely signifies a "Completed" report.
|
| 18 |
+
Data Type: char(1), NOT NULL
|
| 19 |
+
Examples: 1
|
| 20 |
+
|
| 21 |
+
Column Name: CompletedReportDescrip
|
| 22 |
+
Description: A textual description corresponding to the CompletedReportCode. From the data, '1' maps to "Completed".
|
| 23 |
+
Data Type: varchar(50), NULL
|
| 24 |
+
Examples: Completed
|
| 25 |
+
|
| 26 |
+
Column Name: ReviewedReportCode
|
| 27 |
+
Description: A code indicating whether the incident report has been reviewed. A value of '0' likely signifies "Not Reviewed".
|
| 28 |
+
Data Type: char(1), NOT NULL
|
| 29 |
+
Examples: 0
|
| 30 |
+
|
| 31 |
+
Column Name: ReviewReportDescrip
|
| 32 |
+
Description: A textual description corresponding to the ReviewedReportCode. From the data, '0' maps to "Not Reviewed".
|
| 33 |
+
Data Type: varchar(50), NULL
|
| 34 |
+
Examples: Not Reviewed
|
| 35 |
+
|
| 36 |
+
Column Name: PublicReleaseReportCode
|
| 37 |
+
Description: A code indicating if the report is cleared for public release. A value of '0' likely signifies "Not Released".
|
| 38 |
+
Data Type: char(1), NOT NULL
|
| 39 |
+
Examples: 0
|
| 40 |
+
|
| 41 |
+
Column Name: PublicReleaseReportDEscrip
|
| 42 |
+
Description: A textual description corresponding to the PublicReleaseReportCode. From the data, '0' maps to "Not Released". (Note the typo in the original column name, DEscrip).
|
| 43 |
+
Data Type: varchar(50), NULL
|
| 44 |
+
Examples: Not Released
|
| 45 |
+
|
| 46 |
+
Column Name: DidNotArriveCode
|
| 47 |
+
Description: A flag indicating whether the fire unit arrived on the scene. '0' signifies "Did Arrive", and '1' signifies "Did Not Arrive".
|
| 48 |
+
Data Type: char(1), NOT NULL
|
| 49 |
+
Examples: 0, 1
|
| 50 |
+
|
| 51 |
+
Column Name: DidNotArriveDescrip
|
| 52 |
+
Description: A textual description corresponding to the DidNotArriveCode. From the data, '0' maps to "Did Arrive" and '1' to "Did Not Arrive".
|
| 53 |
+
Data Type: varchar(50), NULL
|
| 54 |
+
Examples: Did Arrive, Did Not Arrive
|
| 55 |
+
|
| 56 |
+
Column Name: AlarmDateTime, Alarmtime, Alarmdate
|
| 57 |
+
Description: These three columns represent the same timestamp - the date and time the alarm was received. The data is split into separate date and time fields for ease of use. The AlarmDateTime column appears to contain the combined time portion, but the date is stored separately in Alarmdate. For example, 08:50.0 is the time and 1/1/2015 is the date.
|
| 58 |
+
Data Type: time, date, date
|
| 59 |
+
Examples: (Time: 08:50.0, Date: 1/1/2015)
|
| 60 |
+
|
| 61 |
+
Column Name: ArrivalDateTime, Arrivaltime, Arrivaldate
|
| 62 |
+
Description: These three columns represent the same timestamp - the date and time the first unit arrived on the scene. The data is split into separate date and time fields.
|
| 63 |
+
Data Type: time, date
|
| 64 |
+
Examples: (Time: 16:56.0, Date: 1/1/2015)
|
| 65 |
+
|
| 66 |
+
Column Name: ClearedDateTime, Clearedtime, Cleareddate
|
| 67 |
+
Description: These three columns represent the same timestamp - the date and time the incident was cleared, and the last unit left the scene. The data is split into separate date and time fields.
|
| 68 |
+
Data Type: time, date
|
| 69 |
+
Examples: (Time: 25:33.0, Date: 1/1/2015). Note that times can exceed 24 hours, indicating duration.
|
| 70 |
+
|
| 71 |
+
Column Name: ResponseTime
|
| 72 |
+
Description: A human-readable representation of the time taken from alarm to arrival on scene. It is formatted as MM:SS. For example, 8:06 represents 8 minutes and 6 seconds.
|
| 73 |
+
Data Type: char(5)
|
| 74 |
+
Examples: 8:06, 5:19, 9:45
|
| 75 |
+
|
| 76 |
+
Column Name: ResponseTimediffseconds
|
| 77 |
+
Description: The ResponseTime expressed purely as a total number of seconds. This is useful for calculations.
|
| 78 |
+
Data Type: int
|
| 79 |
+
Examples: 486, 319, 585
|
| 80 |
+
|
| 81 |
+
Column Name: District
|
| 82 |
+
Description: The district code for the geographic area in which the incident occurred. Examples are B07, B04, 67.
|
| 83 |
+
Data Type: char(5), NULL
|
| 84 |
+
Examples: B07, B04, 67
|
| 85 |
+
|
| 86 |
+
Column Name: Station
|
| 87 |
+
Description: The station number or code of the primary fire station that responded to the incident.
|
| 88 |
+
Data Type: char(5), NULL
|
| 89 |
+
Examples: B7, 4, B1
|
| 90 |
+
|
| 91 |
+
Column Name: IncidentTypeCode
|
| 92 |
+
Description: A code that classifies the primary type of incident (e.g., type of fire, EMS call). Examples include 243 for "Fireworks explosion", 321 for "EMS call".
|
| 93 |
+
Data Type: char(4), NULL
|
| 94 |
+
Examples: 243, 2430, 321
|
| 95 |
+
|
| 96 |
+
Column Name: IncidentTypeDescrip
|
| 97 |
+
Description: A textual description corresponding to the IncidentTypeCode. This provides a clear explanation of the incident type.
|
| 98 |
+
Data Type: varchar(255), NULL
|
| 99 |
+
Examples: Fireworks explosion (no fire), EMS call, excluding vehicle accident with injury
|
| 100 |
+
|
| 101 |
+
Column Name: actiontaken1code, actiontaken2code, actiontaken3code
|
| 102 |
+
Description: Codes describing the primary, secondary, and tertiary actions taken by the fire personnel on scene. 86 maps to "Investigate", 85 to "Enforce code".
|
| 103 |
+
Data Type: char(2), NULL
|
| 104 |
+
Examples: 86, 85, 80
|
| 105 |
+
|
| 106 |
+
Column Name: actiontaken1descip, actiontaken2descip, actiontaken3descip
|
| 107 |
+
Description: Textual descriptions corresponding to the actiontaken codes, explaining what was done by the crew.
|
| 108 |
+
Data Type: varchar(255), NULL
|
| 109 |
+
Examples: Investigate, Enforce code, Information, investigation & enforcement, other
|
| 110 |
+
|
| 111 |
+
Column Name: ApparatusSuppressionCount, ApparatusEMSCount, ApparatusOtherCount, ApparatusTotalCount
|
| 112 |
+
Description: A set of columns that counts the number of fire apparatus (vehicles) that responded, broken down by type: Suppression (fire engines), EMS (ambulances), Other, and a Total count.
|
| 113 |
+
Data Type: int, NULL
|
| 114 |
+
Examples: 1, 0, 0, 1
|
| 115 |
+
|
| 116 |
+
Column Name: PersonnelSuppressionCount, PersonnelEMSCount, PersonnelOtherCount, PersonnelTotalCount
|
| 117 |
+
Description: A set of columns that counts the number of personnel who responded, broken down by their role: Suppression, EMS, Other, and a Total count.
|
| 118 |
+
Data Type: int, NULL
|
| 119 |
+
Examples: 3, 0, 0, 3
|
| 120 |
+
|
| 121 |
+
Column Name: AddressComposite
|
| 122 |
+
Description: A single, concatenated string field that combines the individual address components (Street Number, Prefix, Name, Type, etc.) into a full, formatted street address.
|
| 123 |
+
Data Type: varchar(255), NULL
|
| 124 |
+
Examples: 2601 S REAL RD 77, 327 CHESTNUT AV
|
| 125 |
+
|
| 126 |
+
Column Name: CityStateZipComposite
|
| 127 |
+
Description: A single, concatenated string field that combines the city, state, and zip code into a single field.
|
| 128 |
+
Data Type: varchar(255), NULL
|
| 129 |
+
Examples: Bakersfield, CA 93309, KERN COUNTY, CA 93305
|
| 130 |
+
|
| 131 |
+
Column Name: latitude, longitude
|
| 132 |
+
Description: The geographic coordinates (latitude and longitude) of the incident location. These are used for mapping and spatial analysis.
|
| 133 |
+
Data Type: decimal, NULL
|
| 134 |
+
Examples: (35.33065871, -119.0455376)
|
| 135 |
+
|
| 136 |
+
Column Name: memberdescrip
|
| 137 |
+
Description: The role or description of the crew member who made the report (e.g., "Member Making Report").
|
| 138 |
+
Data Type: varchar(50), NULL
|
| 139 |
+
Examples: Member Making Report
|
| 140 |
+
|
| 141 |
+
Column Name: memberidnumber
|
| 142 |
+
Description: The unique identifier or employee ID number for the reporting member.
|
| 143 |
+
Data Type: char(10), NULL
|
| 144 |
+
Examples: 326, 298, 128
|
| 145 |
+
|
| 146 |
+
Column Name: membernamelast, membernamefirst, membermi
|
| 147 |
+
Description: Individual components of the reporting member's name: last name, first name, and middle initial.
|
| 148 |
+
Data Type: varchar(50), varchar(50), char(1), NULL
|
| 149 |
+
Examples: (Last: Taylor, First: Michael, MI: D)
|
| 150 |
+
|
| 151 |
+
Column Name: memberpositiondescrip
|
| 152 |
+
Description: The job title or rank of the reporting member (e.g., "Captain").
|
| 153 |
+
Data Type: varchar(50), NULL
|
| 154 |
+
Examples: Captain
|
| 155 |
+
|
| 156 |
+
Column Name: memberassignmentdescrip
|
| 157 |
+
Description: The crew or unit assignment of the reporting member at the time of the incident (e.g., "Suppression").
|
| 158 |
+
Data Type: varchar(50), NULL
|
| 159 |
+
Examples: Suppression
|
data/rag_input_data/incidentbase_table_details.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Table Name: auv_incidentbase
|
| 2 |
+
|
| 3 |
+
This table represents a comprehensive operational dataset that combines incident, apparatus, and personnel participation information for emergency response events. Each record typically represents a personnel assignment to a specific apparatus responding to a particular incident. Because multiple responders may be assigned to the same apparatus, incident and apparatus information may appear repeatedly across multiple rows.
|
| 4 |
+
|
| 5 |
+
The table acts as a relational bridge between three core operational entities: incidents, apparatus units, and personnel members. Unique identifiers connect each record to the original incident record, the responding apparatus, and the firefighter or responder assigned to that apparatus. This structure allows the system to track exactly which personnel participated in a response and which unit they were assigned to.
|
| 6 |
+
|
| 7 |
+
Personnel-related information is included in the dataset to provide context about the responders involved in the incident. This includes identifying attributes such as personnel identifiers, names, and rank within the department. Rank information is particularly useful for understanding the command structure and operational hierarchy during emergency response activities.
|
| 8 |
+
|
| 9 |
+
Operational activity performed during the response is captured through standardized action codes and their textual descriptions. These actions typically follow NFIRS (National Fire Incident Reporting System) standards, which categorize activities such as investigation, suppression, rescue operations, or cancellation events. Multiple action fields allow the system to record several tasks performed during the incident.
|
| 10 |
+
|
| 11 |
+
The dataset also includes detailed apparatus-level operational attributes. These fields describe the responding unit, its type (such as engine or truck), whether it belongs to the department, the priority of the response, and whether it was the first arriving unit on scene. These attributes provide insight into the role and operational context of each responding vehicle.
|
| 12 |
+
|
| 13 |
+
A significant portion of the table focuses on response timeline tracking. Multiple timestamp fields capture the lifecycle of the emergency response, including dispatch time, en route time, arrival on scene, hospital transport events, and the time when the unit cleared the incident. Derived duration fields calculate important operational metrics such as turnout time, travel time to the scene, response time, and the total time the apparatus remained committed to the incident.
|
| 14 |
+
|
| 15 |
+
For incidents involving emergency medical services (EMS), the dataset also includes additional patient care milestones such as arrival at the patient’s side, transport to a medical facility, and arrival at the hospital. These fields allow departments to analyze EMS response performance and patient transport timelines.
|
| 16 |
+
|
| 17 |
+
Administrative and service recognition information is also included in the dataset. Fields related to LOSAP (Length of Service Award Program) credit indicate whether personnel received service credit for their participation in the incident. These fields are commonly used in volunteer fire departments to track eligibility for service awards or retirement benefits.
|
| 18 |
+
|
| 19 |
+
Several fields appear duplicated or repeated within the dataset, which suggests that the table may originate from a denormalized reporting view or data export. This design simplifies analytics and reporting by reducing the need for complex joins between multiple operational tables.
|
| 20 |
+
|
| 21 |
+
Overall, this dataset provides a complete operational view of emergency response activity, capturing incident context, apparatus deployment details, personnel participation, operational actions, and the full response timeline. It is particularly useful for response performance analysis, operational reporting, personnel participation tracking, and compliance with national fire reporting standards such as NFIRS.
|
data/rag_input_data/incidentpersonnel_columns_details.txt
ADDED
|
@@ -0,0 +1,656 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Column Name: incidentkey
|
| 2 |
+
Description: The primary key for the incident table. This is a unique, system-generated 14-character identifier for every incident record. It serves as the fundamental link to all other related tables in the database, such as apparatus and personnel. This value is used to join with the incident table to get incident-level details.
|
| 3 |
+
Data Type: char(14), NOT NULL
|
| 4 |
+
Examples: _4GR15262U_SMS, _4GR15HZEC_SMS, _4GR166YT7_SMS
|
| 5 |
+
|
| 6 |
+
Column Name: apparatuskey
|
| 7 |
+
Description: The primary key for the apparatus table. This is a unique, system-generated 14-character identifier for a specific apparatus response to an incident. It serves as the primary link between apparatus response records and personnel assignments. It indicates which piece of equipment a person was assigned to for a given incident.
|
| 8 |
+
Data Type: char(14), NOT NULL
|
| 9 |
+
Examples: _4GR15265W_SMS, _4GR15HZF7_SMS, _4GR166YUI_SMS
|
| 10 |
+
|
| 11 |
+
Column Name: pslid
|
| 12 |
+
Description: A unique, system-generated identifier for an individual firefighter or personnel record. This key links a personnel record to their assignments in an incident. It is the primary identifier used to join with a master personnel table to retrieve static information like name and rank.
|
| 13 |
+
Data Type: char(15), NOT NULL
|
| 14 |
+
Examples: _1XL0XJ7VGDEFA, _26H0W4XBHCPAU, _2FW0KTEBFCPAU
|
| 15 |
+
|
| 16 |
+
Column Name: personnelid
|
| 17 |
+
Description: An employee or badge number assigned to the firefighter or personnel. This is a human-readable identifier, likely used for payroll, scheduling, or internal identification, and is distinct from the system-generated pslid.
|
| 18 |
+
Data Type: int, NOT NULL
|
| 19 |
+
Examples:
|
| 20 |
+
219, 378, 390
|
| 21 |
+
|
| 22 |
+
Column Name: namefirst
|
| 23 |
+
Description: The first name of the firefighter or personnel. The data shows it is stored with trailing spaces to pad the value to a fixed length.
|
| 24 |
+
Data Type: char(25), NOT NULL
|
| 25 |
+
Examples:
|
| 26 |
+
Dale, Brandon, Kyle
|
| 27 |
+
|
| 28 |
+
Column Name: namemi
|
| 29 |
+
Description: The middle initial of the firefighter or personnel. This field may contain a single character, a space, or be blank.
|
| 30 |
+
Data Type: char(2), NULL
|
| 31 |
+
Examples:
|
| 32 |
+
E, A, S
|
| 33 |
+
|
| 34 |
+
Column Name: namelast
|
| 35 |
+
Description: The last name of the firefighter or personnel. The data shows it is stored with trailing spaces to pad the value to a fixed length.
|
| 36 |
+
Data Type: char(25), NOT NULL
|
| 37 |
+
Examples:
|
| 38 |
+
Bryan, Davis, Coles
|
| 39 |
+
|
| 40 |
+
Column Name: namesuffix
|
| 41 |
+
Description: A suffix for the personnel's name (e.g., Jr., Sr., III). This field is entirely NULL in the provided data sample.
|
| 42 |
+
Data Type: char(5), NULL
|
| 43 |
+
Examples:
|
| 44 |
+
NULL, NULL, NULL
|
| 45 |
+
|
| 46 |
+
Column Name: namefirstlast
|
| 47 |
+
Description: A concatenated string of the personnel's first and last name in "First Last" format (e.g., "Dale Bryan"). This is likely a pre-processed field for reporting or display purposes.
|
| 48 |
+
Data Type: varchar(51), NOT NULL
|
| 49 |
+
Examples:
|
| 50 |
+
Dale Bryan, Brandon Davis, Kyle Coles
|
| 51 |
+
|
| 52 |
+
Column Name: namelastfirst
|
| 53 |
+
Description: A concatenated string of the personnel's last and first name in "Last, First" format (e.g., "Bryan, Dale"). This is likely a pre-processed field for reporting or display purposes, such as in lists sorted by last name.
|
| 54 |
+
Data Type: varchar(51), NOT NULL
|
| 55 |
+
Examples:
|
| 56 |
+
Bryan, Dale, Davis, Brandon, Coles, Kyle
|
| 57 |
+
|
| 58 |
+
Column Name: namefull
|
| 59 |
+
Description: The full name of the personnel, including first name, middle initial, and last name (e.g., "Dale E Bryan"). This is likely a pre-processed field for display purposes.
|
| 60 |
+
Data Type: varchar(77), NOT NULL
|
| 61 |
+
Examples:
|
| 62 |
+
Dale E Bryan, Brandon A Davis, Kyle S Coles
|
| 63 |
+
|
| 64 |
+
Column Name: rank
|
| 65 |
+
Description: The rank or title of the firefighter (e.g., Captain, Firefighter, Engineer). This is used to identify the role and seniority of the personnel on the incident scene.
|
| 66 |
+
Data Type: char(10), NOT NULL
|
| 67 |
+
Examples:
|
| 68 |
+
CAPT, FF, ENG
|
| 69 |
+
|
| 70 |
+
Column Name: actiontaken1code
|
| 71 |
+
Description: A code representing the primary action taken by the personnel on the incident. This field is likely a foreign key to a reference table of action codes.
|
| 72 |
+
Data Type: int, NULL
|
| 73 |
+
Examples:
|
| 74 |
+
NULL, NULL, 93
|
| 75 |
+
|
| 76 |
+
Column Name: actiontaken1descip
|
| 77 |
+
Description: A textual description corresponding to the actiontaken1code. This provides a human-readable explanation of the primary action taken (e.g., "Cancelled en route").
|
| 78 |
+
Data Type: varchar(50), NULL
|
| 79 |
+
Examples:
|
| 80 |
+
NULL, NULL, Cancelled en route
|
| 81 |
+
|
| 82 |
+
Column Name: actiontaken2code
|
| 83 |
+
Description: A code representing a secondary action taken by the personnel on the incident. This field is likely a foreign key to a reference table of action codes.
|
| 84 |
+
Data Type: int, NULL
|
| 85 |
+
Examples:
|
| 86 |
+
NULL, NULL, NULL
|
| 87 |
+
|
| 88 |
+
Column Name: actiontaken2descip
|
| 89 |
+
Description: A textual description corresponding to the actiontaken2code. This provides a human-readable explanation of the secondary action taken.
|
| 90 |
+
Data Type: varchar(50), NULL
|
| 91 |
+
Examples:
|
| 92 |
+
NULL, NULL, NULL
|
| 93 |
+
|
| 94 |
+
Column Name: actiontaken3code
|
| 95 |
+
Description: A code representing a tertiary action taken by the personnel on the incident. This field is likely a foreign key to a reference table of action codes.
|
| 96 |
+
Data Type: int, NULL
|
| 97 |
+
Examples:
|
| 98 |
+
NULL, NULL, NULL
|
| 99 |
+
|
| 100 |
+
Column Name: actiontaken3descip
|
| 101 |
+
Description: A textual description corresponding to the actiontaken3code. This provides a human-readable explanation of the tertiary action taken.
|
| 102 |
+
Data Type: varchar(50), NULL
|
| 103 |
+
Examples:
|
| 104 |
+
NULL, NULL, NULL
|
| 105 |
+
|
| 106 |
+
Column Name: actiontaken4code
|
| 107 |
+
Description: A code representing a quaternary action taken by the personnel on the incident. This field is likely a foreign key to a reference table of action codes.
|
| 108 |
+
Data Type: int, NULL
|
| 109 |
+
Examples:
|
| 110 |
+
NULL, NULL, NULL
|
| 111 |
+
|
| 112 |
+
Column Name: actiontaken4descip
|
| 113 |
+
Description: A textual description corresponding to the actiontaken4code. This provides a human-readable explanation of the quaternary action taken.
|
| 114 |
+
Data Type: varchar(50), NULL
|
| 115 |
+
Examples:
|
| 116 |
+
NULL, NULL, NULL
|
| 117 |
+
|
| 118 |
+
Column Name: amount1
|
| 119 |
+
Description: A generic numeric field, likely used for various purposes depending on the context of the action taken or a specific data collection requirement. In this dataset, it is predominantly NULL.
|
| 120 |
+
Data Type: float, NULL
|
| 121 |
+
Examples:
|
| 122 |
+
NULL, NULL, NULL
|
| 123 |
+
|
| 124 |
+
Column Name: amount2
|
| 125 |
+
Description: A secondary generic numeric field, likely used for various purposes depending on the context of the action taken or a specific data collection requirement. In this dataset, it is predominantly NULL.
|
| 126 |
+
Data Type: float, NULL
|
| 127 |
+
Examples:
|
| 128 |
+
NULL, NULL, NULL
|
| 129 |
+
|
| 130 |
+
Column Name: crole
|
| 131 |
+
Description: A numeric code indicating the specific role of the personnel on the incident or apparatus assignment (e.g., officer, driver, firefighter). This is distinct from their permanent rank and specific to the call.
|
| 132 |
+
Data Type: int, NULL
|
| 133 |
+
Examples:
|
| 134 |
+
NULL, NULL, NULL
|
| 135 |
+
|
| 136 |
+
Column Name: losapcreditcode
|
| 137 |
+
Description: A numeric code indicating whether the personnel received LOSAP (Length of Service Award Program) credit for their participation in this incident.
|
| 138 |
+
Data Type: int, NULL
|
| 139 |
+
Examples:
|
| 140 |
+
1, 1, 1
|
| 141 |
+
|
| 142 |
+
Column Name: losapcreditdescrip
|
| 143 |
+
Description: A textual description corresponding to the losapcreditcode, indicating whether LOSAP credit was awarded (e.g., "Losap Credit").
|
| 144 |
+
Data Type: varchar(50), NULL
|
| 145 |
+
Examples:
|
| 146 |
+
Losap Credit, Losap Credit, Losap Credit
|
| 147 |
+
|
| 148 |
+
Column Name: incidentkey (duplicate)
|
| 149 |
+
Description: (Duplicate) The primary key for the incident table, repeated here likely to facilitate joins or reporting within this dataset.
|
| 150 |
+
Data Type: char(14), NOT NULL
|
| 151 |
+
Examples:
|
| 152 |
+
_4GR15262U_SMS, _4GR15HZEC_SMS, _4GR166YT7_SMS
|
| 153 |
+
|
| 154 |
+
Column Name: apparatuskey (duplicate)
|
| 155 |
+
Description: (Duplicate) The primary key for the apparatus table, repeated here likely to facilitate joins or reporting within this dataset.
|
| 156 |
+
Data Type: char(14), NOT NULL
|
| 157 |
+
Examples:
|
| 158 |
+
_4GR15265W_SMS, _4GR15HZF7_SMS, _4GR166YUI_SMS
|
| 159 |
+
|
| 160 |
+
Column Name: apparatusid
|
| 161 |
+
Description: A human-readable identifier or "unit number" for the apparatus (e.g., "BE7", "BE6", "BE3"). This is the identifier used in radio communications and daily operations to refer to the vehicle.
|
| 162 |
+
Data Type: char(10), NOT NULL
|
| 163 |
+
Examples:
|
| 164 |
+
BE7, BE6, BE3
|
| 165 |
+
|
| 166 |
+
Column Name: deptunitornotcode
|
| 167 |
+
Description: A numeric code indicating whether the apparatus is a department-owned unit or from another agency/service. A value of 0 likely means it is a department unit.
|
| 168 |
+
Data Type: int, NOT NULL
|
| 169 |
+
Examples:
|
| 170 |
+
0, 0, 0
|
| 171 |
+
|
| 172 |
+
Column Name: deptunitornotdescrip
|
| 173 |
+
Description: A textual description corresponding to the deptunitornotcode, indicating if the apparatus is a department unit (e.g., "DeptUnit").
|
| 174 |
+
Data Type: varchar(50), NOT NULL
|
| 175 |
+
Examples:
|
| 176 |
+
DeptUnit, DeptUnit, DeptUnit
|
| 177 |
+
|
| 178 |
+
Column Name: priorityresponsecode
|
| 179 |
+
Description: A numeric code indicating the priority of the response (e.g., emergency vs. non-emergency). A value of 1 typically signifies an emergency response (lights and sirens).
|
| 180 |
+
Data Type: int, NOT NULL
|
| 181 |
+
Examples:
|
| 182 |
+
1, 1, 1
|
| 183 |
+
|
| 184 |
+
Column Name: priorityresponsedescrip
|
| 185 |
+
Description: A textual description corresponding to the priorityresponsecode. This confirms the response priority, e.g., "Yes" for emergency, "No" for non-emergency.
|
| 186 |
+
Data Type: varchar(50), NOT NULL
|
| 187 |
+
Examples:
|
| 188 |
+
Yes, Yes, Yes
|
| 189 |
+
|
| 190 |
+
Column Name: cancelledenroutecode
|
| 191 |
+
Description: A numeric code indicating whether the apparatus was cancelled while en route to the incident. A value of 1 typically means "Yes", 0 means "No".
|
| 192 |
+
Data Type: int, NOT NULL
|
| 193 |
+
Examples:
|
| 194 |
+
0, 1, 1
|
| 195 |
+
|
| 196 |
+
Column Name: cancelledenroutedescrip
|
| 197 |
+
Description: A textual description corresponding to the cancelledenroutecode. This indicates if the unit was cancelled en route, e.g., "No" or "Yes".
|
| 198 |
+
Data Type: varchar(50), NOT NULL
|
| 199 |
+
Examples:
|
| 200 |
+
No, Yes, Yes
|
| 201 |
+
|
| 202 |
+
Column Name: firstarrivingunitcode
|
| 203 |
+
Description: A numeric code indicating whether this apparatus was the first to arrive on the scene of the incident. A value of 1 means "Yes", 0 means "No".
|
| 204 |
+
Data Type: int, NOT NULL
|
| 205 |
+
Examples:
|
| 206 |
+
1, 0, 1
|
| 207 |
+
|
| 208 |
+
Column Name: firstarrivingunitdescrip
|
| 209 |
+
Description: A textual description corresponding to the firstarrivingunitcode. This confirms if the unit was the first to arrive, e.g., "Yes" or "No".
|
| 210 |
+
Data Type: varchar(50), NOT NULL
|
| 211 |
+
Examples:
|
| 212 |
+
Yes, No, Yes
|
| 213 |
+
|
| 214 |
+
Column Name: dispatchtype
|
| 215 |
+
Description: A numeric code representing the type of dispatch (e.g., how the call was received or categorized). This field is often NULL.
|
| 216 |
+
Data Type: int, NULL
|
| 217 |
+
Examples:
|
| 218 |
+
NULL, NULL, NULL
|
| 219 |
+
|
| 220 |
+
Column Name: dispatchtypedescrip
|
| 221 |
+
Description: A textual description corresponding to the dispatchtype. This field is often NULL.
|
| 222 |
+
Data Type: varchar(50), NULL
|
| 223 |
+
Examples:
|
| 224 |
+
NULL, NULL, NULL
|
| 225 |
+
|
| 226 |
+
Column Name: respondedfromquarterscode
|
| 227 |
+
Description: A numeric code indicating whether the apparatus responded directly from its quarters/station. A value of 1 likely means "Yes", 0 means "No".
|
| 228 |
+
Data Type: int, NOT NULL
|
| 229 |
+
Examples:
|
| 230 |
+
0, 0, 0
|
| 231 |
+
|
| 232 |
+
Column Name: respondedfromquarterdescrip
|
| 233 |
+
Description: A textual description corresponding to the respondedfromquarterscode. This indicates if the response was from quarters, e.g., "No" (meaning they were likely already in service or responding from another location).
|
| 234 |
+
Data Type: varchar(50), NOT NULL
|
| 235 |
+
Examples:
|
| 236 |
+
No, No, No
|
| 237 |
+
|
| 238 |
+
Column Name: mainapparatususecode
|
| 239 |
+
Description: A numeric code describing the primary function or use of the apparatus (e.g., suppression, rescue). A value of 1 indicates suppression.
|
| 240 |
+
Data Type: int, NOT NULL
|
| 241 |
+
Examples:
|
| 242 |
+
1, 1, 1
|
| 243 |
+
|
| 244 |
+
Column Name: mainapparatususedescrip
|
| 245 |
+
Description: A textual description corresponding to the mainapparatususecode, describing the apparatus's primary function (e.g., "Suppression").
|
| 246 |
+
Data Type: varchar(50), NOT NULL
|
| 247 |
+
Examples:
|
| 248 |
+
Suppression, Suppression, Suppression
|
| 249 |
+
|
| 250 |
+
Column Name: apparatustypecode
|
| 251 |
+
Description: A numeric code representing the specific type of apparatus (e.g., engine, truck, ambulance). A value of 11 indicates an engine, 12 indicates a truck/aerial.
|
| 252 |
+
Data Type: int, NOT NULL
|
| 253 |
+
Examples:
|
| 254 |
+
11, 11, 11
|
| 255 |
+
|
| 256 |
+
Column Name: apparatustypedescrip
|
| 257 |
+
Description: A textual description corresponding to the apparatustypecode, providing the type of vehicle (e.g., "Engine", "Truck or aerial").
|
| 258 |
+
Data Type: varchar(50), NOT NULL
|
| 259 |
+
Examples:
|
| 260 |
+
Engine, Engine, Engine
|
| 261 |
+
|
| 262 |
+
Column Name: actiontaken1code (duplicate)
|
| 263 |
+
Description: (Duplicate) A code representing the primary action taken by the apparatus on the incident. This is likely the same as the personnel-level action code.
|
| 264 |
+
Data Type: int, NULL
|
| 265 |
+
Examples:
|
| 266 |
+
NULL, 93, 86
|
| 267 |
+
|
| 268 |
+
Column Name: actiontaken1descip (duplicate)
|
| 269 |
+
Description: (Duplicate) A textual description corresponding to the apparatus-level actiontaken1code.
|
| 270 |
+
Data Type: varchar(50), NULL
|
| 271 |
+
Examples:
|
| 272 |
+
NULL, Cancelled en route, Investigate
|
| 273 |
+
|
| 274 |
+
Column Name: actiontaken2code (duplicate)
|
| 275 |
+
Description: (Duplicate) A code representing a secondary action taken by the apparatus.
|
| 276 |
+
Data Type: int, NULL
|
| 277 |
+
Examples:
|
| 278 |
+
NULL, NULL, NULL
|
| 279 |
+
|
| 280 |
+
Column Name: actiontaken2descip (duplicate)
|
| 281 |
+
Description: (Duplicate) A textual description corresponding to the apparatus-level actiontaken2code.
|
| 282 |
+
Data Type: varchar(50), NULL
|
| 283 |
+
Examples:
|
| 284 |
+
NULL, NULL, NULL
|
| 285 |
+
|
| 286 |
+
Column Name: actiontaken3code (duplicate)
|
| 287 |
+
Description: (Duplicate) A code representing a tertiary action taken by the apparatus.
|
| 288 |
+
Data Type: int, NULL
|
| 289 |
+
Examples:
|
| 290 |
+
NULL, NULL, NULL
|
| 291 |
+
|
| 292 |
+
Column Name: actiontaken3descip (duplicate)
|
| 293 |
+
Description: (Duplicate) A textual description corresponding to the apparatus-level actiontaken3code.
|
| 294 |
+
Data Type: varchar(50), NULL
|
| 295 |
+
Examples:
|
| 296 |
+
NULL, NULL, NULL
|
| 297 |
+
|
| 298 |
+
Column Name: actiontaken4code (duplicate)
|
| 299 |
+
Description: (Duplicate) A code representing a quaternary action taken by the apparatus.
|
| 300 |
+
Data Type: int, NULL
|
| 301 |
+
Examples:
|
| 302 |
+
NULL, NULL, NULL
|
| 303 |
+
|
| 304 |
+
Column Name: actiontaken4descip (duplicate)
|
| 305 |
+
Description: (Duplicate) A textual description corresponding to the apparatus-level actiontaken4code.
|
| 306 |
+
Data Type: varchar(50), NULL
|
| 307 |
+
Examples:
|
| 308 |
+
NULL, NULL, NULL
|
| 309 |
+
|
| 310 |
+
Column Name: numberofresponders
|
| 311 |
+
Description: The total number of personnel who responded on this apparatus to the incident.
|
| 312 |
+
Data Type: int, NOT NULL
|
| 313 |
+
Examples:
|
| 314 |
+
3, 3, 3
|
| 315 |
+
|
| 316 |
+
Column Name: dispatchdatetime
|
| 317 |
+
Description: The combined date and time the apparatus was dispatched to the incident. Stored as a string in the format "HH:MM.ss" or similar.
|
| 318 |
+
Data Type: nvarchar(255), NULL
|
| 319 |
+
Examples:
|
| 320 |
+
08:31.0, 20:21.0, 39:16.0
|
| 321 |
+
|
| 322 |
+
Column Name: dispatchtime
|
| 323 |
+
Description: The time the apparatus was dispatched, represented in a 24-hour format (e.g., 19:08:31 for 7:08:31 PM).
|
| 324 |
+
Data Type: nvarchar(255), NULL
|
| 325 |
+
Examples:
|
| 326 |
+
19:08:31, 19:20:21, 19:39:16
|
| 327 |
+
|
| 328 |
+
Column Name: dispatchdate
|
| 329 |
+
Description: The date the apparatus was dispatched, in MM/DD/YYYY format.
|
| 330 |
+
Data Type: nvarchar(255), NULL
|
| 331 |
+
Examples:
|
| 332 |
+
10/9/2015, 10/9/2015, 10/9/2015
|
| 333 |
+
|
| 334 |
+
Column Name: dispatchenroutetime
|
| 335 |
+
Description: The duration between the dispatch time and the time the unit went en route. Formatted as HH:MM:SS.
|
| 336 |
+
Data Type: nvarchar(255), NULL
|
| 337 |
+
Examples:
|
| 338 |
+
0:00:44, 0:01:15, NULL
|
| 339 |
+
|
| 340 |
+
Column Name: dispatchenroutediffseconds
|
| 341 |
+
Description: The dispatchenroutetime expressed in total seconds. Useful for calculating average response times.
|
| 342 |
+
Data Type: int, NULL
|
| 343 |
+
Examples:
|
| 344 |
+
44, 75, 0
|
| 345 |
+
|
| 346 |
+
Column Name: enroutetoscenedatetime
|
| 347 |
+
Description: The combined date and time the apparatus marked that it was en route to the scene.
|
| 348 |
+
Data Type: nvarchar(255), NULL
|
| 349 |
+
Examples:
|
| 350 |
+
09:15.0, 21:36.0, 00:00.0
|
| 351 |
+
|
| 352 |
+
Column Name: enroutetoscenetime
|
| 353 |
+
Description: The time the apparatus marked en route, in a 24-hour format.
|
| 354 |
+
Data Type: nvarchar(255), NULL
|
| 355 |
+
Examples:
|
| 356 |
+
19:09:15, 19:21:36,
|
| 357 |
+
|
| 358 |
+
Column Name: enroutetoscenedate
|
| 359 |
+
Description: The date the apparatus marked en route.
|
| 360 |
+
Data Type: nvarchar(255), NULL
|
| 361 |
+
Examples:
|
| 362 |
+
10/9/2015, 10/9/2015, NULL
|
| 363 |
+
|
| 364 |
+
Column Name: enroutearrivalscenetime
|
| 365 |
+
Description: The duration between the unit marking en route and its arrival on the scene. Formatted as HH:MM:SS.
|
| 366 |
+
Data Type: nvarchar(255), NULL
|
| 367 |
+
Examples:
|
| 368 |
+
0:01:55, 0:03:37, NULL
|
| 369 |
+
|
| 370 |
+
Column Name: enroutearrivalscenediffseconds
|
| 371 |
+
Description: The enroutearrivalscenetime expressed in total seconds.
|
| 372 |
+
Data Type: int, NULL
|
| 373 |
+
Examples:
|
| 374 |
+
115, 217, 0
|
| 375 |
+
|
| 376 |
+
Column Name: responsetime
|
| 377 |
+
Description: The total duration from dispatch to arrival on scene. Formatted as HH:MM:SS.
|
| 378 |
+
Data Type: nvarchar(255), NULL
|
| 379 |
+
Examples:
|
| 380 |
+
0:02:39, 0:04:52, 0:00:00
|
| 381 |
+
|
| 382 |
+
Column Name: responsetimeseconds
|
| 383 |
+
Description: The total responsetime expressed in seconds. This is a critical metric for performance analysis.
|
| 384 |
+
Data Type: int, NULL
|
| 385 |
+
Examples:
|
| 386 |
+
159, 292, 0
|
| 387 |
+
|
| 388 |
+
Column Name: arrivaldatetime
|
| 389 |
+
Description: The combined date and time the apparatus arrived on the scene.
|
| 390 |
+
Data Type: nvarchar(255), NULL
|
| 391 |
+
Examples:
|
| 392 |
+
11:10.0, 25:13.0, 00:00.0
|
| 393 |
+
|
| 394 |
+
Column Name: arrivaltime
|
| 395 |
+
Description: The time the apparatus arrived on the scene, in a 24-hour format.
|
| 396 |
+
Data Type: nvarchar(255), NULL
|
| 397 |
+
Examples:
|
| 398 |
+
19:11:10, 19:25:13,
|
| 399 |
+
|
| 400 |
+
Column Name: arrivaldate
|
| 401 |
+
Description: The date the apparatus arrived on the scene.
|
| 402 |
+
Data Type: nvarchar(255), NULL
|
| 403 |
+
Examples:
|
| 404 |
+
10/9/2015, 10/9/2015, NULL
|
| 405 |
+
|
| 406 |
+
Column Name: arrivaltoenroutehospdifftime
|
| 407 |
+
Description: The duration between arrival on scene and the unit going en route to a hospital (for EMS calls). This field is largely NULL for non-EMS runs.
|
| 408 |
+
Data Type: nvarchar(255), NULL
|
| 409 |
+
Examples:
|
| 410 |
+
NULL, NULL, NULL
|
| 411 |
+
|
| 412 |
+
Column Name: arrivaltoenroutehospdiffseconds
|
| 413 |
+
Description: The arrivaltoenroutehospdifftime expressed in seconds.
|
| 414 |
+
Data Type: int, NULL
|
| 415 |
+
Examples:
|
| 416 |
+
0, 0, 0
|
| 417 |
+
|
| 418 |
+
Column Name: enroutetohospitaldatetime
|
| 419 |
+
Description: The combined date and time the unit went en route to the hospital.
|
| 420 |
+
Data Type: nvarchar(255), NULL
|
| 421 |
+
Examples:
|
| 422 |
+
00:00.0, 00:00.0, 00:00.0
|
| 423 |
+
|
| 424 |
+
Column Name: enroutetohospitaltime
|
| 425 |
+
Description: The time the unit went en route to the hospital.
|
| 426 |
+
Data Type: nvarchar(255), NULL
|
| 427 |
+
Examples:
|
| 428 |
+
, ,
|
| 429 |
+
|
| 430 |
+
Column Name: enroutetohospitaldate
|
| 431 |
+
Description: The date the unit went en route to the hospital.
|
| 432 |
+
Data Type: nvarchar(255), NULL
|
| 433 |
+
Examples:
|
| 434 |
+
NULL, NULL, NULL
|
| 435 |
+
|
| 436 |
+
Column Name: enroutetoarrivalhospdifftime
|
| 437 |
+
Description: The duration between going en route to the hospital and arriving at the hospital. This field is largely NULL.
|
| 438 |
+
Data Type: nvarchar(255), NULL
|
| 439 |
+
Examples:
|
| 440 |
+
NULL, NULL, NULL
|
| 441 |
+
|
| 442 |
+
Column Name: enroutetoarrivalhospdiffseconds
|
| 443 |
+
Description: The enroutetoarrivalhospdifftime expressed in seconds.
|
| 444 |
+
Data Type: int, NULL
|
| 445 |
+
Examples:
|
| 446 |
+
0, 0, 0
|
| 447 |
+
|
| 448 |
+
Column Name: arrivalscenetoarrivalhospdifftime
|
| 449 |
+
Description: The total duration from arrival on scene to arrival at the hospital (for patient transports). This field is largely NULL.
|
| 450 |
+
Data Type: nvarchar(255), NULL
|
| 451 |
+
Examples:
|
| 452 |
+
NULL, NULL, NULL
|
| 453 |
+
|
| 454 |
+
Column Name: arrivalscenetoarrivalhospdiffseconds
|
| 455 |
+
Description: The arrivalscenetoarrivalhospdifftime expressed in seconds.
|
| 456 |
+
Data Type: int, NULL
|
| 457 |
+
Examples:
|
| 458 |
+
0, 0, 0
|
| 459 |
+
|
| 460 |
+
Column Name: hospitalarrivaldatetime
|
| 461 |
+
Description: The combined date and time the apparatus arrived at the hospital.
|
| 462 |
+
Data Type: nvarchar(255), NULL
|
| 463 |
+
Examples:
|
| 464 |
+
00:00.0, 00:00.0, 00:00.0
|
| 465 |
+
|
| 466 |
+
Column Name: hospitalarrivaltime
|
| 467 |
+
Description: The time the apparatus arrived at the hospital.
|
| 468 |
+
Data Type: nvarchar(255), NULL
|
| 469 |
+
Examples:
|
| 470 |
+
, ,
|
| 471 |
+
|
| 472 |
+
Column Name: hospitalarrivaldate
|
| 473 |
+
Description: The date the apparatus arrived at the hospital.
|
| 474 |
+
Data Type: nvarchar(255), NULL
|
| 475 |
+
Examples:
|
| 476 |
+
NULL, NULL, NULL
|
| 477 |
+
|
| 478 |
+
Column Name: arrivalclearhospdifftime
|
| 479 |
+
Description: The duration between arrival at the hospital and the unit clearing (becoming available) from the hospital. This field is largely NULL.
|
| 480 |
+
Data Type: nvarchar(255), NULL
|
| 481 |
+
Examples:
|
| 482 |
+
NULL, NULL, NULL
|
| 483 |
+
|
| 484 |
+
Column Name: arrivalclearhospdiffseconds
|
| 485 |
+
Description: The arrivalclearhospdifftime expressed in seconds.
|
| 486 |
+
Data Type: int, NULL
|
| 487 |
+
Examples:
|
| 488 |
+
0, 0, 0
|
| 489 |
+
|
| 490 |
+
Column Name: cleardatetime
|
| 491 |
+
Description: The combined date and time the apparatus cleared the incident and became available for service.
|
| 492 |
+
Data Type: nvarchar(255), NULL
|
| 493 |
+
Examples:
|
| 494 |
+
16:17.0, 40:39.0, 41:06.0
|
| 495 |
+
|
| 496 |
+
Column Name: cleartime
|
| 497 |
+
Description: The time the apparatus cleared the incident, in a 24-hour format.
|
| 498 |
+
Data Type: nvarchar(255), NULL
|
| 499 |
+
Examples:
|
| 500 |
+
19:16:17, 19:40:39, 19:41:06
|
| 501 |
+
|
| 502 |
+
Column Name: cleardate
|
| 503 |
+
Description: The date the apparatus cleared the incident.
|
| 504 |
+
Data Type: nvarchar(255), NULL
|
| 505 |
+
Examples:
|
| 506 |
+
10/9/2015, 10/9/2015, 10/9/2015
|
| 507 |
+
|
| 508 |
+
Column Name: dispatchcleardifftime
|
| 509 |
+
Description: The total duration from initial dispatch to the unit clearing the incident. Formatted as HH:MM:SS.
|
| 510 |
+
Data Type: nvarchar(255), NULL
|
| 511 |
+
Examples:
|
| 512 |
+
0:07:46, 0:20:18, 0:01:50
|
| 513 |
+
|
| 514 |
+
Column Name: dispatchcleardiffseconds
|
| 515 |
+
Description: The total dispatchcleardifftime expressed in seconds. This represents the total time the unit was committed to the incident.
|
| 516 |
+
Data Type: int, NULL
|
| 517 |
+
Examples:
|
| 518 |
+
466, 1218, 110
|
| 519 |
+
|
| 520 |
+
Column Name: inservicedatetime
|
| 521 |
+
Description: The combined date and time the unit was marked as "in service" or available at the start of their shift. This field is largely NULL or 00:00.0.
|
| 522 |
+
Data Type: nvarchar(255), NULL
|
| 523 |
+
Examples:
|
| 524 |
+
00:00.0, 00:00.0, 00:00.0
|
| 525 |
+
|
| 526 |
+
Column Name: inservicetime
|
| 527 |
+
Description: The time the unit was marked "in service".
|
| 528 |
+
Data Type: nvarchar(255), NULL
|
| 529 |
+
Examples:
|
| 530 |
+
, ,
|
| 531 |
+
|
| 532 |
+
Column Name: inservicedate
|
| 533 |
+
Description: The date the unit was marked "in service".
|
| 534 |
+
Data Type: nvarchar(255), NULL
|
| 535 |
+
Examples:
|
| 536 |
+
NULL, NULL, NULL
|
| 537 |
+
|
| 538 |
+
Column Name: emsruncode
|
| 539 |
+
Description: A code or identifier for an EMS (Emergency Medical Services) run, if applicable. The value "Not EMS Run" indicates this was not an EMS incident.
|
| 540 |
+
Data Type: nvarchar(255), NULL
|
| 541 |
+
Examples:
|
| 542 |
+
Not EMS Run, Not EMS Run, Not EMS Run
|
| 543 |
+
|
| 544 |
+
Column Name: emsrundescrip
|
| 545 |
+
Description: A description of the EMS run. This field is largely NULL.
|
| 546 |
+
Data Type: nvarchar(255), NULL
|
| 547 |
+
Examples:
|
| 548 |
+
NULL, NULL, NULL
|
| 549 |
+
|
| 550 |
+
Column Name: emsrunnumber
|
| 551 |
+
Description: A specific run number for the EMS call. This field is largely NULL.
|
| 552 |
+
Data Type: nvarchar(255), NULL
|
| 553 |
+
Examples:
|
| 554 |
+
NULL, NULL, NULL
|
| 555 |
+
|
| 556 |
+
Column Name: losapcode
|
| 557 |
+
Description: A code indicating LOSAP credit, similar to losapcreditcode.
|
| 558 |
+
Data Type: int, NULL
|
| 559 |
+
Examples:
|
| 560 |
+
1, 1, 1
|
| 561 |
+
|
| 562 |
+
Column Name: losapdescrip
|
| 563 |
+
Description: A description of the LOSAP credit, similar to losapcreditdescrip.
|
| 564 |
+
Data Type: nvarchar(255), NULL
|
| 565 |
+
Examples:
|
| 566 |
+
Losap Credit, Losap Credit, Losap Credit
|
| 567 |
+
|
| 568 |
+
Column Name: alarmscode
|
| 569 |
+
Description: A code indicating the alarm level or type for the incident. This field is largely NULL.
|
| 570 |
+
Data Type: int, NULL
|
| 571 |
+
Examples:
|
| 572 |
+
NULL, NULL, NULL
|
| 573 |
+
|
| 574 |
+
Column Name: alarmdescrip
|
| 575 |
+
Description: A description of the alarm level. This field is largely NULL.
|
| 576 |
+
Data Type: nvarchar(255), NULL
|
| 577 |
+
Examples:
|
| 578 |
+
NULL, NULL, NULL
|
| 579 |
+
|
| 580 |
+
Column Name: amount1 (duplicate)
|
| 581 |
+
Description: (Duplicate) Another instance of the generic amount1 field, likely for apparatus-level data. Predominantly NULL.
|
| 582 |
+
Data Type: float, NULL
|
| 583 |
+
Examples:
|
| 584 |
+
NULL, NULL, NULL
|
| 585 |
+
|
| 586 |
+
Column Name: amount2 (duplicate)
|
| 587 |
+
Description: (Duplicate) Another instance of the generic amount2 field, likely for apparatus-level data. Predominantly NULL.
|
| 588 |
+
Data Type: float, NULL
|
| 589 |
+
Examples:
|
| 590 |
+
NULL, NULL, NULL
|
| 591 |
+
|
| 592 |
+
Column Name: fdid_no
|
| 593 |
+
Description: The Fire Department ID number or identifier. This field is consistently NULL in the provided sample.
|
| 594 |
+
Data Type: nvarchar(255), NULL
|
| 595 |
+
Examples:
|
| 596 |
+
NULL, NULL, NULL
|
| 597 |
+
|
| 598 |
+
Column Name: stagingdatetime
|
| 599 |
+
Description: The combined date and time the apparatus went to a staging area. This field is largely NULL or 00:00.0.
|
| 600 |
+
Data Type: nvarchar(255), NULL
|
| 601 |
+
Examples:
|
| 602 |
+
00:00.0, 00:00.0, 00:00.0
|
| 603 |
+
|
| 604 |
+
Column Name: stagingtime
|
| 605 |
+
Description: The time the apparatus went to a staging area.
|
| 606 |
+
Data Type: nvarchar(255), NULL
|
| 607 |
+
Examples:
|
| 608 |
+
, ,
|
| 609 |
+
|
| 610 |
+
Column Name: stagingdate
|
| 611 |
+
Description: The date the apparatus went to a staging area.
|
| 612 |
+
Data Type: nvarchar(255), NULL
|
| 613 |
+
Examples:
|
| 614 |
+
NULL, NULL, NULL
|
| 615 |
+
|
| 616 |
+
Column Name: AtPatientSideDateTime
|
| 617 |
+
Description: The combined date and time the personnel arrived at the patient's side (for EMS incidents). This field is largely NULL or 00:00.0.
|
| 618 |
+
Data Type: nvarchar(255), NULL
|
| 619 |
+
Examples:
|
| 620 |
+
00:00.0, 00:00.0, 00:00.0
|
| 621 |
+
|
| 622 |
+
Column Name: AtPatientSideTime
|
| 623 |
+
Description: The time the personnel arrived at the patient's side.
|
| 624 |
+
Data Type: nvarchar(255), NULL
|
| 625 |
+
Examples:
|
| 626 |
+
, ,
|
| 627 |
+
|
| 628 |
+
Column Name: AtPatientSideDate
|
| 629 |
+
Description: The date the personnel arrived at the patient's side.
|
| 630 |
+
Data Type: nvarchar(255), NULL
|
| 631 |
+
Examples:
|
| 632 |
+
NULL, NULL, NULL
|
| 633 |
+
|
| 634 |
+
Column Name: FacilityDateTime
|
| 635 |
+
Description: The combined date and time the personnel arrived at a medical facility. This field is largely NULL or 00:00.0.
|
| 636 |
+
Data Type: nvarchar(255), NULL
|
| 637 |
+
Examples:
|
| 638 |
+
00:00.0, 00:00.0, 00:00.0
|
| 639 |
+
|
| 640 |
+
Column Name: FacilityTime
|
| 641 |
+
Description: The time the personnel arrived at a medical facility.
|
| 642 |
+
Data Type: nvarchar(255), NULL
|
| 643 |
+
Examples:
|
| 644 |
+
, ,
|
| 645 |
+
|
| 646 |
+
Column Name: FacilityDate
|
| 647 |
+
Description: The date the personnel arrived at a medical facility.
|
| 648 |
+
Data Type: nvarchar(255), NULL
|
| 649 |
+
Examples:
|
| 650 |
+
NULL, NULL, NULL
|
| 651 |
+
|
| 652 |
+
Column Name: changedate
|
| 653 |
+
Description: The date and time the record was last updated or changed. The format appears to be a floating-point number representing time, possibly the number of minutes or seconds after a reference point.
|
| 654 |
+
Data Type: float, NULL
|
| 655 |
+
Examples:
|
| 656 |
+
17:39.0, 42:11.5, 48:24.5
|
data/rag_input_data/incidentpersonnel_table_details.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Table Name: auv_incidentpersonnel
|
| 2 |
+
|
| 3 |
+
This table represents a comprehensive operational dataset that combines incident, apparatus response, and personnel participation details for emergency response events. Each record generally represents a firefighter or personnel member assigned to a specific apparatus during a particular incident. Because multiple personnel can be assigned to the same apparatus, incident and apparatus information may appear multiple times across rows.
|
| 4 |
+
|
| 5 |
+
The dataset forms a relational bridge between three core operational entities: incidents, apparatus units, and personnel. A unique incident identifier links each record back to the main incident dataset, while a separate apparatus identifier represents the specific vehicle or response unit involved in the incident. Personnel identifiers link individual firefighters to their assignments, allowing the system to track which responders participated in each response and which apparatus they were assigned to.
|
| 6 |
+
|
| 7 |
+
Personnel-related information in the dataset provides identifying and organizational context about responders. This includes employee identifiers, names, and rank within the fire department. Rank information helps identify the command hierarchy and roles of personnel during emergency operations, while additional fields capture the specific operational role a responder may have had during a particular incident.
|
| 8 |
+
|
| 9 |
+
Operational activities are recorded through standardized action codes that represent tasks performed during the response. These codes typically follow standardized emergency response reporting systems such as the National Fire Incident Reporting System (NFIRS). Multiple action fields allow the dataset to capture a sequence of activities performed by both individual personnel and the apparatus crew during the incident.
|
| 10 |
+
|
| 11 |
+
The dataset also contains apparatus-level operational attributes that describe the responding unit. These attributes include the apparatus identifier, apparatus type, operational role, and departmental ownership. Additional indicators describe operational conditions such as whether the response was high priority, whether the apparatus was cancelled while en route, whether it responded directly from the station, and whether it was the first unit to arrive on the scene.
|
| 12 |
+
|
| 13 |
+
A significant portion of the dataset captures the timeline of the response lifecycle. Multiple timestamp fields record key milestones such as dispatch time, acknowledgement of dispatch, travel to the scene, arrival on scene, clearing the incident, and returning to service. The table also includes calculated duration metrics such as turnout time, travel time, response time, and total committed time for the apparatus. These measurements are commonly used for operational performance analysis and response time reporting.
|
| 14 |
+
|
| 15 |
+
For incidents involving emergency medical services (EMS), the dataset includes additional patient care milestones such as arrival at the patient’s side, transport to a medical facility, and arrival at a hospital. When incidents do not involve EMS transport, these fields typically remain empty.
|
| 16 |
+
|
| 17 |
+
Administrative and service-related fields are also present in the dataset. These include indicators for LOSAP (Length of Service Award Program) credit, which tracks participation eligibility for service recognition programs commonly used by volunteer fire departments. Additional metadata fields track record modifications, staging activities, and optional numeric fields used for reporting or operational metrics.
|
| 18 |
+
|
| 19 |
+
Some columns appear duplicated or consistently null, suggesting that the table originates from a denormalized reporting view or export designed to simplify analytics and reporting. This structure allows incident, apparatus, and personnel information to be analyzed together without requiring complex joins across multiple tables.
|
| 20 |
+
|
| 21 |
+
Overall, this dataset provides a detailed operational view of emergency response activities by capturing the relationships between incidents, apparatus units, and personnel, along with the actions performed and the full response timeline. It is particularly useful for operational reporting, responder participation tracking, apparatus utilization analysis, and emergency response performance evaluation.
|
data/rag_input_data/personnel_columns_details.txt
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Column Name: personnelkey
|
| 2 |
+
Description: The primary key for the personnel table. This is a unique, system-generated 14-character identifier for every firefighter or personnel record. It serves as the fundamental link to all other related tables in the database, such as apparatus, incident, and supplemental data. This value is used to join with the apparatus table to link personnel to a specific apparatus assignment.
|
| 3 |
+
Data Type: char(14), NOT NULL
|
| 4 |
+
Examples: _48Y00K5KE_SMS, _48Y00K5KF_SMS, _48Y00K5KG_SMS
|
| 5 |
+
|
| 6 |
+
Column Name: incidentkey
|
| 7 |
+
Description: The primary key for the incident table. This is a unique, system-generated 14-character identifier for every incident record. It serves as the fundamental link to all other related tables in the database, such as apparatus, personnel, and supplemental data. This value is used to join with the incident table to get incident-level details.
|
| 8 |
+
Data Type: char(14), NOT NULL
|
| 9 |
+
Examples: _48Y00K5I8_SMS, _48Y00K5IA_SMS, _48Y00JH1N_SMS
|
| 10 |
+
|
| 11 |
+
Column Name: apparatuskey
|
| 12 |
+
Description: The primary key for the apparatus table. This is a unique, system-generated 14-character identifier for a specific apparatus response to an incident. It serves as the primary link between apparatus response records and personnel assignments. It indicates which piece of equipment a person was assigned to for a given incident.
|
| 13 |
+
Data Type: char(14), NULL
|
| 14 |
+
Examples: _48Y00K5JZ_SMS, _48Y00K5J4_SMS, _48Y00K5L9_SMS
|
| 15 |
+
|
| 16 |
+
Column Name: pslid
|
| 17 |
+
Description: An identifier for a personnel assignment. This is a system-generated identifier that likely represents a unique combination of a person and a shift or assignment for a specific period. It can be used to link to a shift or assignment table to determine which station or apparatus a person was assigned to for that day.
|
| 18 |
+
Data Type: char(14), NULL
|
| 19 |
+
Examples: _1XL0VELG6DEFA, _1XL0Y55W0DEFA, _3UH0YU1COSMAG
|
| 20 |
+
|
| 21 |
+
Column Name: rosid
|
| 22 |
+
Description: Unknown. This field appears to be entirely NULL in the sample data, suggesting it may be a legacy field or one used for a very specific, infrequent purpose (e.g., "Report of Service" ID).
|
| 23 |
+
Data Type: char(14), NULL
|
| 24 |
+
Examples: NULL
|
| 25 |
+
|
| 26 |
+
Column Name: personnelid
|
| 27 |
+
Description: A unique, human-readable identifier for each individual. This number is likely used for payroll, internal tracking, and linking to other systems. It is distinct from the system-generated personnelkey and may correspond to employee or badge numbers.
|
| 28 |
+
Data Type: char(9), NULL (but likely NOT NULL in practice)
|
| 29 |
+
Examples: 359, 326, 436
|
| 30 |
+
|
| 31 |
+
Column Name: lastname
|
| 32 |
+
Description: The last name of the firefighter or personnel member.
|
| 33 |
+
Data Type: char(25), NULL
|
| 34 |
+
Examples: Woodard, Taylor, Topete
|
| 35 |
+
|
| 36 |
+
Column Name: firstname
|
| 37 |
+
Description: The first name of the firefighter or personnel member.
|
| 38 |
+
Data Type: char(25), NULL
|
| 39 |
+
Examples: Randall, Michael, Adrian
|
| 40 |
+
|
| 41 |
+
Column Name: middleinitial
|
| 42 |
+
Description: The middle initial of the firefighter or personnel member.
|
| 43 |
+
Data Type: char(1), NULL
|
| 44 |
+
Examples: E, D, T
|
| 45 |
+
|
| 46 |
+
Column Name: namesuffix
|
| 47 |
+
Description: A suffix for the name, such as Jr., Sr., III. This field appears to be mostly NULL.
|
| 48 |
+
Data Type: char(4), NULL
|
| 49 |
+
Examples: NULL
|
| 50 |
+
|
| 51 |
+
Column Name: rank
|
| 52 |
+
Description: The rank or title of the firefighter (e.g., Engineer, Captain, Firefighter). This is used for determining roles, pay grades, and command structure.
|
| 53 |
+
Data Type: char(10), NULL
|
| 54 |
+
Examples: ENG, CAPT, FF
|
| 55 |
+
|
| 56 |
+
Column Name: actiontaken1
|
| 57 |
+
Description: A code representing the primary action taken by this personnel member. These are likely standardized codes (e.g., NFIRS codes). The sample shows "93" which corresponds to "Mutual Aid Received", indicating the personnel member was part of a mutual aid response.
|
| 58 |
+
Data Type: char(4), NULL
|
| 59 |
+
Examples: NULL, 93, 86
|
| 60 |
+
|
| 61 |
+
Column Name: actiontaken2
|
| 62 |
+
Description: A code representing a secondary action taken by this personnel member.
|
| 63 |
+
Data Type: char(4), NULL
|
| 64 |
+
Examples: NULL
|
| 65 |
+
|
| 66 |
+
Column Name: actiontaken3
|
| 67 |
+
Description: A code representing a third action taken by this personnel member.
|
| 68 |
+
Data Type: char(4), NULL
|
| 69 |
+
Examples: NULL
|
| 70 |
+
|
| 71 |
+
Column Name: actiontaken4
|
| 72 |
+
Description: A code representing a fourth action taken by this personnel member.
|
| 73 |
+
Data Type: char(4), NULL
|
| 74 |
+
Examples: NULL
|
| 75 |
+
|
| 76 |
+
Column Name: amount1
|
| 77 |
+
Description: A monetary amount associated with the personnel, potentially related to overtime pay, stipends, or specialized service fees for a particular incident.
|
| 78 |
+
Data Type: money, NULL
|
| 79 |
+
Examples: NULL
|
| 80 |
+
|
| 81 |
+
Column Name: amount2
|
| 82 |
+
Description: A second monetary amount.
|
| 83 |
+
Data Type: money, NULL
|
| 84 |
+
Examples: NULL
|
| 85 |
+
|
| 86 |
+
Column Name: changedate
|
| 87 |
+
Description: The timestamp when the record was last changed. This is used for auditing and tracking data modifications.
|
| 88 |
+
Data Type: datetime, NULL
|
| 89 |
+
Examples: 35:07.7, 35:08.1, 35:09.1
|
| 90 |
+
|
| 91 |
+
Column Name: rowguid
|
| 92 |
+
Description: A globally unique identifier (GUID) for the row, often used for replication and system-level tracking. The ROWGUIDCOL property indicates this column is used by SQL Server for operations like replication.
|
| 93 |
+
Data Type: uniqueidentifier, NOT NULL
|
| 94 |
+
Examples: A58628E4-154E-4369-AA48-B6AA569CABEA, 66660C59-3899-463F-8268-C09209928414
|
| 95 |
+
|
| 96 |
+
Column Name: crole
|
| 97 |
+
Description: A code representing a special role the person played at the incident (e.g., Safety Officer, Incident Commander). This field appears to be NULL in the sample data.
|
| 98 |
+
Data Type: char(4), NULL
|
| 99 |
+
Examples: NULL
|
| 100 |
+
|
| 101 |
+
Column Name: lLosap_credit
|
| 102 |
+
Description: A boolean flag indicating eligibility for LOSAP (Length of Service Award Program) credit. A value of 1 likely means credit is earned for this incident, while 0 means it is not.
|
| 103 |
+
Data Type: bit, NULL
|
| 104 |
+
Examples: 1, 0
|
| 105 |
+
|
| 106 |
+
Column Name: MedCert
|
| 107 |
+
Description: A code representing the level of medical certification for the personnel at the time of the incident (e.g., EMT, Paramedic). This field appears to be NULL in the sample data.
|
| 108 |
+
Data Type: char(4), NULL
|
| 109 |
+
Examples: NULL
|
| 110 |
+
|
| 111 |
+
Column Name: cAdditionalRole
|
| 112 |
+
Description: An additional role the person might have fulfilled, which is not captured by other role codes. This field appears to be NULL in the sample data.
|
| 113 |
+
Data Type: varchar(8), NULL
|
| 114 |
+
Examples: NULL
|
| 115 |
+
|
| 116 |
+
Column Name: AgencyID
|
| 117 |
+
Description: An identifier for a specific agency, used when the personnel is from another department, such as in a mutual aid context. This would link to an agency table for details.
|
| 118 |
+
Data Type: varchar(14), NULL
|
| 119 |
+
Examples: NULL
|
| 120 |
+
|
| 121 |
+
Column Name: AgencyDesc
|
| 122 |
+
Description: A description of the agency identified in AgencyID. This field appears to be NULL in the sample data.
|
| 123 |
+
Data Type: varchar(40), NULL
|
| 124 |
+
Examples: NULL
|
| 125 |
+
|
| 126 |
+
Column Name: AgencyCode
|
| 127 |
+
Description: A short code for the agency. This field appears to be NULL in the sample data.
|
| 128 |
+
Data Type: varchar(8), NULL
|
| 129 |
+
Examples: NULL
|
| 130 |
+
|
| 131 |
+
Column Name: lNFIRSExported
|
| 132 |
+
Description: A boolean flag indicating whether the personnel record has been successfully formatted and exported for NFIRS (National Fire Incident Reporting System). A value of 1 likely indicates it has been exported, while 0 indicates it is pending.
|
| 133 |
+
Data Type: bit, NULL
|
| 134 |
+
Examples: 1, 0
|
| 135 |
+
|
| 136 |
+
Column Name: NFIRSExportedDate
|
| 137 |
+
Description: The date and time when the record was exported for NFIRS. This is used for tracking and auditing exports.
|
| 138 |
+
Data Type: datetime, NULL
|
| 139 |
+
Examples: 35:07.0, 35:08.0
|
| 140 |
+
|
| 141 |
+
Column Name: iNFIRSSequence
|
| 142 |
+
Description: A sequence number for records when multiple are exported in a single NFIRS batch. This helps maintain order and group related records together.
|
| 143 |
+
Data Type: tinyint, NULL
|
| 144 |
+
Examples: 1, 2, 3
|
| 145 |
+
|
| 146 |
+
Column Name: NFIRSTransactiontype
|
| 147 |
+
Description: The type of NFIRS transaction, such as an insert (A), update (U), or delete (D). This field is crucial for data synchronization and reporting systems to understand how to process the record. In the sample, a blank space may represent an "Insert" transaction.
|
| 148 |
+
Data Type: char(1), NULL
|
| 149 |
+
Examples: (blank), (blank), (blank)
|
data/rag_input_data/personnel_table_details.txt
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Table Name: personnel
|
| 2 |
+
|
| 3 |
+
The personnel table stores detailed information about firefighters and emergency response personnel who participate in incident responses. Each record represents a personnel member and their participation in a specific incident or apparatus assignment. The table links individuals to emergency events and the apparatus units they were assigned to, allowing the system to track which responders were involved in each response.
|
| 4 |
+
|
| 5 |
+
This table plays a key role in connecting multiple operational entities within the emergency response system. It uses unique identifiers to link personnel to incident records and apparatus response records, forming a relational structure that captures the association between a person, the vehicle or unit they responded with, and the incident itself. This relationship enables accurate tracking of responder participation across multiple emergency events.
|
| 6 |
+
|
| 7 |
+
The dataset also contains identifying and descriptive information about the personnel, including their names, internal personnel identifiers, and ranks within the organization. These attributes provide context about the individual responder and help define the operational hierarchy during incidents. Rank information is particularly important for understanding command structure and responsibilities during emergency operations.
|
| 8 |
+
|
| 9 |
+
Operational activity is captured through standardized action codes that represent the actions taken by personnel during an incident. These codes follow the NFIRS (National Fire Incident Reporting System) standards, which are used by fire departments to classify response activities such as suppression, investigation, or mutual aid participation. Multiple action fields allow the system to record several actions performed by the same responder during the incident.
|
| 10 |
+
|
| 11 |
+
The table may also include administrative or financial attributes associated with personnel involvement. These can include monetary fields that represent stipends, overtime, or other compensation-related values tied to incident participation. In addition, flags such as LOSAP credit indicators allow departments to track eligibility for Length of Service Award Program benefits, which are often used for volunteer firefighter recognition programs.
|
| 12 |
+
|
| 13 |
+
Several fields support integration with external reporting systems, particularly NFIRS reporting requirements. Export flags, export timestamps, and sequence numbers help track whether the personnel record has been exported to national reporting systems and maintain synchronization between local systems and federal reporting databases.
|
| 14 |
+
|
| 15 |
+
The table also supports multi-agency response scenarios. Fields related to agency identifiers and agency descriptions allow personnel from other departments or mutual aid agencies to be recorded within the system. This enables comprehensive tracking of collaborative responses where multiple fire departments or emergency agencies respond to the same incident.
|
| 16 |
+
|
| 17 |
+
Additional metadata fields such as GUID identifiers and change timestamps support auditing, replication, and system-level tracking. These attributes ensure that the database can maintain data integrity, support synchronization processes, and track when personnel records were last modified.
|
| 18 |
+
|
| 19 |
+
Overall, the personnel table serves as a central dataset for tracking responder participation in emergency incidents. It provides the connection between individual firefighters, the apparatus units they were assigned to, and the incidents they responded to, while also supporting operational reporting, administrative tracking, and national incident reporting standards.
|