Skip to content

hudcostreets/path

Repository files navigation

PATH ridership stats

Cleaned + Plotted PATH ridership data (source)

Interactive versions of the plots below:

Contents:

Cleaned data

Jan 2012 – Oct 2023

PATH weekday ridership over time, stacked by station

Closer look at 2020-Present

PATH weekday ridership over time, stacked by station, 2020 to 2022-09; 275k in Jan/Feb 2020, large drop, almost to zero, in April 2020, steadily climbing back to 150k

Weekends only

PATH weekend ridership over time, stacked by station

Weekends (2020-Present)

PATH Saturday ridership over time, stacked by station, September 2022 has surpassed January/February 2020

Weekdays, Grouped by Month

Weekends, Grouped by Month

Weekdays vs. Weekends

Weekdays vs. Weekends, compared to 2019

As of October 2024:

  • weekday ridership was 71.2% of October '19 (pre-COVID)
  • weekend ridership was 113.5% of October '19 (pre-COVID)

Usage

Update PATH Monthly Data PDFs

0. Install

git clone https://github.com/hudcostreets/path
cd path
pip install -e .

1. Download PATH Ridership Reports

path-data refresh
1b. Create Tabula templates

This is already done, the resulting templates are saved in templates/.

Selecting tables from a "PATH Ridership Report"

2. Process each year's data, output .pqts

path-data update

3. Combine all years' data

path-data combine

Bridge & Tunnel Data (WIP)

Merge per-year PDFs into one:

/opt/homebrew/bin/gs \
  -o merged.pdf \
  -sDEVICE=pdfwrite \
  -dPDFFitPage \
  -g12984x10033 \
  -dPDFSETTINGS=/prepress \ 
  traffic-e-zpass-usage-20*

cf. SO.