# NOT RUN {
d <- tempdir()
download_studentlife(location = d, url = "testdata")
tab <- load_SL_tibble(
loc = d, schema = "sensing", table = "activity", csv_nrows = 10)
r_tab <- regularise_time(
tab, blocks = c("day","weekday"),
act_inf = max(activity_inference), add_NAs = FALSE)
r_tab
# }
Run the code above in your browser using DataLab