【发布时间】:2021-06-01 00:48:04
【问题描述】:
我正在尝试将this table 抓取到 R 中。
我正在使用XML 库通过以下命令读取数据。
acsi <- htmlParse("https://www.theacsi.org/index.php?option=com_content&view=article&id=147&catid=&Itemid=212&i=Wireless+Telephone+Service")
但是,我马上就明白了:Warning: XML content does not seem to be XML: 'ss+Telephone+Service'。我究竟做错了什么?为什么我的表格无法正确读取?
【问题讨论】:
-
@cory 当我使用他们的方法时,我仍然收到错误
Error: 1: Unknown IO error2: failed to load external entity "http://www.theacsi.org/index.php?option=com_content&view=article&id=147&catid=&Itemid=212&i=Wireless+Telephone+Service"
标签: r xml web-scraping html-table