sched_calc() takes the output of sched_add_nights_weekends() and calcuates whether investigators are scheduled to work on date. Either a predefined schedule or a custom schedule must be supplied for every investigator.

sched_calc(.data, date = Sys.Date())

Arguments

.data

The output of join_nights_weekends()

date

The date to use when checking whether investigators are scheduled

Value

A tibble with columns team, member, and scheduled

See also