Import an SDTM or ADaM file or directory of files
import_sdtm.Rd
Import an SDTM or ADaM file or directory of files
Arguments
- path
The path to the directory or file.
- extension_choice
What file extension(s) should be searched for within the directory? (If more than one file with the same extension exists, the first extension in
extension_choice
with a usable file will be used, and a warning will be given for subsequent files.- ignore_case
Passed to
list.files
when loading a directory.- ...
Arguments passed to
rio::import
- ignore_filename
A vector of filenames not to load (case sensitive, filename only excluding directory name)
- return_type
When loading a single file, what type of output should be provided?
Value
If a directory or a vector of files is given in path
, a list
of data.frames; the names of the list will be the uppercase basename of the
file without the extension. If a single file is given in path
, a
data.frame.