download_redcap_investigators() downloads all investigators available for assignment in the Case Assignment REDcap project, as well as the id assigned to each investigator in REDcap.

download_redcap_investigators(api_token = Sys.getenv("redcap_NCA_token"))

Arguments

api_token

The API token for the Case Assignment REDcap project. The default pulls this from the environment variable redcap_CA_token.

Value

A tibble with one row for each investigator and columns for id and investigator (name)