read_tm_all_xpt {EDCimport} | R Documentation |
Read all .xpt
files in a directory
Description
Read all .xpt
files in a directory (unzipped TrialMaster archive).
If 7zip
is installed, you should probably rather use read_trialmaster()
instead.
If a procformat.sas
file exists in the directory, formats will be applied.
Usage
read_tm_all_xpt(
directory,
...,
format_file = "procformat.sas",
clean_names_fun = NULL,
split_mixed = FALSE,
extend_lookup = TRUE,
datetime_extraction = NULL,
verbose = getOption("edc_read_verbose", 1),
key_columns = "deprecated"
)
Arguments
directory |
[ |
... |
unused |
format_file |
[ |
clean_names_fun |
[ |
split_mixed |
[ |
extend_lookup |
[ |
datetime_extraction |
[ |
verbose |
[ |
key_columns |
deprecated |
Value
a list containing one dataframe for each .xpt
file in the folder, the extraction date (datetime_extraction
), and a summary of all imported tables (.lookup
). If not set yet, option edc_lookup
is automatically set to .lookup
.