t-performance-dash icon indicating copy to clipboard operation
t-performance-dash copied to clipboard

Show running elevators/escalators

Open devinmatte opened this issue 2 years ago • 5 comments

It would be great if we can show how actually accessible the stations in the T are somewhere in the UI of the dashboard

Blue Line
Escalators 4/10 in service
Elevators 9/10 in service

https://www.mbta.com/alerts/access should show us elevators/escalators closures, and we can use that to create aggregate metrics of availability

devinmatte avatar May 11 '23 15:05 devinmatte

Additional info:

We could use GET /facilities from the V3 MBTA API to get a list of all elevators and escalators in the system, and periodically store the results of GET /alerts to compute downtime in order to display history.

I'm not familiar with how our periodic data scraping is done today, or whether it would be best to follow the same framework or do something new for this feature.

kmoses228 avatar May 12 '23 20:05 kmoses228

@kmoses228 We do a lot of regular data processing in the data-ingestion repo which would probably be the place to look for keeping a historical record of the live info

devinmatte avatar May 13 '23 16:05 devinmatte

@devinmatte @kmoses228 anything else for this or did the changes in #578 cover it and we can close this out?

nathan-weinberg avatar Feb 16 '24 17:02 nathan-weinberg

We never added aggregate stats, just showing the live alerts. Not sure if we want that still or not, since the live alerts tell a lot of the story

devinmatte avatar Feb 16 '24 17:02 devinmatte

That would be cool to have - we could also use the alert history we collect to show percentages of how often an elevator/escalator is out of service (thinking about Porter :thinking:)

nathan-weinberg avatar Feb 16 '24 17:02 nathan-weinberg