Reads files from a vector of files and/or folders into a list of dataframes.
Arguments
- input
a character vector of valid paths: can be files and/or folders
- except
files to ignore (optional): all paths for (a part of) which match the exact expression in
except
will be ignored.- basepath
the part of the path that should be ignored when copying final files (i.e. absolute path inside one's comupter that should not be copied in final file.)
- verbose
Should messages be displayed when reading a folder/file?
- logger
a
log4r
logger
object if you want logging (can be created withcreate_logger
), elseNA
.
Value
A named list of dataframes. Each element of the list is a dataframe with
the contents of a file read from the files list given in input.
The names of the list are the file names from the root of input:
If the element from input
is a file, it is a filename.
If the element from input
is a folder, it is the relative path
from basepath
to the file.