Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show running elevators/escalators #562

Open
devinmatte opened this issue May 11, 2023 · 5 comments
Open

Show running elevators/escalators #562

devinmatte opened this issue May 11, 2023 · 5 comments
Assignees
Labels
backend Change to backend code feature New feature or request frontend Change to frontend code nice-to-have Stuff that would be nice to have

Comments

@devinmatte
Copy link
Member

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 devinmatte added feature New feature or request nice-to-have Stuff that would be nice to have v4 backend Change to backend code frontend Change to frontend code labels May 11, 2023
@devinmatte devinmatte added this to the Dashboard V4.1 milestone May 11, 2023
@kmoses228
Copy link
Contributor

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.

@devinmatte
Copy link
Member Author

@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

@mcplanner mcplanner self-assigned this May 15, 2023
@kmoses228 kmoses228 self-assigned this May 15, 2023
@nathan-weinberg
Copy link
Member

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

@devinmatte
Copy link
Member Author

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

@nathan-weinberg
Copy link
Member

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 🤔)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Change to backend code feature New feature or request frontend Change to frontend code nice-to-have Stuff that would be nice to have
Projects
Status: Nice-To-Haves
Development

No branches or pull requests

4 participants