test_that("imputed time", {
d_imputed <- zoo_trip %>%
dplyr::mutate(ID = 'test') %>%
impute_time("Date_Time", fill_cols = 'ID')
imputed <- nrow(d_imputed)
n_id <- as.numeric(table(d_imputed$ID))
expect_equal(imputed, 10408)
expect_equal(n_id, 10408)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.