staff_on_duty: Who's on duty now?

Description Usage Arguments Value

View source: R/schedule.R

Description

Who's on duty now?

Usage

1
staff_on_duty(staffing, shifts)

Arguments

staffing

Staff schedule (ungrouped)

shifts

What shifts are we interested in (not times)

Value

A nested dataframe, sorted by shift with two cols: 'shift', 'staff'. Each row of 'staff' contains a char vector of the staff on duty then. If no staff are on duty, staff is 'list(NA)'.


nibrivia/helpq documentation built on May 25, 2019, 10:38 p.m.