as.character.response {redcapAPI} | R Documentation |
S3 method to turn curl response into character
Description
Converts a raw curl response into a character string.
Usage
## S3 method for class 'response'
as.character(x, ...)
Arguments
x |
response from curl to render to character |
... |
If type='text/csv' this is passed to read.csv. If type='application/json' this is sent to jsonlite::fromJSON |
[Package redcapAPI version 2.11.0 Index]