Skip to content
Back to formatted view

Raw Message

Message-ID: <3FFA7F4E.8090001@statistik.uni-dortmund.de>
Date: 2004-01-06T09:26:38Z
From: Uwe Ligges
Subject: "Smart update" utility (or coding) for data files
In-Reply-To: <Pine.GSO.4.58.0401051943410.10513@papaya.cc.columbia.edu>

Ashutosh Tayshete wrote:

> Hi,
> 
> I am a new user of R and this is my first e-mail here. Please enlighten me
> on any etiquette issues I may have overstepped on.
> 
> My questions is as follows:
> 
> I need to do some data analysis for data from .csv files for stocks
> (that I have obtained from yahoo)
> 
> How can I do a "smart update" of this data from Yahoo (or any other
> site if you wish), so that in some way, I do not have to go and download
> the new data from Excel every day.
> 
> I am running my code from a script file. So every time I start the program
> I'd like the data to be up-to-date (ofcourse I shall be connected to the
> internet.) Is there a utility I can download for this? If not, any hints
> on how to code this will be appreciated.
> 
> many thanks
> A
> 

See ?url for such a connection.


Instead of read.csv("filename"), use
  read.csv(url("TheRelevantURL"))

Uwe Ligges