View source: R/merge_files_from_dir.R
merge_files_from_dir | R Documentation |
crawls the supplied 'dir_path' and searches for files matching 'regex_exp'. It then reads in those files and merges the data into one data frame via appending. Hence, files must have the same data format (number and identity of columns).
merge_files_from_dir(
regex_exp,
dir_path = NULL,
debug = "no",
include_file_information = FALSE,
...
)
regex_exp |
A regular expression. Only file names which match the regular expression will be returned. |
dir_path |
a character vector of full path names;
the default corresponds to the working directory, |
debug |
debug options. Must be one of "no", "return.names", or "print.bad.files". Defaults to "no". |
include_file_information |
whether to include some path information to the returned data set. |
... |
additional arguments that will be supplied to the underlying
|
merged dataset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.