feat: redcap_read Function
Created by: williamschmitt21
A function, redcap_read
was created to mimic the REDCapR::redcap_read()
function.
This function introduces one new import (RCurl), and contains the minimum arguments to reproduce the REDCapR function for current use cases:
-
redcap_uri
: The URI of the REDCap project. -
token
: The API token to authenticate the request. -
raw_or_label
: The format of the field values (raw, coded values or the labels). -
batch_size
: The size to use for reading in record batches.
Future development can focus on expanding the utility of this function to replicate greater functionality of the REDCapR function and introducing new functionality for CAM's specific use cases.