onlineshop: Dataset with a transaction log sample from the Junglivet...

onlineshopR Documentation

Dataset with a transaction log sample from the Junglivet onlineshop

Description

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.

Usage

data(onlineshop)

Format

A data.frame with 100 rows and 12 variables:

DATE

Age of the user at time of visiting the website

USER_ID

Unique identifier for the onlineshop user

AGE

Timestamp indicating date of login to onlineshop

GENDER

Gender of the user

TYPE

Internal customer type based on phone interviews (1: Standard Customer, 2: Whisky Connoisseur, NA: no phone interview)

CREDIT_SCORE

External scoring of the financial solvency of the customer from 1 (very bad) to 5 (excellent)

LIFETIME

Lifetime of the account of the customers in years after initial registration

PAYMENT_METHOD

Payment method of the customer like 'BNPL' (Buy now, pay later), 'credit card', 'bank transfer' or 'paypal'

TURNOVER

Turnover of the current purchase in EUR

SENDBACK

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

VIDEO_AD

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

CONVERTED

Dummy to indicate that the user put the whisky or merchandise from the daily commercial in the shopping basket

Examples

data(onlineshop)

library("ggplot2")
ggplot(onlineshop, aes(x=AGE, y=TURNOVER, fill=GENDER)) +
geom_point()


dominikjung42/dstools documentation built on June 16, 2024, 2:40 a.m.