# Data Dictionary

## customer.csv

| Field | Description |
|---|---|
| `Customer_ID` | Workshop-only pseudonymous customer ID (`STU-####`). Use to join the transaction data. |
| `Age` | Customer age. |
| `Gender` | Gender category supplied in the source training data. |
| `Location` | Location supplied in the source training data. |

## transactions.csv

| Field | Description |
|---|---|
| `Transaction_ID` | Source transaction identifier. |
| `Date_of_Purchase` | Text date in `DD-MM-YYYY` format. Convert with `to_date("Date_of_Purchase", 'DD-MM-YYYY')` before date analysis. |
| `Customer_ID` | Workshop-only pseudonymous customer ID. Joins to `customer.csv`. |
| `Product_Category` | Product category. |
| `Product_Name` | Product name. |
| `Units` | Units purchased. |
| `Price` | Unit price. |
| `Discounts` | Discount amount. |
| `Returned` | Return indicator. |
| `Mode_of_Payment` | Payment method. |
| `Purchase_Channel` | Purchase channel. |

## Safe-use rules
- Do not add personal details or attempt to re-identify people.
- In the agent output and dashboard, use counts, groupings, and aggregates only.
- Do not make the data writable from any student-facing application.
