to_json_redcap() uses toJSON() to convert
a data frame to a JSON object for import into REDcap. It checks that the
size of the resultin object does not exceed size_limit, which (by default)
is 90% of the maximum allowed upload size in the Shelby County REDcap.
to_json_redcap(.data, size_limit = as.integer(0.9 * 3.2e+07), ...)
| .data | A data frame or data frame extension |
|---|---|
| size_limit | The maximum allowed size of the resulting JSON object |
| ... | Additional arguments to pass to
|
A json character object