开发者

What is causing this failure when using readHTMLTable()?

library(XML)
url <- 'http://www.dqnews.com/Charts/Monthly-Charts/LA-Times-Charts/ZIPLAT.aspx'
tableVals <- readHTMLTable(url)

When I run this all by itself on a fresh workspace, I get

Error: Namespace prefix  of attribute publishsource is not defined

After digging through the page source, the closest attribute I found to the one in the error is this:

`<div id="Chart for Web_9726" align="center" x:publishsource="Excel">`

but searching turns up nothing. Is there perhaps a better way to automatically vacuum this data into a matrix o开发者_运维百科r dataframe?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜