Skip to content

Interactive dashboard on transportation metrics throughout the Boston region

License

Notifications You must be signed in to change notification settings

CTPSSTAFF/CTPS-DASHBOARD

 
 

Repository files navigation

CTPS Performance Dashboard

This dashboard presents transportation metrics for the Boston Region Metropolitan Planning Organization. It was developed by Beatrice Jin during the summer of 2016, and first released in January 2018. Beatrice's original GitHub repository for this project may be found here.

Work on the dashboard has continued since then in this repository, which was forked from Beatrice's. The changes made since January 2018 do not affect the basic design of the dashboard, but rather are concerned with:

  • Change in MPO membership from 101 municipalities to 97 municipalities
  • Updated text on the 'About' page
  • Migration of the underlying data from an Oracle database to a PostgreSQL database
  • Updates to the underlying data

The contents of this repository are organized as follows:

  • top-level folder (this folder)
  • components - PHP code for top-level navigation, page header and footer
  • data
    • csv - data files in CSV format read by the dashboard; see its README.md file for a detailed inventory
    • json - data files in JSON format read by the dashboard; see its README.md file for a detailed inventory
  • js - some JavaScript files used in multiple pages
  • libs - JavaScript library files used by the dashboard
  • pages
    • about - subdirectory for PHP code for the dashboard's 'About' page
    • bike_facilities - PHP and JavaScript code to generate page and data-vizes for bike data
    • bridges - PHP and JavaScript code to generate page and data-vizes for bridge condition data
    • congestion - PHP and JavaScript code to generate page and data-vizes for congestion data
    • crashes - PHP and JavaScript code to generate page and data-vizes for crash data
    • demographics - - PHP and JavaScript code to generate page and data-vizes for demographic data
    • pavement - - PHP and JavaScript code to generate page and data-vizes for pavement condition data
    • sidewalks - - PHP and JavaScript code to generate page and data-vizes for sidewalk data
  • tools
    • bridge_processing - tools to process the raw bridge data
    • congestion_processing - misnamed: contains GeoJSON for 2014 CMP express and arterial routes, with metrics
    • crashes - empty
    • interstate_pavement_processing - tools to process pavement condition data for interstates
    • noninterstate_pavement_processing - tools to process pavement condition data for noninterstates
    • sidewalk_processing - tools to process sidewalk data

Beatrice's original README.md appears below.

-- Benjamin Krepp -- Date: 25 January 2021 -- Updated: 29 March 2024




Beatrice Jin's Original README.md

Every MPO in the US is being required by the Federal Government to define performance metrics and goals for their transportation system, and track progress with respect to those goals over time. This repository holds every commit of the Boston MPO dashboard from July 2016 to its first release in January 2018. The dashboard is live here.

-Alt text

Beatrice Jin is the primarily developer in this project. The raw datasets come from various groups at the Central Transportation Planning Staff, but the code is almost entirely developed by her (which will be more apparent when you see how messy it is). The commit as of today (August 3, 2016) is of state of the dashboard presented at this afternoon's brown bag. People are mostly happy about it, I think, although some of the excitement must be accredited to the aesthetic.

This is a pretty useless README file - mostly I just wanted somewhere to put my thoughts about this project, minus the profanities.

Working for the government "public sector" transportation planning or whatever is not something I had ever dreamt about doing, or something that I would tell my kids to dream about doing. Nonetheless, I've found myself in Central Square's Clover Food Lab at 3 AM, deliriously excited to discover that fill-opacity is different from opacity. And grumbling about the pavement condition as I put our 2.88% of bike-facility-equipped centerline miles to good use. And waking up in our non-air-conditioned Airbnb room absolutely sopping in sweat, mumbling about using the wrong bridge IDs, only to stumble 6 miles from Watertown to Boston to read about TOPOJSON simplification and quantification.

It freaks me out, actually, a little bit. Doing something meaningful in a way that I enjoy is something that doesn't ever quite happen in college. Each day this summer has felt like two, in which I would wake up and enter a coding trance, then wake up again so that I could be a person to the people I loved before slipping back to the nits of tickSize() and tickPadding(). In another way, this summer has also felt like one very long day, where waking up just felt like waking up from waking up from waking up, and the next 20 hours would be the same as the last, splicing PSI data the wrong way, trying to convert time stamps into Date objects, apples and Arizona tea in between.

The person that I want to be was never someone who could picture AM/PM congestion in all of the express highways, and certainly not someone who agonized over how to visually talk about it. It turns out that I've become that person anyway - the weirdo who wonders if the sensation of touch can be translated into a JSON array every time she hugs her friends.

I am very grateful to have worked here, and to be continuing to work here. Boston is the first city I've grown to feel comfortable enough to love. People have been so kind, to a jarring extent; the river is so beautiful; crossing the Mass Ave. bridge still takes my breath; the coffee is too expensive; I wish the busses didn't keep skipping my stop. I've learned and cared more than I ever imagined.

TL;DR I have no chill; sleep is furiously, hazardously begging; this is/was/will-be awesome.

  • BZJ August 03, 2016

About

Interactive dashboard on transportation metrics throughout the Boston region

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 70.9%
  • PHP 17.3%
  • Python 6.3%
  • CSS 5.3%
  • HTML 0.2%