[R-SIG-Finance] Reading nsedata price series

Velappan Periasamy veepsirtt at gmail.com
Sun Jan 10 08:35:44 CET 2010


How  did Mr Dirk got this result ?.

to me, r-sig-finance
show details
 7:50 am (15 hours ago) 	
- Show quoted text -
R> IcantBelieveYouDidNotTryThis <-
read.csv("http://nseindia.com/content/equities/scripvol/datafiles/08-01-2010-TO-08-01-2010RCOMEQN.csv")

R> head(IcantBelieveYouDidNotTryThis) Symbol Series Date Prev.Close
 Open.Price High.Price Low.Price Last.Price Close.Price Average.Price
 Total.Traded.Quantity Turnover.in.Lacs X 1 RCOM EQ 08-Jan-2010 183.9
 184.5 185.2 180.2 181.1 180.8 182.1 3775898 6878 NA
R>

Dirk




On 1/9/10, Sean O'Riordain <sean.oriordain at gmail.com> wrote:
> Good morning,
>  I got the same error - but then I opened it in firefox... then again
>  in R and it worked... I'd be surprised if it's an R problem - more
>  likely nseindia.com doesn't want scraping of its webside.
>
>  Try using wireshark (.org) to debug the network packets going back and forth.
>  cheers,
>  Sean
>
>
>  On Sun, Jan 10, 2010 at 6:27 AM, Velappan Periasamy <veepsirtt at gmail.com> wrote:
>  >  I am getting this error.----------
>  > while downloading data
>  >
>  > IcantBelieveYouDidNotTryThis <-
>  > read.csv("http://nseindia.com/content/equities/scripvol/datafiles/08-01-2010-TO-08-01-2010RCOMEQN.csv")
>  >
>  > Error in file(file, "r") : cannot open the connection
>  > In addition: Warning message:
>  > In file(file, "r") : cannot open: HTTP status was '404 Not Found'
>  >
>
> > _______________________________________________
>  > R-SIG-Finance at stat.math.ethz.ch mailing list
>  > https://stat.ethz.ch/mailman/listinfo/r-sig-finance
>  > -- Subscriber-posting only. If you want to post, subscribe first.
>  > -- Also note that this is not the r-help list where general R questions should go.
>  >
>



More information about the R-SIG-Finance mailing list