tiny_m5.Rd
A piece of data cut from the training dataset used in the M5 challenges on Kaggle. M5 is a challenge from a series organized by Spyros Makridakis.
tiny_m5
The id of the product
The id of the department the product belongs to
The id of the category the product belongs to
The id of the store where the product is sold
The State where the store is located
The number of sold units
The date in a “y-m-d” format
The id of the week the date belongs to
The type of the day (Saturday, Sunday, …, Friday)
The id of the weekday, starting from Saturday
The month of the date
The year of the date
If the date includes an event, the name of this event
If the date includes an event, the type of this event
If the date includes a second event, the name of this event
If the date includes a second event, the type of this event
A binary variable (0 or 1) indicating whether the stores of CA, TX or WI allow SNAP1 purchases on the examined date. 1 indicates that SNAP purchases are allowed
The price of the product for the given week/store. The price is provided per week (average across seven days). If not available, this means that the product was not sold during the examined week. Note that although prices are constant at weekly basis, they may change through time (both training and test set)
# Head of tiny_m5
head(tiny_m5)
#> item_id dept_id cat_id store_id state_id value date wm_yr_wk
#> 1: HOBBIES_1_330 HOBBIES_1 HOBBIES CA_1 CA 0 2011-01-29 11101
#> 2: HOBBIES_1_330 HOBBIES_1 HOBBIES CA_1 CA 0 2011-01-30 11101
#> 3: HOBBIES_1_330 HOBBIES_1 HOBBIES CA_1 CA 0 2011-01-31 11101
#> 4: HOBBIES_1_330 HOBBIES_1 HOBBIES CA_1 CA 0 2011-02-01 11101
#> 5: HOBBIES_1_330 HOBBIES_1 HOBBIES CA_1 CA 2 2011-02-02 11101
#> 6: HOBBIES_1_330 HOBBIES_1 HOBBIES CA_1 CA 4 2011-02-03 11101
#> weekday wday month year event_name_1 event_type_1 event_name_2
#> 1: Saturday 1 1 2011
#> 2: Sunday 2 1 2011
#> 3: Monday 3 1 2011
#> 4: Tuesday 4 2 2011
#> 5: Wednesday 5 2 2011
#> 6: Thursday 6 2 2011
#> event_type_2 snap sell_price
#> 1: 0 7.44
#> 2: 0 7.44
#> 3: 0 7.44
#> 4: 1 7.44
#> 5: 1 7.44
#> 6: 1 7.44