Cleaned + Plotted PATH ridership data (source)
Interactive versions of the plots below:
Contents:
As of October 2024:
- weekday ridership was 71.2% of October '19 (pre-COVID)
- weekend ridership was 113.5% of October '19 (pre-COVID)
git clone https://github.com/hudcostreets/path
cd path
pip install -e .
path-data refresh
refresh.py
- Updates local copies of PANYNJ PDFs, e.g.:
1b. Create Tabula templates
This is already done, the resulting templates are saved in templates/
.
path-data update
update.py
monthly.ipynb
- Outputs
data/20*.pqt
path-data combine
combine.py
months.ipynb
- Outputs:
data/all.pqt
,img/weekdays.png
, etc.
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.