To extract a PDF table in R I have used the pdftools package:
The extracted table I can see as a plain text with:
The question is how to import this plain text table in a data frame?
My OS is Ubuntu 16.04
* Introducing pdftools - A fast and portable PDF extractor
Code:
library(pdftools)
txt <- pdf_text("Downloads/Bac-2016.pdf")
Code:
cat(txt)
My OS is Ubuntu 16.04
* Introducing pdftools - A fast and portable PDF extractor
Last edited: