NYC Transportation
Intelligence Lab
An AI-assisted, SQL-first exploration of official NYC TLC Yellow Taxi trip records. Operational questions and analytical direction are human-led; AI helped implement the SQL, Python pipeline, and dashboard. See the query and its result.
Inspect the formulas, assumptions, and scenario model
Download the reproducible Excel workbook generated from the same verified SQL metrics as this dashboard. Includes hourly and weekday demand, named zones, borough comparisons, month-over-month trends, data quality, charts, and an editable capacity scenario. Scenario assumptions are illustrative—not observed fleet staffing or unmet demand.
Download Excel operations model (.xlsx) ↓ · Inspect workbook generator ↗
Seven real SQL queries, available for review
These are the actual version-controlled DuckDB SQL files used by the analysis pipeline. Open each query to inspect the source; the interactive explorer below also shows SQL alongside its verified output.
Explore the SQL
Select an operational question to reveal the actual query, analytical reasoning and corresponding output.
SQL output
NYC geographic demand
Official TLC taxi-zone lookup enriches pickup zone IDs with borough and neighborhood names. Use the Geographic demand tab to compare boroughs; the top named zones appear below.
Analyst interpretation
Decision: Compare hourly and weekday pickup volumes to identify periods with greater observed trip activity. Use the pickup-zone ranking to prioritize locations for further service-coverage investigation.
Validation: The data-quality audit reports problematic records separately. Trip-duration metrics use a documented 1–180-minute filter rather than silently including impossible or extreme values.
Next investigation: Join the official taxi-zone lookup, compare multiple months, and quantify variability before recommending staffing levels or predicting demand.
Data lineage & limitations
Source: NYC Taxi & Limousine Commission. Monthly Yellow Taxi Parquet files are queried using DuckDB. This dashboard displays precomputed, versionable SQL output rather than loading millions of rows into a visitor's browser.
Pickup volume is observed trip activity, not unserved demand. These records do not measure available vehicles, driver shifts, or dispatch response times. Data-quality exceptions are reported separately and are not silently discarded.