parse_preferences: Parse Preferences

Description Usage Arguments

View source: R/solve.R

Description

Parse Preferences

Usage

1
2
3
4
5
6
7
parse_preferences(
  selections = NA_character_,
  requirement = NA_character_,
  fellows = c("matt", "muska", "zainab", "dermot", "ed", "justin", "paul"),
  nhs = c(0, 0, 0, 1, 1, 0, 1),
  month = 1
)

Arguments

selections

character vector of the file path to the selection file

fellows

a character vector containing the names of the fellows

nhs

integer vector in the same order as "fellows" indicating if certain fellows should be prioritised

month

an integer vector of length 1 detailing the month of interest

requirements

character vector of the file path to the requirements file


DocEd/optimal.rota documentation built on Sept. 27, 2021, 1:07 p.m.