Skip to content

Commit

Permalink
Merge pull request #8 from BU-Spark/pre---dev-branch
Browse files Browse the repository at this point in the history
Pre   dev branch
  • Loading branch information
julissamijares authored Oct 29, 2024
2 parents b79099b + 9374fc2 commit 628c2ea
Show file tree
Hide file tree
Showing 10 changed files with 3,135 additions and 521 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,4 @@ $RECYCLE.BIN/
.venv

*.csv
*.ipynb_checkpoints
42 changes: 38 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,41 @@
# TEMPLATE-base-repo
# WGBH Impact and Equity: Boston Bus Equity (Fall 2024 Project)

Create a new branch from dev, add changes on the new branch you just created.
## Overview
This repository contains all code, data, and documentation for the **Boston Bus Equity** project, conducted in partnership with **Paul Singer**, Senior Editor, Equity & Justice at **GBH News**. This project, part of BU’s DS701 practicum course, aims to explore the impact of MBTA bus performance on Boston residents, examining service disparities and trends across different neighborhoods. The analysis will help inform news stories on the accessibility and equity of Boston’s public transportation system.

Open a Pull Request to dev. Add your PM and TPM as reviewers.
## Project Summary
This project aims to deliver a detailed analysis of the Massachusetts Bay Transportation Authority (MBTA) bus performance in 2019 and 2022. The main focus is to compare the ridership and reliability data for each bus route between the two years. This study will identify any areas where bus service could be improved to better meet community needs. By analyzing the performance for each route, this report can inform data-driven decision-making for policymakers and MBTA to enhance overall transit system performance to better serve Boston residents and communities.

At the end of the semester during project wrap up open a final Pull Request to main from dev branch.
## Key Questions
- What is the ridership per bus route?
- What are the end-to-end travel times for each bus route in the city?
- On average, how long does an individual have to wait for a bus (on time vs. delayed)?
- What is the average delay time of all routes across the entire city?
- What is the average delay time of the target bus routes (22, 29, 15, 45, 28, 44, 42, 17, 23, 31, 26, 111, 24, 33, 14 - from Livable Streets report)?
- Are there disparities in the service levels of different routes (which lines are late more often than others)?

## Repository Structure
- **dataset-documentation/**: Documentation and preliminary data cleaning notes.
- **notebooks/**: Jupyter notebooks for data analysis and visualization, including the latest work on answering base project questions.
- **utils/data_cleaning/**: Python scripts for data cleaning and pre-processing.
- **.github/workflows/**: GitHub Actions for CI/CD and code quality checks.
- **requirements.txt**: Python dependencies for project setup.
- **README.md**: Project overview and repository navigation guide (this file).

## Datasets

- The datasets for this project are listed below. Please followed the utils/data_cleaning for more about how datasets are cleaned for this project.

### Ridership
- Fall 2019 https://mbta-massdot.opendata.arcgis.com/datasets/47bbf5047f0646fbae11ef3ed8ccea47_0/explore?filters=eyJzZWFzb24iOlsiRmFsbCAyMDE5Il19
- Fall 2022 https://mbta-massdot.opendata.arcgis.com/datasets/47bbf5047f0646fbae11ef3ed8ccea47_0/explore?filters=eyJzZWFzb24iOlsiRmFsbCAyMDIyIl19

### Reliability
- 2019 Bus Departure/Arrival Times https://mbta-massdot.opendata.arcgis.com/datasets/1bd340b39942438685d8dcdfe3f26d1a/about
- 2022 Bus Departure/Arrival Times https://mbta-massdot.opendata.arcgis.com/datasets/ef464a75666349f481353f16514c06d0/about


## Getting Started
### Prerequisites
- Python 3.8 or above
- Required libraries are listed in `requirements.txt`.
250 changes: 250 additions & 0 deletions notebooks/Headway.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 628c2ea

Please sign in to comment.