由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - SAS help needed, how to downloading files
相关主题
SAS 求助: filenamesSAS base 70 题第29 和 31题
请教怎么打开SAS manual file啊?谢谢sas email
SAS help needed, manual input during Data step.请教SAS问题:这个code有什么办法简化吗?
有没有办法用sas来删除硬盘上的txt文件?SAS问题请教
问一个R的问题Need urgent helps: How to use DDE to import password-protected excel file into SAS?
请问SAS BASE123有些答案是不是错的?SAS log window full,跪求解决方法
[Help] Dividing a SAS data setSAS: automatically generate xls file with updated date
SAS proc printto 问题。从yahoo finance下载数据,R or Python?
相关话题的讨论汇总
话题: files话题: sas话题: data话题: link
进入Statistics版参与讨论
1 (共1页)
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
9
try this one
"http://www.pjm.com/pub/extdataposting/unit-bid-
data/201010XX_unit_bid.csv"
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.
1 (共1页)
进入Statistics版参与讨论
相关主题
从yahoo finance下载数据,R or Python?问一个R的问题
How to work on this dataset?请问SAS BASE123有些答案是不是错的?
sas 简单问题[Help] Dividing a SAS data set
help: proc logisticSAS proc printto 问题。
SAS 求助: filenamesSAS base 70 题第29 和 31题
请教怎么打开SAS manual file啊?谢谢sas email
SAS help needed, manual input during Data step.请教SAS问题:这个code有什么办法简化吗?
有没有办法用sas来删除硬盘上的txt文件?SAS问题请教
相关话题的讨论汇总
话题: files话题: sas话题: data话题: link