DEV Community

karate
karate

Posted on

Rbind the files with filenames/patterns included in a column of a source file using R

I am trying to rbind thousands of files which are found in a column of a source file. The filenames of the files that I need to rbind are as follows:
_1.csv, __1.csv,___1.csv, _2.csv., 3.csv, _3.csv etc.

The source file is this:

enter image description here

Since the filename contains "1", the city where…

Top comments (1)

Collapse
 
karate profile image
karate • Edited

Hi sir, anyone who could help me with this? i am using Rstudio. Thank you so much in advance -.-