I was trying to add an event variable into my tsibble dataset to use in my model:
summarise(optins = n()) %>%
as_tsibble(index = "optin_time") %>%
left_join(learning_labs_tbl, by = c("optin_time" = "event_date"))
Erro: Can't obtain the interval due to the mismatched index class.
How I could add more information to consider in my model in a Tsibble context ?