Hello! Nice to meet everyone, I'm a refresher for R.
Recently I've got multiple csv files in a folder, and I want to analyze them in Rstudio.
The number of files are over 30+, so I hope to import them efficiently, rather than using read_csv() to load
them one by one.
What is the most recommended way to import multiple csv files?
I've think of 2 solutions right now, but I'm not sure if it's smart way:
-
Upload the zip file containing all csv files, and unzip the folder(But I'm currently stuck in the unzip step, encounter some error)
-
List all csv files in the folder in R, and use read_csv() to read all of them in a for loop.
Please give me some advice, thank you!