Learn R Programming

completejourney (version 1.1.1)

get_promotions: Get full Complete Journey promotions data set.

Description

The complete promotions data set for the Complete Journey is too large to be contained within the package. get_promotions() provides an efficient method for downloading the full data set from the source GitHub repository.

Usage

get_promotions(verbose = FALSE)

Value

A data frame with 20,940,529 rows and 5 variables. Returns NULL

if the download fails (e.g., network timeout, GitHub unavailability) with an informative message about the failure.

Arguments

verbose

Logical indicator whether or not to download silently.

See Also

promotions_sample for details regarding the variables.

Examples

Run this code
# \donttest{
# requires internet connection
promotions <- get_promotions()
# }

Run the code above in your browser using DataLab