read_dir | R Documentation |
read functions
.Reads all files in a specific directory into your environment and binds them into a data.frame.
read_dir(dir = NULL, pattern = NULL, type = c("xlsx"))
dir |
Path to the directory of files |
pattern |
Specify a word or name to read only files with this specific word in the filename and in the directory |
type |
Choose filetype (e.g. xlsx) that should be read |
A data.frame consisting of all related files
## Not run: data_all <- read_dir(dir = C:/users/Username/data, type = "xlsx")
## Not run: data_all <- read_dir(dir = C:/logs, pattern = "logs", type = "xlsx")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.