Learn R Programming

redcapAPI (version 2.10.0)

vectorToApiBodyList: Convert R Vector To List for the API Call Body

Description

Converts an R vector to a list that will be suitable for makeApiCall.

Usage

vectorToApiBodyList(vector, parameter_name)

Arguments

vector

An atomic vector.

parameter_name

character(1). The REDCap API parameter name.

Examples

Run this code
if (FALSE) {
vectorToApiBodyList(1:3, "records")
}

Run the code above in your browser using DataLab