vectorToApiBodyList {redcapAPI}R Documentation

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

## Not run: 
vectorToApiBodyList(1:3, "records")

## End(Not run)


[Package redcapAPI version 2.9.0 Index]