Re: [R] Web scraping different levels of a website

2018-01-19 Thread David Jankoski
the html x <- url %>% GET() %>% content() # option 1 (div with class "survey-row" --> data-url attribute) x %>% html_nodes(".survey-row") %>% html_attr("data-url") # option 2 (studies titles are within elems) # note that this give you som

[R] Web scraping different levels of a website

2018-01-18 Thread David Jankoski
Hey Ilio, On the main website (the first link that you provided) if you right-click on the title of any entry and select Inspect Element from the menu, you will notice in the Developer Tools view that opens up that the corresponding html looks like this (example for the same link that you provide