Giter VIP home page Giter VIP logo

mbta-alert-viz's Introduction

mbta-alert-viz

Visualizations of MBTA alert data for red line

What is this?

The Red Line is a crucial public transit artery in Boston, but is also notoriously unreliable.

A while back, I asked the MBTA's developer office for data on historical Red Line alerts and they gave me a dump of all service alerts up to that day. I recently got a refresh of all 2016 alerts and decided to look at 2016's full set of alerts.

I took all the alerts, filtered out ones that didn't involve the Red Line, and then removed all alerts that had a "cause" related to construction work, police actions, and medical emergencies. (I figured those didn't directly relate to track or train problems.)

I then labeled stations present in the alert text for issues "at" or "near" stations, or "between" stations. "At" or "near" counted for one issue at a station; "between" incremented the two mentioned stations by a smaller amount.

See also: Reddit discussion.

License

Data used here was kindly provided by [email protected]. Use of MBTA data is subject to the MassDOT Developer's License Agreement which can be found at http://www.massdot.state.ma.us/DevelopersData.aspx.

Basemap by Michael Kvrivishvili on Wikimedia Commons. This file is licensed under the Creative Commons Attribution 2.0 Generic license.

mbta-alert-viz's People

Contributors

nhfruchter avatar

Stargazers

Santiago Larrain avatar Connor McKay avatar  avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

jranimo

mbta-alert-viz's Issues

Add `map.png`

Awesome Viz!
Thanks for sharing it.

You should add the map.png you are loading, to the repo (or at least a link if it is downloadable from somewhere).
On

im = plt.imread("map.png")

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.