Discover the winners & finalists of the 2022 Dataiku Frontrunner Awards!READ THEIR USE CASES

merging all csv files in folder together via a r recipe

m_schneids
Level 1
merging all csv files in folder together via a r recipe

Hi All- 

I have a folder that stores historical information as well as current information. The current information is out into the folder via a r script. 

I want to take all of the files in the folder (they are all csv) and row bind them together via a r recipe. Is this possible to do? Since the amount of csv files in the folder grows, I want to combine them together without calling specific file names if possible. Ideally, there would be some sort of function that grabs all of the files in the folder and r binds together. 

Thanks. 

Matt 

0 Kudos
1 Reply
Turribeach
Level 6

Relatevely easy to do in Python, plenty of sample code around. That's the beauty of Dataiku, you can combine visual and code recipes, doesn't really matter what languages you use. 

0 Kudos