sfbrigade / project-ideas

Project ideas for the Brigade to discuss.
8 stars 0 forks source link

SPUR Wish #3 - Yesterday's Transit #4

Open ondrae opened 8 years ago

ondrae commented 8 years ago

Short description:

A dashboard to easily see the status of the Bay Area's public transit, yesterday.

Long Description:

SPUR presented at hack night tonight and had three wishes. Number three was for this dashboard. They showed a horrendous looking example and said they dream about having something like that. We can do better.

We should talk to her further about what data would be useful for SPUR.

To start though, we could have:

All of these examples can be figured out with just the GTFS Realtime data.

We could start with just that first one. How many minutes delay was there. Here's how we could answer that:

Still just in discussion here in this issue.

stevepepple commented 8 years ago

Related to transit feeds and "what happened yesterday", there are a couple of data sources and projects I'm aware of:

Aggregation and Normalization of Transit Feed, e.g. GTFS: https://transit.land/

Real-time Database of Muni and other NextBus-enabled Services: https://www.firebase.com/docs/open-data/transit.html

irees commented 8 years ago

I can calculate the # of service hours for transit on a given day, using public static GTFS feeds, as well as for each route: average frequency, average speed. Also split by bus/rail, agency. I'll try and cook something up this weekend.

ondrae commented 8 years ago

Thats great. We could get the expected stats for each day that way. Any chance of calculating the real value of what actually happened that day though? Does GTFS Realtime allow for that?

The static values are a great start though.

irees commented 8 years ago

I'll start with static schedule data; RT data might be a good next step for looking at schedule adherence and delays.

stevepepple commented 8 years ago

A project like Car Free A to Z would help multi-modal megaregion transit users: http://www.carfreeatoz.com/planner

They use OpenTripPlanner, OpenStreetMaps, and GTFS, which means it could be ported to another city.

ondrae commented 8 years ago

Some interesting charts to show delays. https://mbtaviz.github.io/

luqmaan commented 8 years ago

A first step towards this idea could be storing historical GTFS-RT data.

For example, we have 9 months of GTFS-RT Vehicle Positions stored on GitHub for Austin: https://github.com/scascketta/capmetrics.

Then you can show a dashboard for any day, instead of just yesterday's transit. You can also do other types of analysis (e.g. which route is faster: https://github.com/open-austin/project-ideas/issues/3).

ondrae commented 8 years ago

Exactly @luqmaan thanks for the link. I'll check out that project. I was hoping there was a service out there that already had the historical data.

@invisiblefunnel do know of any services or agencies that track historical data? Is doing it our damn selves the way?