read_trialmaster {EDCimport} | R Documentation |
Read the .zip
archive of a TrialMaster export
Description
Import the .zip
archive of a TrialMaster trial export as a list of dataframes. The archive filename should be leaved untouched as it contains the project name and the date of extraction.
Generate a .rds
cache file for future reads.
If 7zip
is not installed or available, use read_tm_all_xpt()
instead.
Usage
read_trialmaster(
archive,
...,
use_cache = "write",
clean_names_fun = NULL,
split_mixed = FALSE,
extend_lookup = TRUE,
pw = getOption("trialmaster_pw"),
verbose = getOption("edc_read_verbose", 1),
key_columns = "deprecated"
)
Arguments
archive |
[ |
... |
unused |
use_cache |
[ |
clean_names_fun |
[ |
split_mixed |
[ |
extend_lookup |
[ |
pw |
[ |
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
.