I am using tabulizer library to extract tables from pdf in R.
It works fine for one file using
extract_tables("test.pdf");
It print all the tables in a pdf. (Different Table can have different no of columns)
But when i have multiple files in folder and use for loop
, then it print only one table.
templist <- list.files(pattern = "pdf$")
my_pdfs = {}
for (i in 1:length(templist)){my_pdfs[i] <- extract_tables(templist[i])}
// Above mypdfs array took only 1st table data in object.
How can i get all tables thru for loop?
Thanks.