Relenium, Selenium for R. A new tool for webscraping.

 

Two members of the RugBcn  have developed a package for R that ease the path for webscraping . Among the current packages, we highlight the well known RCurl and XML packages. Both are enough for most situations, but they have a limitation dealing with situations where there is some javascript between the user and the information. For instance when the only way of getting to the desired page is by means of clicking buttons, selecting in menus, ….

Relenium has imported the java module Selenium (implemented in many languages, though) which has been traditionally used for web testing, via the package rJava. Its use is very intuitive, since reproduces the actions that a human would perform on a web page. The webpage of the project can be found here. There is an example explaining in detail how to use it. The package is still in development, so any comments/suggestions are welcome.

We hope you enjoy it.

Lluis Ramon and Aleix Ruiz de Villa,

RugBcn (Barcelona R Users Group)

About these ads

3 responses to “Relenium, Selenium for R. A new tool for webscraping.”

  1. Tim says :

    Brilliant, that is great news!!! I was waiting for an integration of R with Selenium for quit a while… Thanks guys!

  2. junior says :

    Fantastic, this looks great! Any chance you could work in being able to make the house hover on elements? Thanks!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: