I am trying to use pdftables package to extract data into csv.
install.packages("pdftables") library(pdftables) write.csv(head(iris), file = "test.csv", row.names = FALSE) Open test.csv and print as PDF to "test.pdf"
convert_pdf("test.pdf", "test2.csv") However, I am getting the following error:
Error in get_content(input_file, format, api_key) : Bad Request (HTTP 400).
What's the fix here?