download_redcap_records: Download Cases from Case Assignment REDcap Project

Description Usage Arguments Value TODO

Description

download_nit_records() and download_nca_records() download records from the Interview Tool and Case Assignment REDcap projects.

Usage

1
2
3
download_nca_records(api_token = Sys.getenv("redcap_NCA_token"), fields = NULL)

download_nit_records(api_token = Sys.getenv("redcap_NIT_token"), fields = NULL)

Arguments

api_token

The API token for the Case Assignment REDcap project

fields

character. The fields to download from the project. By default, all fields are downloaded.

Value

A tibble with all variables in character format

TODO

  1. Check six column in NCA to see if exclusion is necessary

  2. Create unit tests


jesse-smith/covidassign documentation built on Aug. 23, 2021, 12:59 a.m.