Case study

A data analysis, risk and audit tool for an airline

Insights is a browser tool in which an airline's analysts and auditors search the data warehouse, analyse risks and run audits. We developed it for more than three years.

Industry
Aviation, data analysis
Country
United States
Timeline
3+ years
Team
2-4 people
Insights
3 mininstead of an entire afternoon

The time it takes to display the history of intricate e-ticket exchanges

01 Starting point

Where we started

An airline from the United States keeps data about passengers, bookings, tickets and flights in a data warehouse. Before Insights, analysts and auditors worked directly in the warehouse. Each of them had their own SQL queries and looked for answers in raw data, so even a simple question could take an entire afternoon. Risks were hard to see as well. Overbooking, selling more seats than the aircraft has, only showed up in the results of one query after another. There was no single screen that showed where and how often it happened. Insights is a browser tool that replaced this work with search and visualizations. We developed it for more than three years: from passenger search, through joining passenger data from many sources, to contact tracing on board during the pandemic.

The airline needed one place where an analyst, an auditor and a risk owner could find the answer on their own, without knowing SQL and without waiting for someone who knows the warehouse.

02 Timeline

From passenger search to contact tracing

  1. Stage 1

    Passenger analysis and search in the data warehouse

    The first tool lets analysts search the airline's huge data warehouse without writing SQL queries.

  2. Stage 2

    One passenger from many sources

    A mechanism joins the same passenger from residual data scattered across different systems.

  3. Stage 3

    Travel tracking and the most valuable passengers

    The joined data shows a passenger's travel history, and the airline recognises its most valuable passengers.

  4. COVID-19 pandemic

    AirTrace: contact tracing on board

    Tracing of infected passengers and the people seated near them, following the airline's guidelines and a heuristic for aerosol spread in the cabin based on the research of the time.

03 What we did

What we delivered

01

Search instead of queries

A passenger, flight, booking or ticket is found by typing a few words, as in any search engine. The full history of an e-ticket, including its exchanges, is visible on one screen.

02

Risk visualization

Risks such as overbooking are shown on interactive charts: on which routes they occur, how often and how they change over time. From a chart the user goes straight to the specific flights and bookings.

03

Audits in the same tool

An auditor starts an audit from a chosen risk, records the findings and comes back to them later. Audit and risk teams work on the same data.

04

One passenger from many sources

We developed an algorithm that recognises the same passenger in residual data from different systems and joins it into one profile. With it the airline tracks a passenger's travel history and recognises its most valuable passengers.

05

AirTrace, contact tracing during the pandemic

When COVID-19 hit, we implemented tracing of infected passengers and the people seated near them. The rules for identifying contacts followed the airline's guidelines and a heuristic for how aerosols spread in an aircraft cabin, based on the research available at the time.

06

Machine learning in risk detection

Machine learning models point to the cases in the data that an analyst should look at first.

04 What changed

Working with data before Insights and today

Finding dataBeforeEach person's own SQL queries written directly against raw data in the warehouseAfterSearch and filters available to the whole team
E-ticket historyBeforeAn entire afternoon of workAfterAbout 3 minutes
RisksBeforeOverbooking visible only in the results of one query after anotherAfterRisks on interactive charts, with a way through to flights and bookings
PassengerBeforeOne person's data scattered across many systemsAfterOne passenger profile with travel history
AuditBeforeThe auditor depends on people who know the warehouseAfterThe auditor finds the data and runs the audit in the tool
05 How we worked

How the work was run

We started with workshops with the airline's analysts. We wanted to learn the data in the warehouse and the questions analysts ask most often. New features reached analysts and auditors at short intervals, and their feedback decided what we built next. That is how passenger search, risk visualizations, audits, passenger data joining and AirTrace came about. Upon seeing how Insights displays the history of intricate e-ticket exchanges, the Internal Audit Manager remarked: "We have accomplished in 3 minutes what used to consume an entire afternoon."

Work that required custom SQL queries and an entire afternoon now takes a few minutes and is open to every analyst and auditor at the airline.

Scope of work

We designed and developed Insights from the start: from the data in the warehouse to the screen the analyst works on.

Java and Spring microservices that process data from the Teradata warehouse and make it searchable in Elasticsearch.

An Angular application for search, visualization and running audits on passenger, flight and risk data.

Interactive charts built with the D3 library, designed for passenger, flight and risk data.

Research and development of an algorithm that recognises and joins the same passenger based on residual data from different sources.

Contact tracing on board, following the airline's guidelines and a heuristic for aerosol spread in the cabin.

New features built from analysts' feedback and the airline's changing needs.

Technologies

Java
Spring
Elasticsearch
Angular
Teradata

Let's Talk About Your Project

Get In Touch
Maciej Roman|CEO & Co-founder

Not sure where to start? Begin with the AI Readiness Audit