Binds all the data frames in files by rows (and removes them)
ps_bind_files(
dir = ".",
pattern = "[.]csv$",
recursive = FALSE,
add_name = NULL,
read = readr::read_csv,
...
)
A string of the directory.
A string of the regular expression to use to identify files.
A flag indicating whether to include files in subdirectories.
A string specifying the name of the column to add to each data frame with the file names (including subdirectories).
A function to read the files.
Additional arguments passed to read
.
The bound data frames as tbl data frame.