Finding Delays in a Week By Route

83 views
Skip to first unread message

Charles Winter

unread,
Jun 30, 2025, 3:07:48 PMJun 30
to A gathering place for the Open Rail Data community
Hello All,

I'm trying to investigate a software idea, that would require me to find all the delays (preferably with a query parameter of delay threshold) for a particular user defined route in the last week. 
So for example, someone might want to know all the delayed trains from Derby->Sheffield in the last week.

I assumed that the right place for me to go would be the HSP https://wiki.openraildata.com/index.php/HSP. It's 99% what I want, but sadly the query for tolerance is
 
tolerance (optional) is a set of up to three values to set the tolerances, e.g. ['2', '5', '10'] will return statistics for the number of trains which arrived at the to_loc within 2 minutes, within 5 minutes and within 10 minutes of their scheduled time

Whereas I'm interested in whether a train was 15m, 30m or an hour late. I see that I can individually query the serviceDetails endpoint with every individual RID to find that information but this doesn't feel like the right thing to do.

I'm after some advice please, as I'm a bit bewildered by the available datasets! Would someone please be able to point me in the right direction?

Much appreciated.

Jeskynar

unread,
Jun 30, 2025, 5:45:48 PMJun 30
to openrail...@googlegroups.com

Ryan Woolies

unread,
Jul 1, 2025, 2:10:20 AMJul 1
to A gathering place for the Open Rail Data community
I'm not sure how far along you are with your idea but I think HSP is the right data.
You can alter the tolerance values, so for example send the tolerance parameter as ['15','30','60'] for the number of trains 15, 30 and 60 minutes late.
Reply all
Reply to author
Forward
0 new messages