Hi community,
I am having trouble below with an error in read.Alteryx, after following the instructions below the photo for converting PDF to Excel. Any tips? Thank you in advance!

install.packages("Rcpp", dependencies = TRUE, repos = "http://cran.us.r-project.org")
install.packages("pdftools", dependencies = TRUE, repos = "http://cran.us.r-project.org")
Note: The Rcpp package is a dependency and is not necessary but I use it to prevent issues that occur with other R GUI's.
Now define your data input (The FilePath to your pdf found using the directory tool)
data <- read.Alteryx("#1", mode="data.frame")
Finally change the format of your data:
1 2 3 4 5 $ 6 7
write.Alteryx(pdftools::pdf_text(file.path(data$FullPath)), 1)
Breakdown of the code:
1 & 7 = Alteryx specific R code that defines the output
2 = calls the package we will be using
3 = the command that will convert the pdf to text
4 = used to reformat the cell in our data frame as a file path
5 = the data frame we defined earlier
$ = print
6 = the field name of the cell from the directory tool
There it is a very simple solution that allows us to convert pdf to a usable format with in Alteryx.