We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
当然,RSS 毕竟是 XML,因此请使用 XML 包。
Sure, RSS is after all XML, so use the XML package.
还有一个(尚未在 CRAN 上)包,可以为您解析 RSS 提要(和 Atom)的一些细节 - 没什么花哨的,只是一些基本的清理、RSS 和 Atom 规范之间的标准化等。
您可以从 https://github.com/noahhl/r-does-rss 获取它
(完全公开,我写的)
There's also a (not yet on CRAN) package that does some of the nitty gritty of parsing RSS feeds (and Atom) for you - nothing fancy, just some of the basic cleaning, normalization between the RSS and Atom spec, etc.
You can grab it from https://github.com/noahhl/r-does-rss
(full disclosure, I wrote it)
我使用 XML 和 xts 编写了自己的函数来执行此操作。 我将其作为问题发布在 SO 上,因为我认为它可以改进。
I wrote my own function to do this, using XML and xts. I posted it as a question on SO, because I think it could be improved.