vectorToApiBodyList function

Convert R Vector To List for the API Call Body

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)

Arguments

  • vector: An atomic vector.
  • parameter_name: character(1). The REDCap API parameter name.

Examples

## Not run: vectorToApiBodyList(1:3, "records") ## End(Not run)
  • Maintainer: Shawn Garbett
  • License: GPL-2
  • Last published: 2024-10-17