upload_assignments() uploads assigned cases to the Case Assignment REDcap project, with Investigator and Date of Assignment fields filled.

upload_assignments(
  .data,
  api_token = Sys.getenv("redcap_NCA_token"),
  size_limit = as.integer(0.9 * 3.2e+07)
)

Arguments

.data

Assigned cases data

api_token

API token for REDcap project

size_limit

Size limit of REDcap upload, in bytes

Value

An httr Response w/ content indicating the number of uploaded records