Forecasting, Time Series Analysis, Fourier Transform, R, Ml So Good.
select(RecordType, newdate, n)%>% as_tsibble(key = RecordType, index = newdate) %>% fill_gaps(n = 0, .full = end())%>% as_tibble()%>% arrange(RecordType, newdate) > str(TC_df) tibble [25,503 x 3] (S3: tbl_df/tbl/data.frame) $ RecordType: chr [1:25503] "Chat call" "Chat call" "Chat call" "Chat call"