sched_investigators() parses scheduling files and returns investigators scheduled to work on date.

sched_investigators(
  date = lubridate::today(),
  team_sched = FALSE,
  scheduled_only = TRUE
)

Arguments

date

The date to use when checking whether investigators are scheduled

team_sched

Should the team schedules be used as "ground truth" for team commposition and a backup for scheduling?

scheduled_only

Should only scheduled investigators be returned? If FALSE, all investigators will be returned. Useful for debugging.

Value

A tibble containing team, investigator, and scheduled columns