[R] How to download this data

Rui Barradas ruipbarradas at sapo.pt
Tue Aug 25 21:36:06 CEST 2015


Hello,

There might be a problem:

 > url <- 
"http://www.nseindia.com/live_market/dynaContent/live_watch/equities_stock_watch.htm"
 > readLines(url)
Error in file(con, "r") : cannot open the connection
In addition: Warning message:
In file(con, "r") : cannot open: HTTP status was '403 Forbidden'


So I've downloaded the csv file with the data, but that's not 
programmatically.

Rui Barradas

Em 25-08-2015 19:10, Christofer Bogaso escreveu:
> Hi,
>
> I would like to download data from below page directly onto R.
>
> http://www.nseindia.com/live_market/dynaContent/live_watch/equities_stock_watch.htm
>
> Could you please assist me how can I do that programmatically.
>
> Thanks for your time.
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list