Consider a web page with many links for download data.
I would like to select the link for the "r" data format. The goal is to isolate them from the source code of the page (after I logged in).
conn = url("http://www.icpsr.umich.edu/icpsrweb/ICPSR/studies/35536?
searchSource=find-analyze-home&sortBy=&q=GSS")
html_code <- readLines(conn)
close(conn)
html_code
The result of html_code
consists of thousand of apparently isolated lines of HTML code that are not visible in the R console, even if the data is correctly downloaded.
I.e. if I copy the apparently empty board of the console to a text editor, the HTML code is visible. Because of that, I have an hard time in trying identify the information I need.
How can I better visualize the downloaded data?