Displaying 5 results from an estimated 5 matches for "getfin".
2011 Mar 18
1
quantmod Some Single Letter Tickers Not getFin
Hi,
I have been learning the quantmod package over the last several days. I
went to check some of my data pulls against other sources and was
surprised to find that a few tickers that have single characters do not
successfully scrape from Google Finance using getFin(). Particularly
require(quantmod)
getFin("A")
getFin("E")
getFin("F")
getFin("G")
getFin("M")
all result in a file not found error. I show the last one below.
> getFin("M")
Error in download.file(paste(google.fin, Symbol, sep = &qu...
2011 May 14
1
Changing Attribute With Paste
...ing to make the
adjustment programmatic. Unfortunately, I am having a huge amount of
trouble using attr in combination with paste (and perhaps get, and perhaps
assign, none of which seem to help). When I hard-code the change it works
fine. Your help would be much appreciated.
require(quantmod)
getFin("NYSE:A")
attr(NYSE.A.f,"symbol")<-"A" #works fine
ticker<-"A"
attr(paste("NYSE.",ticker,".f",sep=""),"symbol")<-"A" #doesn't work
attr(get(paste("NYSE.",ticker,".f"...
2011 Apr 13
1
Assign with Paste Problem
...ew object to be a complete copy of the old object when
I use paste in both sides of the assign?
Your help would be most appreciated.
--John Sparks
> #Careful! Removes everything in working directory!
> rm(list = ls())
>
> ticker<-"F"
>
> require(quantmod)
>
> getFin(paste("NYSE:",ticker,sep=""))
[1] "NYSE.F.f"
> NYSE.F.f
Financial Statement for NYSE:F
Retrieved from google at 2011-04-12 20:03:20
Use "viewFinancials" or "viewFin" to view
>
> F.f<-NYSE.F.f
> F.f
Financial Statement for NYSE:F
Retri...
2008 Sep 09
2
yahoo finance into R
Hi R,
I am familiar with the basics of R.
To learn more I would like how to get data from Yahoo!finance directly into
R. So basically I want a data frame or matrix to do some data analysis.
How do I do this?
Thank you very much.
Thomas
--
View this message in context: http://www.nabble.com/yahoo-finance-into-R-tp19385481p19385481.html
Sent from the R help mailing list archive at Nabble.com.
2012 May 18
1
Financial Statements Date Subsetting
Dear All,
I'm new at R, but I really just need a couple of things. The first thing I
need is to figure out how to get each individual financial statement
(CF,BS,IS). I need each individual one because getting them all at once
allows for formatting issues once it is a CSV. The date subsetting is what
I need because I will be running a statistical model in excel. I know I
could probably