[R] How to download this data

Bert Gunter bgunter.4567 at gmail.com
Tue Aug 25 20:23:26 CEST 2015


This is not a simple question. The data are in an html-formatted web
page. You must "scrape" the html for the data and read it into an R
table (or other appropriate R data structure). Searching (the web) on
"scrape data from html into R"  listed several packages that claim to
enable you to do this "easily". Choose what seems best for you.

You should also install and read the documentation for the XML
package, which is also used for this purpose, though those you find
above may be slicker.

Disclaimer: I have no direct experience with this. I'm just pointing
out what I believe are relevant resources.

Cheers,
Bert
Bert Gunter

"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
   -- Clifford Stoll


On Tue, Aug 25, 2015 at 11:10 AM, Christofer Bogaso
<bogaso.christofer at gmail.com> wrote:
> 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