search for: viewcommondbfc

Displaying 1 result from an estimated 1 matches for "viewcommondbfc".

2011 Aug 29
1
reading tables from multiple HTML pages
...ins a single table from which I want to scrape data. However, some of the pages are blank - and so it throws me an error message when it gets to htmlParse(). The loop then closes out and I get the error message below: Error in htmlParse(url) : error in creating parser for http://www.szrd.gov.cn/viewcommondbfc.do?id=728 How might be best to go about keeping the loop running so I can parse the rest? **************************************************** library(XML) url_root<-"http://www.szrd.gov.cn/viewcommondbfc.do?id=" for(i in 700:750){ url = paste(url_root, i, sep="") doc...