library("tabulizer")
f <- system.file("examples", "data.pdf", package = "tabulizer")
# When f is your selected pdf file.
out1 <- extract_tables(f)
# Or even better, say what page the tables are in.
out2 <- extract_tables(f, pages = 1, guess = FALSE, method = "data.frame")
1
你'll probably find PyPI useful - you can search for specific things on there like ' PDF ' and it will give you a list of modules relating to PDF' s(here) . 你在PyPI上的重量是_325066 . 这应该可以帮助您入门!
2 回答
如果您正在考虑使用 R ,我建议使用tabulizer包 .
它可用here并且非常易于使用 . 要安装它,您必须使用以下命令:
并使用他们的一个例子:
你'll probably find PyPI useful - you can search for specific things on there like ' PDF ' and it will give you a list of modules relating to PDF' s(here) . 你在PyPI上的重量是_325066 . 这应该可以帮助您入门!