Using readHTMLtable from XML package to scrape site, uncertain error message

前端 未结 1 416
我寻月下人不归
我寻月下人不归 2021-02-11 08:15

I\'m using the XML package to scrape a list of websites. Specifically, i\'m taking ratings from a list of candidates, at the following site: votesmart.

The

1条回答
  •  攒了一身酷
    2021-02-11 09:09

    Why not just some simple error handling?

    res <- llply(url, function(i) try(readHTMLTable(i)))
    

    0 讨论(0)
提交回复
热议问题