Load raw CSV files using data.table::fread() function

m5_get_raw_evaluation(path)

m5_get_raw_validation(path)

Arguments

path

The directory with the unzipped M5 data files

Value

The function returns a list of five data.tables:

  • sales_train (evaluation/validation)

  • sales_test (evaluation/validation)

  • sell_prices

  • calendar

  • weights (evaluation/validation)

Examples

if (FALSE) {
library(m5)
library(zeallot)

m5_download('data')
c(sales_train,
  sales_test,
  sell_prices,
  calendar,
  ) %<-% m5_get_raw_evaluation('data')
}