In webscraping, the user extracts information embedded in a web page available over
the internet and saves it into R structures for further analysis. One way to accomplish
this is to download the web page using the readLines() function and manipulate it
with functions such as grep() and gsub() . For complex web pages, the RCurl and
XML packages can be used to extract the information desired.
Asked In: Many Interviews |