Data / Transportation Research
Transportation Survey Analysis Platform
End-to-end analysis infrastructure for origin–destination travel surveys exceeding 10 million trips: ETL, statistical weighting, spatial analysis, and client-ready reporting.
Threat
North America's largest travel-demand surveys generate more than 10 million trip records across households, persons, and zones. Analysts need weighted, spatially correct outputs fast enough to iterate, but legacy ETL was slow, manual steps were error-prone, and every study duplicated the same plumbing.
- 10M+Trips analyzed
- 40×ETL speedup
- TTS+Studies
- PG+PYStack
Inside the build
Approach & deliverables
How the system is put together, and what it hands the people who use it.
Approach
- Python ETL with SQLAlchemy bulk operations and async I/O, engineered up to 40× faster than the predecessor pipeline, with data-quality gates at every stage.
- PostGIS-backed spatial analysis for zone assignment, trip chaining, and origin–destination matrices at metropolitan scale.
- Statistical weighting against census profiles for households, persons, and trips, with reproducible notebooks and automated validation.
- SurveyJS-driven data collection integrated with Flutter field apps for offline-capable interviewer workflows.
Delivers
- Million-record studies processed in minutes instead of hours.
- Reproducible weighting and validation that survives peer review.
- Self-serve Superset dashboards for project teams and clients.
- Standardized ETL patterns reused across multiple large studies.
Related writing
Survey weighting that survives peer review
Weighting is where transportation research lives or dies. Reproducible pipelines and explicit validation against census profiles are non-negotiable.
Lessons from building ETL 40× faster
When a survey ETL pipeline takes hours, analysts wait. When it takes minutes, they iterate. Here is what actually moved the needle.
Transportation demand modeling basics
Trip tables, mode choice, and assignment connect survey data to policy questions. Software is the easy part; definitions are the hard part.
CI/CD for data pipelines
Data pipelines deserve the same discipline as application code: tests, review, and automated deploys.
PostGIS beats flat files for spatial work
GeoPandas is great for analysis notebooks. At million-record scale with complex spatial joins, PostGIS in the database wins.