Convert R Vector To List for the API Call Body
Converts an R vector to a list that will be suitable for makeApiCall
.
vectorToApiBodyList(vector, parameter_name)
vector
: An atomic
vector.parameter_name
: character(1)
. The REDCap API parameter name.## Not run: vectorToApiBodyList(1:3, "records") ## End(Not run)