Last updated 2 years ago
Was this helpful?
This code snippet is inspired by the :
library(tidyverse) library(fs) library(here) csv_files <- dir_ls(path = here("sessions/many_files/"), glob = "*.csv", type = "file") csv_files data_merged <- read_csv(csv_files, id = "filename", show_col_types = FALSE)