sched_investigators: Get Investigators Scheduled to Work on a Given Date

Description Usage Arguments Value

View source: R/sched_investigators.R

Description

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

Usage

1
2
3
4
5
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


jesse-smith/covidassign documentation built on Aug. 23, 2021, 12:59 a.m.