Scans a directory for files matching a pattern or format, reads each one,
and row-binds them into a single tidylearn_data object with a
source_file column identifying the origin of each row.
Arguments
- path
Path to a directory.
- pattern
Optional regex pattern to filter file names (e.g.,
"sales_.*\\.csv$"). IfNULL, files are filtered byformatinstead.- format
File format to read. If
NULLandpatternisNULL, all recognized data files are read. If specified, only files with matching extensions are read.- recursive
Logical. Should subdirectories be scanned? Default is
FALSE.- .quiet
Suppress messages. Default is
FALSE.- ...
Additional arguments passed to the format-specific reader.
