12
返回列表 发新帖
楼主: joyce1322
跳转到指定楼层
上一主题 下一主题
收起左侧

[统计--软件] 怎么在R下自动下载网页数据:USNEWS RANK FOR STATS in 2010:

 
🔗
modifiedname 2011-3-16 23:23:47 | 只看该作者
全局:
help needed!

I used the RGoogleDocs package here. 1point 3acres
http://www.omegahat.org/RGoogleDocs/

Since I can't install tar.gz here, just used 0.4-1.zip file

I can list the google docs, but got "Error: Unauthorized" whenever I tried to open the contents. ...

Any idea on how to solve this?
回复

使用道具 举报

🔗
modifiedname 2011-3-16 23:40:32 | 只看该作者
全局:
and btw i got the same error even IF the doc is public...

sigh....
回复

使用道具 举报

🔗
 楼主| joyce1322 2011-3-17 02:52:41 | 只看该作者
全局:
looks exactly like your problem
http://stackoverflow.com/questio ... hentication-failure
..
I‘ve never used RGoogleDocs package before。
maybe you can try getForm in RCurl library。
回复

使用道具 举报

🔗
modifiedname 2011-3-17 04:31:50 | 只看该作者
全局:
well i tried this one, and i indeed used the right version but the problem is not solved.
getForm also errored out
no C or sth.

the weird thing is even if i used a public spreadsheet the authentication problem persists
回复

使用道具 举报

🔗
modifiedname 2011-3-17 05:12:32 | 只看该作者
全局:
sigh:
This failed
RGoogleDocs is on omegahat: http://www.omegahat.org/RGoogleDocs/

I think this one is gone? Can't be found anywhere. check 1point3acres for more.
RGoogleData is on RForge: http://r-forge.r-project.org/projects/rgoogledata/

failed this copied from author's site:
install.packages("RGoogleData",repos="http://R-Forge.R-project.org").1point3acres

is it just me?

RCurl
回复

使用道具 举报

🔗
04079029 2012-8-18 19:58:59 | 只看该作者
全局:
joyce1322 发表于 2011-3-16 07:17
i know.  the point of this post is to introduce how to scrape web data via R.. 1point3acres
by changing the url a ...

子正在学习伯克利的data structure 能分享下你的hw 或者 pj solution 谢谢了
回复

使用道具 举报

🔗
prunusis 2012-8-18 23:50:23 | 只看该作者
全局:
看结果可以知道lz不是会伪造数据的人...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表