onlineshop | R Documentation |
Transaction logs of the Junglivet whisky onlineshop containing information about page visits and buys. It can be used to investigate the behaviour in the shop as well to make A/B tests.
data(onlineshop)
A data.frame with 100 rows and 12 variables:
Age of the user at time of visiting the website
Unique identifier for the onlineshop user
Timestamp indicating date of login to onlineshop
Gender of the user
Internal customer type based on phone interviews (1: Standard Customer, 2: Whisky Connoisseur, NA: no phone interview)
External scoring of the financial solvency of the customer from 1 (very bad) to 5 (excellent)
Lifetime of the account of the customers in years after initial registration
Payment method of the customer like 'BNPL' (Buy now, pay later), 'credit card', 'bank transfer' or 'paypal'
Turnover of the current purchase in EUR
Dummy to flag if parts of the purchase was returned within 2 weeks. 1 or TRUE means that it has been send back by the user
Dummy to indicate the type of daily commercial on the landingpage. While 1 or TRUE indicates that the user had a video commercial, 0 or FALSE indicate otherwise like a text prompt or article
Dummy to indicate that the user put the whisky or merchandise from the daily commercial in the shopping basket
data(onlineshop)
library("ggplot2")
ggplot(onlineshop, aes(x=AGE, y=TURNOVER, fill=GENDER)) +
geom_point()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.