I have multiple pdf files (similar), converted each to text
doc_1<-pdf_text("abc.pdf")
# and then readLines
test_1 <- readLines(paste("C:/Users/Desktop/WIP/pdfs", "/doc_1.csv", sep = ""))
write.csv(test_1,"test_1.csv")
doc_2<-pdf_text("xyz.pdf")
# and then readLines
test_2 <- readLines(paste("C:/Users/Desktop/WIP/pdfs", "/doc_2.csv", sep = ""))
write.csv(test_2,"test_2.csv")
Would love to append all "test_1","test_2"...before writing to csv using a loop process.
Please assist.