BroNKo
BroNKo

Reputation: 39

R Download csv file from website (R-curl)

I am trying to find an easy method to download that csv. https://www.otcmarkets.com/research/stock-screener My problem is that it seems like there is no seperate URL for the file (Or have i missed something?!). I would like to find a solution with the library(RCurl) package. I can only think of solutions in respect to a rem session which seems to be a bit overkill. Any help is appreciated... Thanks in advance. enter image description here

Upvotes: 0

Views: 447

Answers (1)

Alexandre georges
Alexandre georges

Reputation: 667

read.csv("https://www.otcmarkets.com/research/stock-screener/api/downloadCSV")

You can see the URL in your browser when you hit the Download button.

Upvotes: 2

Related Questions