adjusted docs

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-11-28 14:30:53 +01:00
parent 053c4447ad
commit ea26d18c43
No known key found for this signature in database

View File

@ -11,11 +11,10 @@
#' \code{data.frame}, \code{response}, or \code{character} vector containing #' \code{data.frame}, \code{response}, or \code{character} vector containing
#' JSON from an API call. #' JSON from an API call.
#' @param primary_table_name Name given to the list element for the primary #' @param primary_table_name Name given to the list element for the primary
#' output table (as described in \emph{README.md}). Ignored if #' output table. Ignored if \code{forms = 'all'}.
#' \code{forms = 'all'}.
#' @param forms Indicate whether to create separate tables for repeating #' @param forms Indicate whether to create separate tables for repeating
#' instruments only or for all forms. #' instruments only or for all forms.
#' @author Paul W. Egeler, M.S., GStat #' @author Paul W. Egeler
#' @examples #' @examples
#' \dontrun{ #' \dontrun{
#' # Using an API call ------------------------------------------------------- #' # Using an API call -------------------------------------------------------
@ -40,7 +39,7 @@
#' ) #' )
#' #'
#' # Convert exported JSON strings into a list of data.frames #' # Convert exported JSON strings into a list of data.frames
#' REDCapRITS::REDCap_split(records, metadata) #' REDCapCAST::REDCap_split(records, metadata)
#' #'
#' # Using a raw data export ------------------------------------------------- #' # Using a raw data export -------------------------------------------------
#' #'
@ -53,7 +52,7 @@
#' ) #' )
#' #'
#' # Split the tables #' # Split the tables
#' REDCapRITS::REDCap_split(records, metadata) #' REDCapCAST::REDCap_split(records, metadata)
#' #'
#' # In conjunction with the R export script --------------------------------- #' # In conjunction with the R export script ---------------------------------
#' #'
@ -70,7 +69,7 @@
#' metadata <- read.csv("ExampleProject_DataDictionary_2018-06-03.csv") #' metadata <- read.csv("ExampleProject_DataDictionary_2018-06-03.csv")
#' #'
#' # Split the tables #' # Split the tables
#' REDCapRITS::REDCap_split(data, metadata) #' REDCapCAST::REDCap_split(data, metadata)
#' setwd(old) #' setwd(old)
#' } #' }
#' @return A list of \code{"data.frame"}s. The number of tables will differ #' @return A list of \code{"data.frame"}s. The number of tables will differ