Dataset Viewer
Auto-converted to Parquet Duplicate
service_date
date32
time
stringlengths
8
8
train_number
stringlengths
1
5
lateness
int32
0
1.44k
2011-11-17
17:02:00
6378
0
2011-11-17
17:02:00
754
14
2011-11-17
17:02:00
9251
6
2011-11-17
17:02:00
9559
1
2011-11-17
17:02:00
9561
3
2011-11-17
17:02:00
9747
3
2011-11-17
17:04:00
2372
5
2011-11-17
17:04:00
2843
0
2011-11-17
17:04:00
3449
1
2011-11-17
17:04:00
4249
5
2011-11-17
17:04:00
574
8
2011-11-17
17:04:00
754
15
2011-11-17
17:04:00
846
0
2011-11-17
17:04:00
9251
3
2011-11-17
17:04:00
9361
6
2011-11-17
17:04:00
9559
2
2011-11-17
17:04:00
9561
2
2011-11-17
17:04:00
9563
1
2011-11-17
17:06:00
2372
4
2011-11-17
17:06:00
3596
4
2011-11-17
17:06:00
451
2
2011-11-17
17:06:00
4844
1
2011-11-17
17:06:00
574
9
2011-11-17
17:06:00
754
0
2011-11-17
17:06:00
846
1
2011-11-17
17:06:00
9251
0
2011-11-17
17:06:00
9365
0
2011-11-17
17:06:00
9559
0
2011-11-17
17:06:00
9561
1
2011-11-17
17:06:00
9747
2
2011-11-17
17:08:00
380
2
2011-11-17
17:08:00
451
3
2011-11-17
17:08:00
574
8
2011-11-17
17:08:00
6248
1
2011-11-17
17:08:00
6370
4
2011-11-17
17:08:00
6576
0
2011-11-17
17:08:00
754
17
2011-11-17
17:08:00
7841
1
2011-11-17
17:08:00
9559
1
2011-11-17
17:08:00
9747
0
2011-11-17
17:10:00
2359
1
2011-11-17
17:10:00
3449
2
2011-11-17
17:10:00
376
1
2011-11-17
17:10:00
3791
6
2011-11-17
17:10:00
4382
0
2011-11-17
17:10:00
451
2
2011-11-17
17:10:00
6248
0
2011-11-17
17:10:00
754
16
2011-11-17
17:10:00
7841
0
2011-11-17
17:10:00
846
0
2011-11-17
17:10:00
9361
7
2011-11-17
17:10:00
9559
0
2011-11-17
17:10:00
9561
0
2011-11-17
17:10:00
9563
0
2011-11-17
17:10:00
9747
1
2011-11-17
17:12:00
2367
1
2011-11-17
17:12:00
3449
4
2011-11-17
17:12:00
3596
5
2011-11-17
17:12:00
369
2
2011-11-17
17:12:00
376
0
2011-11-17
17:12:00
380
1
2011-11-17
17:12:00
574
9
2011-11-17
17:12:00
7363
1
2011-11-17
17:12:00
846
2
2011-11-17
17:12:00
9251
1
2011-11-17
17:12:00
9559
1
2011-11-17
17:12:00
9561
1
2011-11-17
17:12:00
9563
1
2011-11-17
17:12:00
9747
0
2011-11-17
17:12:00
9756
0
2011-11-17
17:14:00
3596
3
2011-11-17
17:14:00
3791
3
2011-11-17
17:14:00
574
10
2011-11-17
17:14:00
6576
1
2011-11-17
17:14:00
7363
0
2011-11-17
17:14:00
754
17
2011-11-17
17:14:00
846
0
2011-11-17
17:14:00
9561
0
2011-11-17
17:14:00
9747
1
2011-11-17
17:16:00
2359
2
2011-11-17
17:16:00
2372
6
2011-11-17
17:16:00
380
0
2011-11-17
17:16:00
574
9
2011-11-17
17:16:00
578
1
2011-11-17
17:16:00
6444
2
2011-11-17
17:16:00
6576
0
2011-11-17
17:16:00
846
1
2011-11-17
17:16:00
9361
5
2011-11-17
17:16:00
9561
1
2011-11-17
17:16:00
9563
0
2011-11-17
17:18:00
1082
0
2011-11-17
17:18:00
1083
0
2011-11-17
17:18:00
2359
1
2011-11-17
17:18:00
2367
2
2011-11-17
17:18:00
371
0
2011-11-17
17:18:00
3791
4
2011-11-17
17:18:00
380
1
2011-11-17
17:18:00
451
3
2011-11-17
17:18:00
6374
1
2011-11-17
17:18:00
6444
1
End of preview. Expand in Data Studio

SEPTA Regional Rail train lateness dataset

Entriken, W. (2026). SEPTA Regional Rail On-Time Performance Report [data set]. https://apps.phor.net/septa/

This dataset contains every observed change in lateness for SEPTA Regional Rail trains, collected continuously since 2008. It is the most complete public record of actual train performance on the SEPTA Regional Rail network.

Dataset description

The data tracks real-time lateness of every train on the SEPTA Regional Rail system. Records are generated only when the reported lateness changes, making the dataset efficient while preserving complete performance history.

Columns

Column Format Description
service_date YYYY-MM-DD The service day in SEPTA parlance (the operational day the trip belongs to).
time HH:MM:SS The time of the observation in Philadelphia local time.
train_number string The head number displayed on the train for that specific trip.
lateness int32 Seconds late (positive = late, 0 = on time, 999 = train unexpectedly removed from service).

Service day and time handling

SEPTA resets its service day each night at 3 AM.

If a trip starts at 4 AM on Tuesday and ends at 2 AM the following morning, the entire trip counts for Tuesday’s service day. The service_date + time together give the exact moment of each observation.

For example, (2026-01-01, 00:15:00) occurs after ("2026-01-01, 23:59:00).

Train numbering and historical context

Each train_number corresponds to a single head sign and its route always touches the “trunk” (30th Street Station, Suburban Station, Jefferson Station).

Since the Center City Commuter Connection opened in November 1984, trains run through Suburban Station: inbound on one side of the city and outbound on the other.

Note: Any station visited after exiting trunk from the Jefferson Station side is called "north"; any station after exiting trunk the other direction is called "south". See the physical map of the track branching directly east of Jefferson Station to understand why. For example, West Trention line stops are "north", but Trenton line stops are "south". Trains heading towards a "north" terminal station are "northbound"; all others are "southbound". This "north" / "south" / "northbound" / "southbound" wording is outdated since the 1984 merger of the Reading and Pennsylvania railroads since trains now pass through Suburban Station. But as of 2026 it is still in frequent use by SEPTA rail staff and is in SEPTA's GTFS data feeds.

Key invariant (unchanged since 1984):

Every trip touches Suburban Station, and every line respects strict monotonic ordering. This allows reliable topological sorting when linking to GTFS schedules (see example implementation).

Lateness definition

lateness is SEPTA’s official recording of how many minutes late the train was at its most recent control station, adjusted forward if more than the allotted time has passed to the next control station.

As of 2015, control stations included interlocking/switching points, wayside stations, and visual inspection points; some lines now use GPS.

Important notes on collection:

  • Data is polled from the public SEPTA TrainView API (and its predecessors) every minute since 2009.
  • Since ~2015 the API updates every ~3 minutes, so recorded values are accurate to within ~60 seconds.
  • A new row is written only when lateness changes. If the train stays at the same lateness value, no duplicate row is stored.

On-Time Performance (OTP) calculation

SEPTA defines a train as on time if:

  • Inbound: it reaches Suburban Station early or within 359 seconds (5 min 59 sec) of scheduled arrival.
  • Outbound: it reaches its terminal station early or within 359 seconds of scheduled arrival.

Almost every train number contributes to the monthly OTP of two service lines (i.e. once inbound and once outbound; one "north" line and one "south" line).

Planned service interrputions published in advance do not count towards the numerator. Unplanned service interruptions, such as cancelled trains, count like any other not on-time train.

Limitations

  • Occasional gaps may exist due to API outages or data-feed limitations.
  • Lateness is based on SEPTA’s control-point reporting (not always GPS).

Intended uses

  • Transit planning and schedule optimization (see our past successful proposals)
  • Time-series forecasting and delay prediction
  • Machine-learning research on public-transit reliability
  • Civic advocacy

How to load (Hugging Face datasets)

from datasets import load_dataset

ds = load_dataset("fulldecent/septa-regionalrail-otp", split="train")
Downloads last month
451