basket_db_funmart: Grocery basket database (144,159 line items)

basket_db_funmartR Documentation

Grocery basket database (144,159 line items)

Description

A dataset containing basket id, order id, products purchased in each basket and price of products. There were 200 products, with different probabilities for each, to select from in the fake grocery store, 'funmart'. Over 140,000 products were bought in all baskets combined. The customer ids were sampled from the order_db_funmart table (not customer_db_funmart) to ensure that only customers that actually placed an order appear in the basket_db_funmart table.

Usage

data(basket_db_funmart)

Format

A data frame with 144,159 rows and 4 variables:

basket_id

unique basket id

order_id

order id foreign key related to order_db_funmart

product

product name

price

product price

Details

The product names and prices were collected from https://www.ocado.com and https://www.elgrocer.com.


moamiristat/grocerycart documentation built on June 15, 2022, 10 a.m.