我想从此链接下载csv-> https://www.nasdaq.com/screening/companies-by-industry.aspx?exchange=NASDAQ&render=download
如果单击此链接,将下载一个csv。
如何将该文件下载到我的文件夹中?
谢谢
答案 0 :(得分:0)
library(RCurl)
URL <- "https://www.nasdaq.com/screening/companies-by-industry.aspx?exchange=NASDAQ&render=download"
destfile <- "nasdaq.csv"
download.file(URL, destfile)
非常容易!
对不起