HSP data for Elizabeth Line

17 views
Skip to first unread message

Ed Jefferson

unread,
4:09 AM (9 hours ago) 4:09 AM
to A gathering place for the Open Rail Data community
Hi all,

I'm looking at some HSP service metrics data using the api at https://hsp-prod.rockshore.net/api/v1/serviceMetrics, and sending queries like this.

payload = {
    "from_loc":  "RDG",
    "to_loc":    "PAD",
    "from_time": "0700",
    "to_time":   "0900",
    "from_date": "2026-03-01",
    "to_date":   "2026-03-31",
    "days":      "WEEKDAY",
    "tolerance": ['2', '5', '10'],
}

Which returns data for 522 trains that ran in that window for that period - 520 GW trains and 2 XR trains. My understanding is that XR is the Elizabeth Line, so that number seems a bit unlikely. Is it the case that the HSP data doesn't include travel through the core section, or is there a different CRS I should be using, or am I making some other dumb mistake here?

Thanks for any assistance!

Ed

Peter Hicks

unread,
4:16 AM (8 hours ago) 4:16 AM
to openrail...@googlegroups.com
Hi Ed

As an experiment, can you try setting the to_loc to TCR please?


Peter

Ed Jefferson

unread,
4:19 AM (8 hours ago) 4:19 AM
to A gathering place for the Open Rail Data community
176 XR services, which sounds about right...

Peter Hicks

unread,
4:23 AM (8 hours ago) 4:23 AM
to openrail...@googlegroups.com
On Friday, 8 May 2026 at 09:19, Ed Jefferson <edjeffe...@gmail.com> wrote:

176 XR services, which sounds about right...

I'm wondering: if you try PAD -> TCR and get zero, it might indicate that HSP doesn't associate the Paddington Crossrail TIPLOC with the CRS code 'PAD'.


Peter

Ed Jefferson

unread,
4:30 AM (8 hours ago) 4:30 AM
to A gathering place for the Open Rail Data community
Ah, worked it out now - Looking at one of the RDG->TCR services the Paddington stop is PAA, and putting that into the original query gives me 174 services, which is more plausible. The RDG->TCR had 176, RDG-PAD has 2 and RDG-PAD has 174 so possibly just some occasionally consistency in which code is used for Paddington EL services?
Reply all
Reply to author
Forward
0 new messages