Wednesday, 24 November 2021

Scraping tables from finviz in R

I would like to extract from www.finviz.com the quarterly tables: income statement, balance sheet and cash flow. I am interested in multiple stocks, but to automate it I would have to know how to scrape a stock. An example is the following:

https://finviz.com/quote.ashx?t=A&ty=c&p=d&b=1

We can see these tables at the bottom of the page. On this page, there are other tables that we can scrape with rvest, but this is a different case and I have not been able to scrape the aforementioned tables.

I would appreciate if someone could help me with this issue.



from Scraping tables from finviz in R

No comments:

Post a Comment