Turned routines to preprocess user inputs into S3 methods.

Still needs to be tested.
This commit is contained in:
pegeler 2018-06-22 22:24:34 -04:00
commit 1053329a62
5 changed files with 70 additions and 50 deletions

View file

@ -7,12 +7,13 @@
REDCap_split(records, metadata)
}
\arguments{
\item{records}{Exported project records. May be a \code{data.frame} or
\code{character} vector containing JSON from an API call.}
\item{records}{Exported project records. May be a \code{data.frame},
\code{response}, or \code{character} vector containing JSON from an API
call.}
\item{metadata}{Project metadata (the data dictionary). May be a
\code{data.frame} or \code{character} vector containing JSON from an API
call.}
\code{data.frame}, \code{response}, or \code{character} vector containing
JSON from an API call.}
}
\value{
A list of \code{"data.frame"}s: one base table and zero or more