6 createPlot <- function(x){
8 mutate(time = gsub("\\[|\\]", "", time),
10 datehour = floor_date(time, unit = "hour")
12 filter(time > ymd_h("2018-08-22 12")) %>%
13 group_by(datehour) %>%
14 summarise(hits = n()) ->
17 apachelog_tsbl <- as.tsibble(apachelog_tidy, index = datehour)
22 ggtitle("Forecasting website hits using apache log only") +