# Demo with `dv_data`
flag_outlooktime(dv_data)
# Example where Outlook Start and End times are imputed
spq_df <- sq_data
spq_df$WorkingStartTimeSetInOutlook <- "6:30"
spq_df$WorkingEndTimeSetInOutlook <- "23:30"
# Return a message
flag_outlooktime(spq_df, threshold = c(5, 13))
# Return data
flag_outlooktime(spq_df, threshold = c(5, 13), return = "data")
Run the code above in your browser using DataLab