View source: R/otherfunctions.R
read_dir | R Documentation |
Read multiple files in directory
read_dir(directory, name_col = TRUE, fun = readr::read_csv, ...)
directory |
directory |
name_col |
add a column of the name of the file called 'file_name' |
fun |
read function / function to apply to the files in directory |
... |
passed to fun |
a list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.