When we launched the website a month ago we didn’t expect much. The project was interesting to us having both lived around the Boston area and being frequent riders of the T, but the website has reached people outside of our bubble and the interest from the online community has been great. Several people have reached out for the source code and we’ve spent a little time adding comments and trying to better organize the code base. This page walks through some of the different sections and rationale for what we have put online.
The raw data is also available on dropbox for you to download and experiment with. There are two files, one is the cleaned and organized realtime data feed that was captured for the month of February and the other is the station entry and exit data for the month of February. The realtime data is used on the ‘The Trains,’ ‘How People and Trains Affect Each Other,’ and ‘Your Commute’ visualizations and contains the per minute entries for the subway and commuter rail. The station entries and exits is released with permission from the MBTA and contains per minute entries and exits for stations on the red, blue, green, silver and orange lines that have turnstiles. This data is used on the ‘The People’ and ‘How People and Trains Affect Each Other’ sections of the report. We also provide the processed data that’s fed into the visualizations and some information about the formatting of this data. The utilities that transform the raw data into the files used by the visualizations are not available at this time.
The github wiki has an outline of the data format and a small write up for each visualization, be sure to look that over before diving in. Also checkout the README.md file on the github repo. It’s been a great to build this visualization and we hope you find these resources useful, if you build something based off of this code be sure to let us know so we can point others to your work.
Mike and Brian
[…] Visualizing MBTA Data source code now available | mbtaviz […]
[…] More information here: https://mbtaviz.wordpress.com/2014/07/25/website-source-announcement/ […]