amazon | R Documentation |
dataset of Amazon purchases, merged with a survey of the purchasers. I picked a random subset of 2,000 purchasers for this dataset. The variables are as follows:
data(amazon)
A (tibble) data frame with 300,000 rows and 17 variables.
order_date. Date of purchase.
price_per_unit. Price per unit.
quantity. Quantity purchased.
shipping_address_state. Shipping address state.
category. Category of purchase.
age. Age of purchaser.
hispanic. Is purchaser Hispanic?
race. Race of purchaser.
education. Highest level of educational attainment for purchaser.
income. Income of purchaser.
gender. Gender of purchaser.
hh_size. Household size.
marijuana. Does the purchaser use marijuana?
alcohol. Does the purchaser drink alcohol?
id. Unique identifier for each purchaser.
Berke, A., Calacci, D., Mahari, R. et al. Open e-commerce 1.0, five years of crowdsourced U.S. Amazon purchase histories with user demographics. Sci Data 11, 491 (2024). https://doi.org/10.1038/s41597-024-03329-6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.