I want in R to download the data I get from the following website by clicking the "Download" button on the right.
I wanted to do it with RSelenium and use SelectorGadget to find the CSS of the button. However, the button has no CSS. Are there ways to do what I want in R?
Usually I would do it like in the code below but this needs a CSS.
library("RSelenium")
startServer()
#checkForServer()
mybrowser <- remoteDriver()
mybrowser$open()
mybrowser$navigate("http://ift.tt/1MxxfWz")
wxbutton <- mybrowser$findElement(using = 'css selector', "????????")
wxbutton$clickElement()
Aucun commentaire:
Enregistrer un commentaire