verticals | R Documentation |
verticals dataset
verticals
A data frame with 21 observations and 4 variables.
character an certain sales vertical
numeric a size of sale
integer counts size
character Date
random data - aggregate sales across e-commerce verticals
set.seed(1234)
agg_old <- data.frame(
vertical = c(
"Electronics", "Kids1", "Kids2", "Automotive", "Books",
"Clothes", "Home", "Fashion", "Health", "Sport"
),
sales = rnorm(10, 100, 10),
counts = rgeom(10, 0.0001),
v_date = rep("2020-04-01", 10), stringsAsFactors = FALSE
)
agg_new <- data.frame(
vertical = c(
"Electronics", "Supermarket", "Kids", "Automotive1",
"Automotive2", "Books", "Clothes", "Home", "Fashion", "Health", "Sport"
),
sales = rnorm(11, 100, 10),
counts = rgeom(11, 0.0001),
v_date = rep("2020-05-01", 11), stringsAsFactors = FALSE
)
verticals <- rbind(agg_old, agg_new)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.