Skip to contents

Internal Helper function to get column indicies for referrals, removals, and withdrawals

Usage

calc_index(waiting_list, colname = NULL, type = NULL)

Arguments

waiting_list

a dataframe containing the waitinglist

colname

string giving the column name

type

if colname, write referral, withdrawal, removal to guess the index

Value

index