Displaying 2 results from an estimated 2 matches for "aacou".
Did you mean:
acou
2012 May 19
1
Try Giving Invalid Argument Type Error
...;
URL<-paste("http://www.advfn.com/p.php?pid=financials&btn=istart_date&mode=quarterly_reports&symbol=",
exh,"%3A",tic,"&istart_date=0", sep = "")
doc <- htmlParse(URL)
However, when I change the value of tic it will not.
tic<-"AACOU"
URL<-paste("http://www.advfn.com/p.php?pid=financials&btn=istart_date&mode=quarterly_reports&symbol=",
exh,"%3A",tic,"&istart_date=0", sep = "")
doc <- htmlParse(URL)
Error in htmlParse(URL) :
error in creating parser for
http://...
2011 Jul 05
1
hash table access, vector access &c
...e this:
ysmd <- read.csv("ysmd.csv",header=TRUE);
ysmd.table <- hash();
for (i in 1:length(ysmd$X.stock)) ysmd.table[ysmd$X.stock[i]] <- ysmd[i,];
the first column ("X.stock") is a string (factor):
> ysmd$X.stock[[100]]
[1] FLO
7757 Levels: A AA AA- AAAAA AAC AACC AACOU AACOW AADR AAI AAME AAN AAON ... ZZZZT
when I print ysmd.table, I see the data I expect:
...
ZIOP : ZIOP 402600000 3.03 7.85 707694 6.3717
ZIP : ZIP 794900000 23.53 31.5 677046 23.2508
ZIPR : ZIPR 47100000 2.28 3.5 21865 2.4058
ZIV : ZIV -1 12.2987 17.3862 37455 16.6068
ZIXI : ZIXI 25490...