Submit your innovative use case or inspiring success story to the 2023 Dataiku Frontrunner Awards! LET'S GO

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