secuTrialdata {secuTrialR} | R Documentation |
This function loads a secuTrial export
Description
This function will always load the full set of meta and data tables. The export options are also loaded and written into export_options.
Usage
read_secuTrial_raw(data_dir, ...)
## S3 method for class 'secuTrialdata'
print(x, ...)
Arguments
data_dir |
string The data_dir specifies the path to the secuTrial data export. |
... |
further parameters |
x |
secuTrialdata object as returned by |
Value
secuTrialdata
object containing a list of
export options and data.frames with all the data loaded from
the secuTrial export.
The list will contain at least the metadata data.frames and
export_options list.
data.frame with a row for each table in the export. For each table it contains the name, number of rows and columns, an indicator for whether the table is a metadata table and the files original name.
Examples
# prepare path to example export
export_location <- system.file("extdata", "sT_exports", "BMD",
"s_export_CSV-xls_BMD_short_en_utf8.zip",
package = "secuTrialR")
# read all export data
sT_export <- read_secuTrial_raw(data_dir = export_location)
# Print method
print(sT_export)
# or
sT_export
[Package secuTrialR version 1.3.3 Index]