I am trying to write a dataframe into CSV using R in Dataiku Managed Folder.
What I have tried:
(From Documentation - https://doc.dataiku.com/dss/latest/connecting/managed_folders.html#usage-in-r)
data must be a connection providing the data to upload
dkuManagedFolderUploadPath("folder_name", "path_in_folder", data)
It says that Data must be a connection. How can I create a connection?
I tried below method but it is creating a binary file and not csv.
save(df, file="sample.csv")
connection <- file("sample.csv","rb")