Data Engineering Zoomcamp 2024 course project
The dashboard can be used for analysis of liquor sales and alcohol consumption in Iowa:
- for specific locations - counties, towns, and stores;
- within an arbitrary range of dates;
- with breakdown by vendors, categories and brands.
Details for January, 2023, for Polk county and spiced rum:
Iowa Liquor Sales dataset.
Load data into BigQuery from Google's public dataset:
CREATE TABLE `radiant-firefly-412220.booze.iowa_sales` AS
SELECT * FROM `bigquery-public-data.iowa_liquor_sales.sales`;
Add a column for name of week day and fill it in:
ALTER TABLE radiant-firefly-412220.booze.iowa_sales ADD COLUMN weekday STRING;
UPDATE radiant-firefly-412220.booze.iowa_sales SET weekday = FORMAT_DATE('%A', date) WHERE TRUE;