Challenge Summary

This is a short challenge to begin applying what you are learning to the problem at hand. You will go through a series of questions related to the course project goals:

  1. Coming up with a new product idea, and

  2. Segmenting the customer-base

Objectives

  1. Apply lubridate and stringr functions to answer questions related to the course projects.

  2. Gain exposure to rmarkdown.

Data

To read the data, make sure that the paths point to the appropriate data sets. Saving the file in the “challenges folder” should enable the paths to be detected correctly.

## Rows: 15,644
## Columns: 13
## $ order_date     <dttm> 2011-01-07, 2011-01-07, 2011-01-10, 2011-01-10, 2011-…
## $ order_id       <dbl> 1, 1, 2, 2, 3, 3, 3, 3, 3, 4, 5, 5, 5, 5, 6, 6, 6, 6, …
## $ order_line     <dbl> 1, 2, 1, 2, 1, 2, 3, 4, 5, 1, 1, 2, 3, 4, 1, 2, 3, 4, …
## $ quantity       <dbl> 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, …
## $ price          <dbl> 6070, 5970, 2770, 5970, 10660, 3200, 12790, 5330, 1570…
## $ total_price    <dbl> 6070, 5970, 2770, 5970, 10660, 3200, 12790, 5330, 1570…
## $ model          <chr> "Jekyll Carbon 2", "Trigger Carbon 2", "Beast of the E…
## $ category_1     <chr> "Mountain", "Mountain", "Mountain", "Mountain", "Road"…
## $ category_2     <chr> "Over Mountain", "Over Mountain", "Trail", "Over Mount…
## $ frame_material <chr> "Carbon", "Carbon", "Aluminum", "Carbon", "Carbon", "C…
## $ bikeshop_name  <chr> "Ithaca Mountain Climbers", "Ithaca Mountain Climbers"…
## $ city           <chr> "Ithaca", "Ithaca", "Kansas City", "Kansas City", "Lou…
## $ state          <chr> "NY", "NY", "KS", "KS", "KY", "KY", "KY", "KY", "KY", …

Questions

lubridate: Which month has the highest bike sales? (Difficulty = Medium)

What does this tell us about a time of year to focus marketing efforts?

stringr: What is the median orderline sales value by Bike Attribute? (Difficulty = Medium)

Evaluate “Black Inc”. What does this tell us about the “Black Inc” feature?

Evaluate “Ultegra”. What does this tell us about the “Ultegra” feature?

Evaluate “Disc” option. What does this tell us about the “Disc” feature?

stringr: What are the average, min, and max prices by Base Model? (Difficulty = High)

What does this tell us about how bikes are priced?

## `summarise()` has grouped output by 'category_1', 'category_2'. You can override using the `.groups` argument.