p***r 发帖数: 920 | 1 There is a public link on the sever, and I need to download multiple files
from that link, such as this
http://www.pjm.com/markets-and-operations/energy/real-time/hist
data/unit-bid.aspx
I can do it manually, this time since there are only 50 files,but further
there will possibly be thousands of similar files.
Any suggestion how to create a macro in complete this task? |
l*********s 发帖数: 5409 | 2 using R download.file function |
p***r 发帖数: 920 | 3 Good, any other suggestion such as using SAS?
【在 l*********s 的大作中提到】 : using R download.file function
|
l*********s 发帖数: 5409 | 4 filename fname url "http://filename foo url 'http://www.a.com/test.dat"; and data step.
but this is less efficient, imho.
【在 p***r 的大作中提到】 : Good, any other suggestion such as using SAS?
|
p***r 发帖数: 920 | 5 Data steps do work
The problem when I try using download.file() in R, it didn't work, the
link are provided in my first slides, can you try it out and tell me what
you think? Great Thanks
and data step.
【在 l*********s 的大作中提到】 : filename fname url "http://filename foo url 'http://www.a.com/test.dat"; and data step. : but this is less efficient, imho.
|
d**********r 发帖数: 24123 | 6 一定要用SAS download吗?不能先用其他软件下载下来吗? |
a******1 发帖数: 83 | 7 request document not found in my browser.
【在 p***r 的大作中提到】 : Data steps do work : The problem when I try using download.file() in R, it didn't work, the : link are provided in my first slides, can you try it out and tell me what : you think? Great Thanks : : and data step.
|
p***r 发帖数: 920 | 8 It's a website, the document link is on the website, you can find them
their.
【在 a******1 的大作中提到】 : request document not found in my browser.
|
p***r 发帖数: 920 | |
p***r 发帖数: 920 | 10 Or try this
PJM.com -> Market & Operations -> Real time Energy Market
-> Historical Data -> PJM Daily Energy Market Bid Data
where you can find those files
【在 a******1 的大作中提到】 : request document not found in my browser.
|