Closes #9. User can specify primary table label

Incremented to v0.1.0
This commit is contained in:
Paul W. Egeler, M.S., GStat 2019-07-01 16:54:29 -04:00
commit 76420b527c
5 changed files with 118 additions and 87 deletions

View file

@ -4,7 +4,7 @@
\alias{REDCap_split}
\title{Split REDCap repeating instruments table into multiple tables}
\usage{
REDCap_split(records, metadata)
REDCap_split(records, metadata, primary_table_label = "")
}
\arguments{
\item{records}{Exported project records. May be a \code{data.frame},
@ -14,6 +14,9 @@ call.}
\item{metadata}{Project metadata (the data dictionary). May be a
\code{data.frame}, \code{response}, or \code{character} vector containing
JSON from an API call.}
\item{primary_table_label}{Name of the label given to the list element for
the primary output table (as described in *README.md*).}
}
\value{
A list of \code{"data.frame"}s: one base table and zero or more