参考链接
https://statisticsglobe.com/merge-csv-files-in-r
代码
library(dplyr)
rsall<-list.files(path = "clean_data/",
pattern = "*.csv",
full.names = T)
rsall
rsall%>%
lapply(read.csv)%>%
bind_rows -> df
dim(df)
head(df)
tail(df)
image.png
欢迎大家关注我的公众号
小明的数据分析笔记本