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

View source: R/vectorToApiBodyList.R

vectorToApiBodyListR 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)


redcapAPI documentation built on Sept. 13, 2023, 1:07 a.m.