Add purchase analysis summaries
This commit is contained in:
@@ -13,6 +13,7 @@ Run each script step-by-step from the terminal.
|
||||
5. `build_purchases.py`: combine retailer outputs into one purchase table
|
||||
6. `review_products.py`: review unresolved product matches in the terminal
|
||||
7. `report_pipeline_status.py`: show how many rows survive each stage
|
||||
8. `analyze_purchases.py`: write chart-ready analysis CSVs from the purchase table
|
||||
|
||||
Active refactor entrypoints:
|
||||
- `collect_giant_web.py`
|
||||
@@ -87,6 +88,7 @@ python review_products.py
|
||||
python build_purchases.py
|
||||
python review_products.py --refresh-only
|
||||
python report_pipeline_status.py
|
||||
python analyze_purchases.py
|
||||
```
|
||||
|
||||
Why run `build_purchases.py` twice:
|
||||
@@ -121,6 +123,11 @@ Costco:
|
||||
|
||||
Combined:
|
||||
- `data/review/purchases.csv`
|
||||
- `data/review/analysis/item_price_over_time.csv`
|
||||
- `data/review/analysis/spend_by_visit.csv`
|
||||
- `data/review/analysis/items_per_visit.csv`
|
||||
- `data/review/analysis/category_spend_over_time.csv`
|
||||
- `data/review/analysis/retailer_store_breakdown.csv`
|
||||
- `data/review/review_queue.csv`
|
||||
- `data/review/review_resolutions.csv`
|
||||
- `data/review/product_links.csv`
|
||||
|
||||
Reference in New Issue
Block a user