Open GoogleCodeExporter opened 9 years ago
In both of my [custom] Yahoo Leagues, there are these stat categories: 3B, OPS,
WHIP,
K/9, SHO. If you could add those, it'd be incredible. Thanks!
Original comment by scottper...@yahoo.com
on 13 Apr 2007 at 3:49
im confused.. so how do i adjust this to my league settings which are
H/AB
R
H
2B
3B
HR
RBI
SB
BB
K
TB
AVG
OBP
IP
W
L
CG
SHO
SV
ER
BB
K
ERA
WHIP
K/9
Original comment by redsoxfr...@yahoo.com
on 20 Apr 2007 at 1:25
the feature has not been implemented yet. so you only get the basic stats for
now.
Original comment by robobr...@gmail.com
on 20 Apr 2007 at 5:03
ok, well thank you for what you have put out so far... it's terrific!
Original comment by redsoxfr...@yahoo.com
on 20 Apr 2007 at 8:38
if you weren't a redsox fan, i'd help you!
go yankees!
Original comment by rod...@gmail.com
on 20 Apr 2007 at 8:57
I refactored how stats are stored and calculated so it will be easier to
implement
this feature.
we can parse out the custom stats by running this xpath for batters
//table[@id='statTable0']/thead/tr/th[contains(@class,'stat')]/div/text()
and for pitchers
//table[@id='statTable0']/thead/tr/th[contains(@class,'stat')]/div/text()
Given these stats, we should be able to modify setUpTable() and updateStatRow()
since
those are the two places the headers are hardcoded. We'll also need to
implement
more stat crunching methods in the batter and pitcher classes. And also more
parsing
routines like getHRorSB for triples, doubles, etc.
Original comment by robobr...@gmail.com
on 24 Apr 2007 at 6:12
not all the stats are reported in yahoo's box scores. i added OBP and L but the
others aren't that easy to do.
Original comment by rod...@gmail.com
on 5 May 2007 at 4:21
i've added 2b, 3b, sf, hbp, obp, slg, ops. checked in.
still need to refactor so that table categories are not hard coded though.
minor step.
Original comment by rod...@gmail.com
on 17 May 2007 at 11:29
any status update on adding 3b, 2b, CG or SHO?
Original comment by eor...@gmail.com
on 17 Apr 2008 at 5:35
more pitcher and batter stats here. this file was emailed to me by Dan
Hemberger and
I haven't had a chance to look over the source of test it yet.
still need to implement comment 6. can't believe this issue has been open for
over a
year. hopefully I'll get to it before the all star game but if you really
wants all
the stats Dan's updates is your best bet.
Original comment by robobr...@gmail.com
on 18 Apr 2008 at 6:30
Attachments:
Hi,
I'm in a league that counts various stats that are not currently included, even
in
the Apr 17th update (yahoofantasybaseball.user.zip).
I can work out how to add stats such as Total Bases, K/BB and stuff, because
they
just require some simple formulae.
However, I don't know how to add "Hold" in. Could you please tell me how to put
"Hold" in?
Thanks,
Alan
Original comment by yang.a...@gmail.com
on 2 May 2008 at 8:55
alan, holds need to be parsed out like saves.
Original comment by robobr...@gmail.com
on 3 May 2008 at 7:01
I'm sorry robobruin, could you be more specific than that? I don't have a good
enough
programming background. Thanks
Original comment by yang.a...@gmail.com
on 3 May 2008 at 3:30
hi alan, regarding the pitching H stat, it currently is not supported. to get
the
stat we'll have to parse it like we do wins and stats. I'll incorporate it
when I
implement this issue.
Original comment by robobr...@gmail.com
on 5 May 2008 at 6:56
Original issue reported on code.google.com by
robobr...@gmail.com
on 14 Aug 2006 at 5:37