EDCimport is a package designed to easily import data from EDC software TrialMaster and Macro. Browse code at https://github.com/DanChaltiel/EDCimport.
- Reading errors are now handled by
read_trialmaster()
instead of failing. If one XPT file is corrupted, the resulting object will contain the error message instead of the dataset.
-
find_keyword()
is now robust to non-UTF8 characters in labels. -
Option
edc_lookup
is now set even when reading from cache. -
SAS formats containing a
=
now work as intended.
-
Import your data from TrialMaster using
tm = read_trialmaster("path/to/archive.zip")
. -
Search for a keyword in any column name or label using
find_keyword("date", data=tm$.lookup)
. You can also generate a lookup table for an arbitrary list of dataframe usingget_lookup(my_data)
. -
Load the datasets to the global environment using
load_list(tm)
to avoid typingtm$
everywhere. -
Browse available global options using
?EDCimport_options
.
- Draft version