promotions_sample {completejourney}R Documentation

Sampling of the full promotions data set.

Description

A sampling of the promotions data from the Complete Journey study signifying whether a given product was featured in the weekly mailer or was part of an in-store display (other than regular product placement).

Usage

promotions_sample

Format

A data frame with 360,535 rows and 5 variables

Value

promotions_sample

a tibble

Display Location Codes

Mailer Location Codes

Source

84.51°, Customer Journey study, http://www.8451.com/area51/

See Also

Use get_promotions to download the entire promotions data containing all 20,940,529 rows.

Examples


# sampled promotions data set
promotions_sample

# Join promotions to transactions to analyze
# product promotion/location
require("dplyr")
transactions_sample %>%
  left_join(promotions_sample,
            c("product_id", "store_id", "week"))


[Package completejourney version 1.1.0 Index]