I have many of csv files that want to merged them and when merged them to I get this error Error: Can't combine `date` <date> and `date` <character>.
how can fix it?
path <- "myPath"
merged_df <- list.files(path = path,
pattern = "\\.csv$",
full.names = TRUE) %>%
set_names() %>%
map_dfr(read_csv, .id = "file_name") %>%
mutate(file_name=basename(file_name))