Back Original

nyc subway route trivia

Often while taking the subway from Brooklyn into Manhattan, I see a train pull up next to mine at some station platform along the way, and if it's headed in the same direction, I invariably wonder I should switch trains.

So over Thanksgiving break I built mta.octavore.com to help me compute and compare the travel times between stations. Try it! It was a lot of fun messing around with the UI, and there was a ton of data to explore from the MTA and city APIs.

It's a little janky, though. What I found out in working on this project is that there's a lot of variability in train service patterns, even across relatively short spans of times. This makes it less than straightforward to compare two routes, because at any given time there might be trains on the same route serving different platforms.

Still, the site worked well enough for the trains that I take, so solving that will be a design problem for another day.

Here's some other fun things I learned:

  1. Routes, i.e. a label and a color, are generally unique, except that there are three different S trains
  2. A diamond route, like the F, is the rush hour express variant of the same route and runs concurrently (i.e. you'll see F and F at the same time), but skips some stops. The other two damond routes are the 6 and 7.
  3. The Z is the rush hour express of the J but not a diamond. This something called a skip stop - when both are running, some stops become Z only and the regular J skips them.
  4. Some routes like the 5 and the A have super complicated schedules, with lots of branching and many different service patterns.
  5. Some stations are one direction, like the Aqueduct Racetrack on the A.
  6. Unrelated to everything else in this post, you can get the MTA to write you a letter acknowledging that your train (or bus) was late.