getFlightDelayData function

Get filtered flight delays