Copy of 'flight_categorisation.R', containing original test code prior to writing 'final' analysis version
Working to a point, but need to make foreach parallel loop and ouput to dataframe then database