I'm working with time series data and I'm curious what does week2
, week3
and week4
refer to when using tk_augment_timeseries_signature
I'm working with the weekly data (walmart_sales_weekly
) from the timetk
package:
data_tbl <- timetk::walmart_sales_weekly %>%
select(id, Date, Weekly_Sales) %>%
mutate(id = as.factor(id)) %>%
set_names(c("id", "date", "value")) %>%
filter(id == "1_95") %>%
mutate(value = log1p(x = value)) %>%
mutate(value = standardize_vec(value)) %>%
tk_augment_timeseries_signature(.date_var = date) %>%
select(-diff, -matches("(.xts$)|(.iso$)|(hour)|(minute)|(second)|(am.pm)|(wday)|(day)|(mweek)"))
The help documentation i.e. ?tk_augment_timeseries_signature
makes no reference to these features