Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
I have an Excel file in a managed folder, I can't read my file using :
data <- dkuManagedFolderDownloadPath("dsdsJk", "file")
Even using the different options of as = : "raw", "text", "parsed" I get nothing.
You can read an Excel file from a managed folder using a code like below:
library(dataiku)
library(xlsx)
content <- dkuManagedFolderDownloadPath("hRJwLbQS","xl2.xlsx", as = "raw")
temp_f=tempfile()
writeBin(object=content, con=temp_f)
read.xlsx(temp_f, sheetName="Sheet1")
You can read an Excel file from a managed folder using a code like below:
library(dataiku)
library(xlsx)
content <- dkuManagedFolderDownloadPath("hRJwLbQS","xl2.xlsx", as = "raw")
temp_f=tempfile()
writeBin(object=content, con=temp_f)
read.xlsx(temp_f, sheetName="Sheet1")
Thank you, everything is working as I expect