hello
one of my student asks me if there exists a simple solution to import datas from pdf
i think no but in case i prefer verifying with you
a very simple example :
aaaaPete_Burnard_Ch9.pdf (37.9 KB)
Actually there are several packages to read pdf files. I have used a couple some time ago whose names escape with fair to good results. Your question was a chance to try a different one tabulizer. It seems to have worked okay. I had to install it from the development version
EDIT: Code shamelessly taken from Extract Tables and Texts from PDF Files using R | Level Up Coding
remotes::install_github(c("ropensci/tabulizerjars", "ropensci/tabulizer"))
library(tabulizer)
tabel <- extract_tables('read.pdf', pages = 1)
dat1 <- data.frame(tabel[[1]])
dat1
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.