All projects

Project · Data engineering · GCP

Trip Analytics on GCP

An end-to-end batch pipeline that turns raw taxi trip records into a star schema in BigQuery and an analytics dashboard in Looker Studio, orchestrated with Mage running on a Compute Engine VM.

Source code

01Architecture

  1. ExtractMage loads the raw trip CSV (pickup/drop-off times and locations, distances, fares, payment types).
  2. Transformpandas builds a star schema: one fact table and eight dimensions.
  3. LoadEach table is written to BigQuery, with project and dataset set by configuration.
  4. AnalyzeA SQL join produces one analytics table that feeds a Looker Studio dashboard.

02Data model

The transform step models NYC TLC trip records as a star schema so the dashboard can slice by time, location, rate and payment type without scanning raw rows.

03Engineering notes

Started as a guided learning project. Sources are credited in the repository.

← Back to all projects Next: YouTube analytics on AWS →