Peter Hicks highlights that Network Rail have recently released Delay Attribution data for trains in the UK in a large set of CSV files.
You’ll find the data under http://www.networkrail.co.uk/transparency/datasets/ in the “Historical Delay” section.
You can preview the data here in DataPipes:
Screenhost of that with webshot: