How would I go about using write.Alteryx to output 2 columns in the same branch?
Or if that is not possible, what is a good method to get the file data to pass to the output.
Thank You
Code Sample:
metainfo <- read.AlteryxMetaInfo("#1")
data <- read.Alteryx("#1", mode="data.frame")
fileinfo <- file.path(data$FullPath)
fileinfostr <- toString(fileinfo, width = 255)
txt <- pdftools::pdf_text(file.path(data$FullPath))
df_txt <- data.frame(txt)
df_metainfo <- data.frame(metainfo)
df_fileinfo <- data.frame(fileinfo)
#Would like the file name or file path
#to be included in output one - preferably as a separate column
write.Alteryx(df_txt,1,source=fileinfostr)
write.Alteryx(df_metainfo,2)
write.Alteryx(df_fileinfo,3)