Skip to content

MHC-Datathon/Data-Lions

Repository files navigation

MTA Macaulay Honors College Datathon

By the Data Lions


Table of Contents
  1. Introduction
  2. Analysis
  3. Demo
  4. Technical Details
  5. Contributing
  6. License

Introduction


By comparing ridership data and violation data, our project seeks to show that beyond giving out violations as an incentive to not clog bus stops, the ACE is also a useful tool for data collection in regards to areas of improvement for the New York City public transit network.

And special thanks to NYC Open Data for providing the datasets we used in this datathon!

NYC Open Data

Contact Information

Our team members and their contact information are listed below:

  • David Rodriguez

    githubgmaillinkedin

  • Chi Ling Hsieh (Anna)

    githubgmail

Analysis


Background

ACE

The ACE program is a bus-mounted camera system that issues violations to vehicles occupying bus lanes, to double parked vehicles along bus routes, and to vehicles blocking bus stops. The goal of the system is to make bus service faster and more reliable by keeping bus lanes and bus stops clear.

ACE Ridership and Violations

ace_borough ace_ridership ace_violations

In general, it can be expected that longer routes with a higher rate of usage report a higher number of violations, as shown in the number of violations per borough, which show the Bronx, Manhattan, and Brooklyn with the highest number of violations, consistent with the three boroughs with the most ACE mounted bus routes. Individual examples include the M15+, which ranked first in both ridership and violations, and the M101 route, which ranked fourth in ridership and third in violations. However, there are notable outliers, like the B46+ (sixteenth in ridership yet sixth in ridership), the Bx36 (twelfth in ridership and fifth in violations), and the B82+ (twenty-fifth in ridership but twelfth in violations).

Transit Deserts

ridership map There seems to be a pattern between the paths the routes with a significant difference between ridership rankings and violation rankings take. Using our earlier examples of the B46+, Bx36, and B82, they all run in a direction and area where there are no other public transport options (most notably the Subway). From this, we may form a relation between a lack of public transport infrastructure and the number of violations detected amongst ACE bus paths.

Conclusions & Moving Forward

heatmap The ACE system, in tandem with serving its intended purpose, provides valuable data on what places need better infrastructure for people to get around, exposing transit deserts along the routes with higher nummbers of violations. That in itself shows the merit in expanding ACE to more bus routes for a more comprehensive understanding of our public transit network. At the same time, investment should be placed into transit deserts as highlighted by ACE data, so as to curb the nnumber of violations in the future. There is room for a win-win scenario, for both residents of the area and the MTA, where ACE allows citizens use of a more convenient and stable form public transport, while the MTA can benefit from the income of an expanded network.

Demo


A video to how the site works, and every feature that is stable and available so far is listed below!

demo

Back to top

Techincal Details


These are the technical details for the repository, such as libraries and datasets that we used!

Built With

Python Jupyter Matplotlib Seaborn Folium GeoPandas

Data Sources

Usage

To use the python notebooks and files in this repository, follow the steps below:

  1. Clone the repository

    git clone https://github.com/drod75/MTA-MHC-Datatahon.git
  2. Install the required packages

    a. If using pip, run:

    pip install -r requirements.txt

    b. If using UV, run:

    uv venv
    uv sync

Contributing


We like open-source and want to develop practical applications for real-world problems. However, individual strength is limited. So, any kinds of contribution is welcome, such as:

  • New features
  • Bug fixes
  • Typo fixes
  • Suggestions
  • Maintenance
  • Documents
  • etc.

Heres how you can contribute:

  1. Fork the repository
  2. Create a new feature branch
  3. Commit your changes
  4. Push to the branch
  5. Submit a pull request

Back to top

License


See LICENSE for more information.

About

An analysis on how ACE violations can support subway expansion.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors