Download answer_key/kpis/ad_spend.sql from misatadata/pepperwind: direct link, hf CLI and curl.
- Browser
- Download file 292 Bytes
-
https://huggingface.co/datasets/misatadata/pepperwind/resolve/main/answer_key/kpis/ad_spend.sql
- Command line
-
hf download hf://datasets/misatadata/pepperwind/answer_key/kpis/ad_spend.sql
-
curl -L -o ad_spend.sql https://huggingface.co/datasets/misatadata/pepperwind/resolve/main/answer_key/kpis/ad_spend.sql
292 Bytes
| -- Paid media spend, by currency | |
| -- Platform-reported cost by day, added up by month. | |
| SELECT strftime(date, '%Y-%m') AS month, currency AS grp, sum(cost) AS value FROM marketing.ad_spend_daily WHERE date >= TIMESTAMP '2023-10-01' AND date < TIMESTAMP '2026-10-01' GROUP BY 1, 2 ORDER BY 1, 2 | |