Displaying 1 result from an estimated 1 matches for "qtrstop".
Did you mean:
arrstop
2012 May 19
1
Try Giving Invalid Argument Type Error
...error = expression(NULL))
URL<-paste("http://www.advfn.com/p.php?pid=financials&btn=istart_date&mode=quarterly_reports&symbol=",
exh,"%3A",tic,"&istart_date=0", sep = "")
if(
!is(
try(
doc <- htmlParse(URL)
,"try-error")
)
)
{
qtrstop <- xpathApply(doc, "count(//select/option)")-5
}
Error in !silent : invalid argument type
Any help would be most appreciated.
--John Sparks