Is anyone experienced in scraping data from the Yahoo! Finance key statistics page with R? I am familiar scraping data directly from html using read_html
, html_nodes()
, and html_text()
from rvest
package. However, this web page MSFT key stats is a bit complicated, I am not sure if all the stats are kept in XHR, JS, or Doc. I am guessing the data is stored in JSON. If anyone knows a good way to extract and parse data for this web page with R, kindly answer my question, great thanks in advance!
Or if there is a more convenient way to extract these metrics via quantmod
or Quandl
, kindly let me know, that would be a extremely good solution!
I gave up on Excel a long time ago. R is definitely the way to go for things like this.
I know this is an older thread, but I used it to scrape Yahoo Analyst tables so I figure I would share.
Cheers, Sody