Import all CSV files in a given directory and save them to a list.
import_csvs(
directory = "",
file_pattern = "\.csv$",
recursive = TRUE,
verbose = TRUE
)
Directory to search for files.
File pattern to match.
Whether or not recurse into subdirectories, default TRUE.
If True display additional information during execution.
List with files; filenames are the names of the list elements (with extension removed).
# NOT RUN {
library(ck37r)
files = import_csvs("extdata")
names(files)
# }
Run the code above in your browser using DataLab