Displaying 2 results from an estimated 2 matches for "no&query".
Did you mean:
do_query
2011 Aug 25
1
R hangs after htmlTreeParse
Dear colleagues,
I'm trying to parse the html content from this webpage:
http://timesofindia.indiatimes.com/searchresult.cms?sortorder=score&searchtype=2&maxrow=10&startdate=2001-01-01&enddate=2011-08-25&article=2&pagenumber=1&isphrase=no&query=IIM&searchfield=§ion=&kdaterange=30&date1mm=01&date1dd=01&date1yyyy=2001&date2mm=08&date2dd=25&date2yyyy=2011
Using the following code
library(RCurl)
library(XML)
myurl<-c("http://timesofindia.indiatimes.com/searchresult.cms?sortorder=score...
2011 Sep 05
2
htmlParse hangs or crashes
...understand why htmlParse doesn't work.
Thank you for any insight.
Yours,
Simon Kiss
myurl<-c("http://timesofindia.indiatimes.com/searchresult.cms?sortorder=score&searchtype=2&maxrow=10&startdate=2001-01-01&enddate=2011-08-25&article=2&pagenumber=1&isphrase=no&query=IIM&searchfield=§ion=&kdaterange=30&date1mm=01&date1dd=01&date1yyyy=2001&date2mm=08&date2dd=25&date2yyyy=2011")
.x<-htmlParse(myurl)
class(.x)
#returns "HTMLInternalDocument" "XMLInternalDocument"
.x
#returns
*** caug...