Reputation: 39
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.
Upvotes: 0
Views: 447
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