A little function to web scrape Yahoo Finance data like financials or key statistics. More are to come. It requires tidyverse and rvest to run properly.
-
Download the file get_yahoo.R
-
Load the script via
source("folder/get_yahoo.R")
get_yahoo("MSFT", "financials")
get_yahoo("AAPL", "statistics")