Data source record Dataset: Online Retail II Creator: Daqing Chen Publisher: UCI Machine Learning Repository Citation: Chen, D. (2012). Online Retail II [Dataset]. UCI Machine Learning Repository. https://doi.org/10.24432/C5CG6D Description page: https://archive.ics.uci.edu/dataset/502/online+retail+ii Licence: Creative Commons Attribution 4.0 International (CC BY 4.0), as stated on the description page: "This allows for the sharing and adaptation of the datasets for any purpose, provided that the appropriate credit is given." Subject: all transactions of a UK-based, registered, non-store online retailer of all-occasion gift-ware, 2009-12-01 to 2011-12-09; many customers are wholesalers. The retailer is not named. Download URL: https://archive.ics.uci.edu/static/public/502/online+retail+ii.zip File: online_retail_ii.zip, 45,622,418 bytes, SHA-256 572e36277c2390fbfde10664750731e0a86f55e33470d91919085f0408e67bfb Contents: online_retail_II.xlsx (45,622,278 bytes, stored), sheets "Year 2009-2010" (525,461 lines) and "Year 2010-2011" (541,910 lines) Fields: Invoice, StockCode, Description, Quantity, InvoiceDate, Price (GBP), Customer ID, Country Location here: data/downloads/ (not committed, not exported; fetched with "make download", checked with "make verify") Personal data - Customer ID is a pseudonymous number; the source has no names, emails, addresses or payment data. - Every derived file replaces Customer ID with a salted SHA-256 key (retail/clean.py, customer_key). - Product descriptions are not redistributed. Country is used only for a count of countries. Derived files in data/derived/ - cleaning.json: line counts and values by class, the non-product codes, the overlap check, monthly net revenue. - customers-2011-06-01.csv and customers-2010-12-01.csv: one row per active customer at each decision date (key, value tier, trailing revenue, days since purchase, quiet flag, came back, six-month revenue, on the list). - survival-scored.csv: one row per active customer at each later date the fifth part scores (date, key, days since the last order, quiet flag, value tier, days to the next order, whether it was seen, each arm's score).