Assign General Cases to Investigators
assign_general( .data, date = attr(.data, "date"), api_token = Sys.getenv("redcap_NCA_token") )
.data | Data frame of cases to assign, passed from
|
---|---|
date | The date to use when checking whether investigators are scheduled |
api_token | The API token for the Case Assignment REDcap project. The
default pulls this from the environment variable |
The input .data
with general cases assigned via investigator
,
team
, and assign_date
columns