loadAnalyticsDB.PractII.VarmaA.RPurpose: The "data factory" - reads 1.18M transactions from SQLite + CSV, cleans them, aggregates them, and loads into our analytics warehouse.
Analogy: Like a factory assembly line - raw materials (messy data) go in one end, finished products (clean aggregated data) come out the other.
SQLite (1.08M rows) ┐
├──→ Extract → Transform → Aggregate → Load → MySQL (5K rows)
CSV (98K rows) ┘
Key Transformation: 1,181,863 raw transactions → 5,427 daily summaries
user_id → country_id (using lookup table)asset_id → sport (using lookup table + inference)