Part 1: Accreditation Data Collection
Pulling data for accreditation purposes can be extremely difficult, confusing, time consuming, and expensive. Not any more!
One of our customers recently came to us with the goal of filling out this table specified by the CFAI Accreditation Model. It probably seems daunting at first, but lets display this data in our Dashboard — all in less than 20 minutes.
So if we look at this table— we can isolate a few metrics that we need to collect:
- Alarm Handling
- Turnout Time
- Travel Time
- Total Response Time
- Effective Response Force Time
- Effective Response Force Travel Time
Getting Started
- Click the Visualize tab
- Click the + button to create a new visualization
- Select the Data Table option
- Select the index pattern that contains *fire-incident*. You DO NOT want to select the index pattern that has the word apparatus in it.
Adding Metrics
Now that we have a basic table lets report on our desired metrics.
Let’s add 90 percentile Alarm Handling
- Update the time range to a larger period of time (Last 5 years)
- Click Add Metrics. Click the Metric Button
- Select Percentiles as the Aggregation Type
- Start typing “alarm handling” as the Field — select ‘durations.alarm_handling seconds’
- Remove all other percentiles and modify one to 90, which represents the 90th percentile
- Add a custom label as “Alarm Handling”
- Press play button
- Save the visualization
Now lets repeat for the other metrics in question
- Turnout Time is represented as ‘durations.turnout.seconds’
- Travel Time is represented as ‘durations.travel.minutes’
- Total Response Time is represented as ‘durations.total_response.minutes’
- Effective Response Time is represented as ‘durations.effective_response_force_response.minutes’
- Effective Response Travel Time is represented as ‘durations.effective_travel_force.minutes’
We should now have a table such as this
Aggregating By Date
Great, so we are now rolling up our desired metrics — but we now need to aggregate on several facets. Lets tackle the event date first by bucketing the data into Date ranges.
- Click Split Rows
- Select Date Histogram as Aggregation
- Select Yearly as Interval
- Add a custom label as “Year”
- Press play button
- Save the visualization
Aggregating By Population Density
Wow, getting somewhere! Lets now aggregate by Population Density.
- Click Add sub-buckets
- Click Split-Rows
- Select Terms as Sub Aggregation
- Start typing “population” as the Field — select ‘address.population_density’
- Add a custom label as “Population Density”
- Press play button
- Save the visualization
Aggregating By Category/Response Class
Looking good — but this table represents all incidents. We really need to aggregate across incident types or response class (e.g. Fire, EMS, etc).
- Click Add sub-buckets
- Click Split-Table
- Select Terms as Sub Aggregation
- Start typing “response_class” as the Field — select ‘description.response_class’
- Add a custom label as “Response Class”
- Press play button
- Save the visualization
Aggregating By Risk
Finally, we will want to break the table by risk.
- Click Add sub-buckets
- Click Split-Table
- Select Terms as Sub Aggregation
- Start typing “risk_category” as the Field — select ‘description.risk_category’
- Add a custom label as “Risk”
- Press play button
- Save the visualization
Wrapping Up
Just like that — you have a starting point for your accreditation reporting. Stay tuned to Part 2 to see how we can filter out outliers, export to CSV, and more.
Need help with accreditation reporting?
— email us at contact@statengine.io