[R] Getting reliable financial ratios

2012-05-16 Thread Keith Weintraub
Check out this site:
http://www.gummy-stuff.org/Yahoo-data.htm

It shows how to download a .csv file with the data you might want.

Here is an example URL:
 http://finance.yahoo.com/d/quotes.csv?s=XOM+BBDb.TO+JNJ+MSFT&f=snd1l1yrr2


The "r2" in the above URL means P/E ratio.

You should be able to automate this in R pretty easily. An endeavor I leave to 
the reader.

Good luck,
KW


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
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.


[R] Getting reliable financial ratios

2012-05-15 Thread michaelyb
Hello all,

I am having some trouble finding a good csv file or even any kind of table
with the financial ratios (i.e. P/E ratio, ROI, ROA etc.) from the Internet.
I was able to find a good source with poor information. That wouold be
Finviz.com.
Another option would be creating a XML function loop to go through
YahooFinance website, get the information and store it in a variable. This,
however, is not a good, easy and practical way of getting such an easy
information.

Has anyone got any advice?

Regards,

Thank you

--
View this message in context: 
http://r.789695.n4.nabble.com/Getting-reliable-financial-ratios-tp4630207.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
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.