on-internet
← Community

How to obtain a table from an online pdf in R

Stack Overflow ·

I have a problem I have this link pdf_data and I want to download therein the pdf entitled "New index of apartment prices by age". I downloaded this pdf in my working directory and saved it with the name "name" and then I run library(RCurl) library(tabulapdf) library(pdftools) txt <- pdf_text("name.pdf" ) lines <- lapply(txt, function(t) readLines( textConnection(t)) ) It seems to be working. Yet, I was wondering if it is possible to extract the table from that pdf using the online pdf directly, that is, just the link, without having to download the pdf. Any code provided is greatly appreciate

Comments

Sign in or sign up to comment and upvote.

No comments yet.