在R中从Google获取股票新闻数据 [英] Getting stock news data from google in R

查看:122
本文介绍了在R中从Google获取股票新闻数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用quantmod来获取历史数据和股票的接近实时报价.我还可以使用Quantmod从Google获取财务数据.是否有任何现有的R软件包可以让我 Google的新闻提要给定的库存?

I can use quantmod to get historical data and close-to-realtime quotes for stocks. I can also use quantmod to get financials data from Google. Are there any existing R packages that would let me grab Google's news feed for a given stock?

如果没有,是否存在用于读取和解析 RSS的程序包饲料在R中?

If not, is there a package for reading and parsing RSS feeds in R?

推荐答案

我使用XML和xts编写了自己的函数来执行此操作. 我将其发布为一个问题,因为我认为它可以改进.

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.

这篇关于在R中从Google获取股票新闻数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆