/la-metro-ridership

Looking at LA Metro Ridership in a COVID world

Primary LanguageJupyter Notebook

LA Metro Ridersip

This repository contains code and data analyzing at Los Angeles Metro ridership over time. In particular, it looks at which lines have recovered their ridership in the COVID-19 era, and which ones have not.

Unfortunately, Metro does not publish stop or neighborhood level data, so it can be difficult to identify precisely which neighborhoods have seen the biggest changes, but nonetheless, some broad patterns are visible.

ridership-recovery-map

Orientation

Code

  • scrape-ridership.py - Downloads raw ridership data from https://isotp.metro.net/MetroRidership/Index.aspx and stores it as a parquet file.
  • process-data.py - Processes the raw ridership data into a form more easily analyzed.
  • metro-ridership-and-covid-recovery.ipynb - notebook producing some visualizations.

Data

  • metro-ridership-{date}.parquet - Raw ridership data
  • metro-{rail, bus}-recovery.{csv,parquet} - processed ridership data

Visualizations

  • metro-recovery-map.png - Map of ridership relative to 2019 levels
  • metro-recovery-chart.{png, html} - Chart showing recovery through time of the top 30 bus lines (according to 2019 ridership).