View source: R/read_files_into_df.R
read_files_into_df | R Documentation |
data.frame
Read files from a directory and bind them into a single data.frame
read_files_into_df(
file_directory,
file_pattern = rebus::or("*.csv", "*.xlsx", "*.xls"),
files_recursive = FALSE,
clean_names = FALSE,
...
)
file_directory |
Path to the directory containing files of interest |
file_pattern |
File pattern or regular expression to match the file names on. Supported file types are csv, xlsx, and xls |
files_recursive |
Boolean. Search for files recursively in the current directory or not. Default is FALSE |
clean_names |
Boolean. Use |
... |
Arbitrary args passed to |
A data.frame
containing rows from the files in the directory.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.