Skip to content

Commit

Permalink
added some more real game data to test directory; grist for some test…
Browse files Browse the repository at this point in the history
… runs. Storing more info in the gamedir table.
  • Loading branch information
gkettler committed Jul 4, 2012
1 parent df12f69 commit 91fed5d
Show file tree
Hide file tree
Showing 21 changed files with 405 additions and 13 deletions.
1 change: 1 addition & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ See setup.py.
- Matplotlib
- NumPy
- Flask (eventually)
- nose (for tests)

ToDo
----
Expand Down
4 changes: 2 additions & 2 deletions pypitches/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

# Patterns to grab only specific years, months, days, or games
year_pattern = "year_2012" #only want this one year
month_pattern = "month_04"
day_pattern = "day_"
month_pattern = "month_07"
day_pattern = "day_01"
game_pattern = "gid_"
patterns = [year_pattern, month_pattern, day_pattern, game_pattern]

Expand Down
2 changes: 2 additions & 0 deletions pypitches/model/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,6 @@ class GameDir(Base):
status_long = Column(Text)
loaded = Column(Boolean, default=False)
game_pk = Column(Integer)
atbats = Column(Integer)
innings = Column(Integer)

5 changes: 4 additions & 1 deletion pypitches/model/helpers.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
from classes import *
import session

def add_gamedir(path, status, status_long=None):
def add_gamedir(path, status=None, status_long=None, pk=None, innings=None, atbats=None):
gamedir = GameDir()
gamedir.path = path
gamedir.local_copy = True
gamedir.status = status
gamedir.status_long = status_long
gamedir.game_pk = pk
gamedir.innings = innings
gamedir.atbats = atbats
session.Session.add(gamedir)
session.Session.commit()

Expand Down
3 changes: 0 additions & 3 deletions pypitches/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@

# USAGE
# python preprocess.py FLAG1 FLAG2 .. FLAGN filename
# lines that don't end with --:<something> are printed always
# lines that end with --:<something> are printed if and only if that flag
# was given as an argument

import re
import sys
Expand Down
16 changes: 10 additions & 6 deletions pypitches/select_gamedirs.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,22 @@ def classify_dir(callback, gamedir, files):
if 'boxscore.xml' not in files:
return #don't care about other dirs
status_ind = BeautifulStoneSoup(open(os.path.join(gamedir, 'boxscore.xml'))).findAll('boxscore')[0]['status_ind']
game_pk = BeautifulStoneSoup(open(os.path.join(gamedir, 'game.xml'))).findAll('game')[0]['game_pk']
innings = len(BeautifulStoneSoup(open(os.path.join(gamedir, 'inning', 'inning_all.xml'))).findAll('inning'))
if status_ind == 'F':
callback(gamedir, 'final')
callback(gamedir, status='final', pk=game_pk, innings=innings)
elif status_ind == 'P' or status_ind == 'PR':
callback(gamedir, 'postponed')
callback(gamedir, status='postponed', pk=game_pk, innings=innings)
else:
# Can't stop here. Check that at least one at-bat was actually played
atbats = BeautifulStoneSoup(open(os.path.join(gamedir, 'inning/inning_all.xml'))).findAll('atbat')
if len(atbats) == 0:
atbats = len(BeautifulStoneSoup(open(os.path.join(gamedir, 'inning/inning_all.xml'))).findAll('atbat'))
if atbats == 0:
#raise MissingAtbatsError(gamedir, "status_ind=%s but no plate appearances took place" % (status_ind,))
callback(gamedir, 'error', "status_ind=%s but no plate appearances took place" % (status_ind,))
callback(gamedir, status='error', status_long="status_ind=%s but no plate appearances took place" % (status_ind,),
pk=game_pk, innings=innings, atbats=atbats)
else:
callback(gamedir, 'maybe_partial', 'status_ind={0}'.format(status_ind))
callback(gamedir, status='maybe_partial', status_long='status_ind={0}'.format(status_ind),
pk=game_pk, innings=innings, atbats=atbats)

class GameDirError(RuntimeError):
def __init__(self, gamedirs, descr):
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<!--Copyright 2012 MLB Advanced Media, L.P. Use of any content on this page acknowledges agreement to the terms posted here http://gdx.mlb.com/components/copyright.txt--><boxscore game_id="2012/07/01/arimlb-milmlb-1" game_pk="318903" venue_id="32" venue_name="Miller Park" home_sport_code="mlb" away_team_code="ari" home_team_code="mil" away_id="109" home_id="158" away_fname="Arizona Diamondbacks" home_fname="Milwaukee Brewers" away_sname="Arizona" home_sname="Milwaukee" date="July 1, 2012" away_wins="39" away_loss="39" home_wins="36" home_loss="42" status_ind="F">
<linescore away_team_runs="1" home_team_runs="2" away_team_hits="5" home_team_hits="4" away_team_errors="2" home_team_errors="2" note="One out when winning run scored.">
<inning_line_score away="0" home="0" inning="1"></inning_line_score>
<inning_line_score away="0" home="0" inning="2"></inning_line_score>
<inning_line_score away="0" home="0" inning="3"></inning_line_score>
<inning_line_score away="0" home="1" inning="4"></inning_line_score>
<inning_line_score away="0" home="0" inning="5"></inning_line_score>
<inning_line_score away="0" home="0" inning="6"></inning_line_score>
<inning_line_score away="0" home="0" inning="7"></inning_line_score>
<inning_line_score away="1" home="0" inning="8"></inning_line_score>
<inning_line_score away="0" home="1" inning="9"></inning_line_score>
</linescore>
<pitching team_flag="away" out="25" h="4" r="2" er="1" bb="3" so="7" hr="0" bf="32" era="4.01">
<pitcher id="518567" name="Collmenter" name_display_first_last="Josh Collmenter" pos="P" out="18" bf="21" er="1" r="1" h="3" so="5" hr="0" bb="0" w="0" l="2" sv="0" bs="0" hld="0" s_ip="51.0" s_h="54" s_r="26" s_er="25" s_bb="12" s_so="46" era="4.41"></pitcher>
<pitcher id="543766" name="Shaw" name_display_first_last="Bryan Shaw" pos="P" out="3" bf="5" er="0" r="0" h="1" so="0" hr="0" bb="1" w="1" l="3" sv="2" bs="1" hld="8" s_ip="33.0" s_h="31" s_r="11" s_er="10" s_bb="11" s_so="26" era="2.73"></pitcher>
<pitcher id="456696" name="Hernandez, Da" name_display_first_last="David Hernandez" pos="P" out="3" bf="4" er="0" r="0" h="0" so="2" hr="0" bb="1" w="1" l="1" sv="2" bs="4" hld="10" s_ip="34.0" s_h="22" s_r="12" s_er="10" s_bb="15" s_so="52" era="2.65"></pitcher>
<pitcher id="571578" name="Corbin" name_display_first_last="Patrick Corbin" pos="P" out="1" bf="2" er="0" r="1" h="0" so="0" hr="0" bb="1" w="2" l="4" sv="0" bs="0" hld="0" s_ip="30.2" s_h="33" s_r="17" s_er="16" s_bb="10" s_so="21" era="4.70" loss="true" note="(L, 2-4)"></pitcher>
</pitching>
<batting team_flag="home" ab="29" r="2" h="4" d="2" t="0" hr="0" rbi="1" bb="3" po="27" da="12" so="7" lob="10" avg=".241">
<batter id="493114" name="Aoki" name_display_first_last="Norichika Aoki" pos="RF" bo="100" ab="4" po="0" r="1" a="0" bb="0" sac="0" t="0" sf="0" h="2" e="0" d="1" hbp="0" so="1" hr="0" rbi="0" lob="0" fldg=".000" sb="0" s_hr="4" s_rbi="14" s_h="59" s_bb="16" s_r="31" s_so="24" avg=".291" go="1"></batter>
<batter id="460579" name="Morgan" name_display_first_last="Nyjer Morgan" pos="CF" bo="200" ab="3" po="4" r="0" a="0" bb="1" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="1" hr="0" rbi="1" lob="1" fldg="1.000" sb="0" s_hr="2" s_rbi="5" s_h="43" s_bb="13" s_r="29" s_so="37" avg=".235" go="1"></batter>
<batter id="460075" name="Braun" name_display_first_last="Ryan Braun" pos="LF" bo="300" ab="4" po="2" r="0" a="0" bb="0" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="1" hr="0" rbi="0" lob="2" fldg="1.000" sb="0" s_hr="22" s_rbi="55" s_h="86" s_bb="31" s_r="49" s_so="61" avg=".308" go="1" ao="2"></batter>
<batter id="133380" name="Ramirez, Ar" name_display_first_last="Aramis Ramirez" pos="3B" bo="400" ab="3" po="0" r="0" a="1" bb="1" sac="0" t="0" sf="0" h="1" e="0" d="0" hbp="0" so="1" hr="0" rbi="0" lob="0" fldg="1.000" sb="0" s_hr="9" s_rbi="45" s_h="71" s_bb="28" s_r="44" s_so="41" avg=".263" ao="1"></batter>
<batter id="460576" name="Gomez" name_display_first_last="Carlos Gomez" pos="PR" bo="401" ab="0" po="0" r="1" a="0" bb="0" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="0" hr="0" rbi="0" lob="0" fldg=".000" sb="1" s_hr="4" s_rbi="15" s_h="34" s_bb="8" s_r="22" s_so="29" avg=".243" note="1-"></batter>
<batter id="430611" name="Hart, C" name_display_first_last="Corey Hart" pos="1B" bo="500" ab="4" po="8" r="0" a="1" bb="0" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="0" hr="0" rbi="0" lob="2" fldg="1.000" sb="0" s_hr="15" s_rbi="36" s_h="72" s_bb="21" s_r="45" s_so="88" avg=".247" ao="4"></batter>
<batter id="430001" name="Weeks" name_display_first_last="Rickie Weeks" pos="2B" bo="600" ab="3" po="2" r="0" a="2" bb="0" sac="0" t="0" sf="0" h="1" e="2" d="1" hbp="0" so="0" hr="0" rbi="0" lob="1" fldg=".667" sb="0" s_hr="6" s_rbi="22" s_h="50" s_bb="42" s_r="27" s_so="94" avg=".185" go="1" ao="1"></batter>
<batter id="285068" name="Ransom" name_display_first_last="Cody Ransom" pos="SS" bo="700" ab="2" po="1" r="0" a="5" bb="1" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="1" hr="0" rbi="0" lob="1" fldg="1.000" sb="0" s_hr="7" s_rbi="28" s_h="29" s_bb="18" s_r="17" s_so="64" avg=".207" ao="1"></batter>
<batter id="455117" name="Maldonado" name_display_first_last="Martin Maldonado" pos="C" bo="800" ab="3" po="9" r="0" a="2" bb="0" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="0" hr="0" rbi="0" lob="3" fldg="1.000" sb="0" s_hr="5" s_rbi="16" s_h="22" s_bb="7" s_r="9" s_so="17" avg=".256" go="1" ao="2"></batter>
<batter id="451596" name="Gallardo" name_display_first_last="Yovani Gallardo" pos="P" bo="900" ab="2" po="1" r="0" a="1" bb="0" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="1" hr="0" rbi="0" lob="0" fldg="1.000" sb="0" s_hr="0" s_rbi="2" s_h="3" s_bb="0" s_r="2" s_so="13" avg=".091"></batter>
<batter id="407842" name="Veras" name_display_first_last="Jose Veras" pos="P" bo="901" ab="0" po="0" r="0" a="0" bb="0" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="0" hr="0" rbi="0" lob="0" fldg=".000" sb="0" s_hr="0" s_rbi="0" s_h="0" s_bb="0" s_r="0" s_so="0" avg=".000"></batter>
<batter id="408061" name="Rodriguez, Fr" name_display_first_last="Francisco Rodriguez" pos="P" bo="902" ab="0" po="0" r="0" a="0" bb="0" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="0" hr="0" rbi="0" lob="0" fldg=".000" sb="0" s_hr="0" s_rbi="0" s_h="0" s_bb="0" s_r="0" s_so="0" avg=".000"></batter>
<batter id="435459" name="Kottaras" name_display_first_last="George Kottaras" pos="PH" bo="903" ab="1" po="0" r="0" a="0" bb="0" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="1" hr="0" rbi="0" lob="0" fldg=".000" sb="0" s_hr="3" s_rbi="11" s_h="17" s_bb="27" s_r="9" s_so="22" avg=".227" note="a-"></batter>
<batter id="446099" name="Axford" name_display_first_last="John Axford" pos="P" bo="904" ab="0" po="0" r="0" a="0" bb="0" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="0" hr="0" rbi="0" lob="0" fldg=".000" sb="0" s_hr="0" s_rbi="0" s_h="0" s_bb="0" s_r="0" s_so="0" avg=".000"></batter>
<note><![CDATA[<span>a-Struck out for Rodriguez, Fr in the 8th. </span><br/><span>1-Ran for Ramirez, Ar in the 9th. </span>]]>
</note>
<text_data><![CDATA[<b>BATTING</b><br/><span><b>2B</b>: Aoki (13, Collmenter), Weeks (12, Collmenter).</span><br/><span><b>TB</b>: Ramirez, Ar; Weeks 2; Aoki 3.</span><br/><span><b>RBI</b>: Morgan (5).</span><br/><span><b>Runners left in scoring position, 2 out</b>: Maldonado 2.</span><br/><b>Team RISP</b>: 0-for-4.<br/><b>Team LOB</b>: 5.<br/><br/><b>BASERUNNING</b><br/><span><b>SB</b>: Gomez (9, 2nd base off Corbin/Montero).</span><br/><br/><b>FIELDING</b><br/><span><b>E</b>: Weeks 2 (9, fielding, throw).</span><br/><span><b>DP</b>: (Ransom-Weeks-Hart, C).</span><br/><br/>]]>
</text_data>
</batting>
<pitching team_flag="home" out="27" h="5" r="1" er="1" bb="6" so="9" hr="1" bf="37" era="4.17">
<pitcher id="451596" name="Gallardo" name_display_first_last="Yovani Gallardo" pos="P" out="20" bf="29" er="0" r="0" h="3" so="6" hr="0" bb="5" w="6" l="6" sv="0" bs="0" hld="0" s_ip="102.1" s_h="95" s_r="46" s_er="44" s_bb="47" s_so="101" era="3.87"></pitcher>
<pitcher id="407842" name="Veras" name_display_first_last="Jose Veras" pos="P" out="1" bf="1" er="0" r="0" h="0" so="1" hr="0" bb="0" w="3" l="3" sv="1" bs="1" hld="7" s_ip="33.1" s_h="35" s_r="15" s_er="14" s_bb="23" s_so="38" era="3.78" note="(H, 7)"></pitcher>
<pitcher id="408061" name="Rodriguez, Fr" name_display_first_last="Francisco Rodriguez" pos="P" out="3" bf="4" er="1" r="1" h="1" so="0" hr="1" bb="1" w="0" l="4" sv="1" bs="3" hld="16" s_ip="35.0" s_h="37" s_r="17" s_er="16" s_bb="13" s_so="32" era="4.11" blown_save="true" note="(BS, 3)">(BS, 3)</pitcher>
<pitcher id="446099" name="Axford" name_display_first_last="John Axford" pos="P" out="3" bf="3" er="0" r="0" h="1" so="2" hr="0" bb="0" w="2" l="5" sv="13" bs="4" hld="0" s_ip="30.1" s_h="28" s_r="21" s_er="17" s_bb="18" s_so="43" era="5.04" win="true" note="(W, 2-5)"></pitcher>
</pitching>
<batting team_flag="away" ab="30" r="1" h="5" d="0" t="0" hr="1" rbi="1" bb="6" po="25" da="4" so="9" lob="12" avg=".263">
<batter id="217100" name="Bloomquist" name_display_first_last="Willie Bloomquist" pos="3B" bo="100" ab="5" po="0" r="0" a="0" bb="0" sac="0" t="0" sf="0" h="1" e="0" d="0" hbp="0" so="0" hr="0" rbi="0" lob="2" fldg=".000" sb="0" s_hr="0" s_rbi="12" s_h="71" s_bb="11" s_r="36" s_so="44" avg=".295" go="3" ao="1"></batter>
<batter id="452220" name="Drew, S" name_display_first_last="Stephen Drew" pos="SS" bo="200" ab="3" po="0" r="0" a="0" bb="1" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="2" hr="0" rbi="0" lob="0" fldg=".000" sb="0" s_hr="0" s_rbi="0" s_h="2" s_bb="2" s_r="1" s_so="5" avg=".133" ao="1"></batter>
<batter id="457708" name="Upton, J" name_display_first_last="Justin Upton" pos="RF" bo="300" ab="4" po="6" r="0" a="0" bb="0" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="2" hr="0" rbi="0" lob="3" fldg="1.000" sb="0" s_hr="7" s_rbi="34" s_h="71" s_bb="32" s_r="48" s_so="69" avg=".273" go="2"></batter>
<batter id="430585" name="Kubel" name_display_first_last="Jason Kubel" pos="LF" bo="400" ab="3" po="1" r="1" a="0" bb="1" sac="0" t="0" sf="0" h="2" e="0" d="0" hbp="0" so="0" hr="1" rbi="1" lob="0" fldg="1.000" sb="0" s_hr="12" s_rbi="51" s_h="79" s_bb="32" s_r="37" s_so="70" avg=".298" ao="1"></batter>
<batter id="471083" name="Montero" name_display_first_last="Miguel Montero" pos="C" bo="500" ab="2" po="7" r="0" a="0" bb="2" sac="0" t="0" sf="0" h="0" e="1" d="0" hbp="0" so="1" hr="0" rbi="0" lob="1" fldg=".875" sb="0" s_hr="8" s_rbi="43" s_h="63" s_bb="33" s_r="32" s_so="66" avg=".276" ao="1"></batter>
<batter id="431094" name="Hill, A" name_display_first_last="Aaron Hill" pos="2B" bo="600" ab="4" po="1" r="0" a="1" bb="0" sac="0" t="0" sf="0" h="1" e="0" d="0" hbp="0" so="0" hr="0" rbi="0" lob="4" fldg="1.000" sb="0" s_hr="11" s_rbi="38" s_h="85" s_bb="25" s_r="35" s_so="45" avg=".300" go="3" ao="1" gidp="1"></batter>
<batter id="407489" name="Overbay" name_display_first_last="Lyle Overbay" pos="1B" bo="700" ab="3" po="5" r="0" a="1" bb="1" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="0" hr="0" rbi="0" lob="0" fldg="1.000" sb="0" s_hr="2" s_rbi="10" s_h="26" s_bb="12" s_r="11" s_so="18" avg=".321" go="2" ao="1"></batter>
<batter id="467827" name="Parra, G" name_display_first_last="Gerardo Parra" pos="CF" bo="800" ab="4" po="4" r="0" a="0" bb="0" sac="0" t="0" sf="0" h="1" e="1" d="0" hbp="0" so="2" hr="0" rbi="0" lob="2" fldg=".800" sb="0" s_hr="6" s_rbi="23" s_h="54" s_bb="22" s_r="37" s_so="40" avg=".267" go="1"></batter>
<batter id="518567" name="Collmenter" name_display_first_last="Josh Collmenter" pos="P" bo="900" ab="1" po="1" r="0" a="2" bb="0" sac="1" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="1" hr="0" rbi="0" lob="0" fldg="1.000" sb="0" s_hr="0" s_rbi="1" s_h="0" s_bb="1" s_r="0" s_so="5" avg=".000" go="1"></batter>
<batter id="455759" name="Young, Ch" name_display_first_last="Chris Young" pos="PH" bo="901" ab="0" po="0" r="0" a="0" bb="1" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="0" hr="0" rbi="0" lob="0" fldg=".000" sb="0" s_hr="7" s_rbi="18" s_h="33" s_bb="20" s_r="17" s_so="40" avg=".214" note="a-"></batter>
<batter id="543766" name="Shaw" name_display_first_last="Bryan Shaw" pos="P" bo="902" ab="0" po="0" r="0" a="0" bb="0" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="0" hr="0" rbi="0" lob="0" fldg=".000" sb="0" s_hr="0" s_rbi="0" s_h="0" s_bb="0" s_r="0" s_so="0" avg=".000"></batter>
<batter id="456696" name="Hernandez, Da" name_display_first_last="David Hernandez" pos="P" bo="903" ab="0" po="0" r="0" a="0" bb="0" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="0" hr="0" rbi="0" lob="0" fldg=".000" sb="0" s_hr="0" s_rbi="0" s_h="1" s_bb="0" s_r="0" s_so="0" avg="1.000"></batter>
<batter id="502671" name="Goldschmidt" name_display_first_last="Paul Goldschmidt" pos="PH" bo="904" ab="1" po="0" r="0" a="0" bb="0" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="1" hr="0" rbi="0" lob="0" fldg=".000" sb="0" s_hr="11" s_rbi="35" s_h="66" s_bb="26" s_r="34" s_so="62" avg=".292" note="b-"></batter>
<batter id="571578" name="Corbin" name_display_first_last="Patrick Corbin" pos="P" bo="905" ab="0" po="0" r="0" a="0" bb="0" sac="0" t="0" sf="0" h="0" e="0" d="0" hbp="0" so="0" hr="0" rbi="0" lob="0" fldg=".000" sb="0" s_hr="0" s_rbi="0" s_h="1" s_bb="0" s_r="1" s_so="2" avg=".100"></batter>
<note><![CDATA[<span>a-Walked for Collmenter in the 7th. b-Struck out for Hernandez, Da in the 9th. </span>]]>
</note>
<text_data><![CDATA[<b>BATTING</b><br/><span><b>HR</b>: Kubel (12, 8th inning off Rodriguez, Fr, 0 on, 0 out).</span><br/><span><b>TB</b>: Parra, G; Bloomquist; Hill, A; Kubel 5.</span><br/><span><b>RBI</b>: Kubel (51).</span><br/><span><b>Runners left in scoring position, 2 out</b>: Parra, G; Bloomquist; Hill, A; Upton, J 2.</span><br/><span><b>SAC</b>: Collmenter.</span><br/><span><b>GIDP</b>: Hill, A.</span><br/><b>Team RISP</b>: 0-for-4.<br/><b>Team LOB</b>: 9.<br/><br/><b>BASERUNNING</b><br/><span><b>CS</b>: Bloomquist (8, 2nd base by Axford/Maldonado).</span><br/><br/><b>FIELDING</b><br/><span><b>E</b>: Montero (5, throw), Parra, G (2, throw).</span><br/><br/>]]>
</text_data>
</batting>
<game_info><![CDATA[<span><b>WP</b>: Collmenter, Gallardo.</span><br/><span><b>Pitches-strikes</b>: Collmenter 93-66, Shaw 18-9, Hernandez, Da 17-10, Corbin 12-4, Gallardo 117-66, Veras 6-4, Rodriguez, Fr 18-11, Axford 17-11.</span><br/><span><b>Groundouts-flyouts</b>: Collmenter 4-7, Shaw 1-2, Hernandez, Da 0-1, Corbin 0-1, Gallardo 9-6, Veras 0-0, Rodriguez, Fr 2-0, Axford 0-0.</span><br/><span><b>Batters faced</b>: Collmenter 21, Shaw 5, Hernandez, Da 4, Corbin 2, Gallardo 29, Veras 1, Rodriguez, Fr 4, Axford 3.</span><br/><span><b>Inherited runners-scored</b>: Veras 3-0.</span><br/><b>Umpires</b>: HP: Ed Hickox. 1B: Mark Carlson. 2B: Angel Hernandez. 3B: Chris Conroy. <br/><b>Weather</b>: 82 degrees, cloudy.<br/><b>Wind</b>: 5 mph, In from LF.<br/><b>T</b>: 3:14.<br/><b>Att</b>: 38,605.<br/>]]>
</game_info>
</boxscore>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!--Copyright 2012 MLB Advanced Media, L.P. Use of any content on this page acknowledges agreement to the terms posted here http://gdx.mlb.com/components/copyright.txt--><game type="R" local_game_time="13:10" game_pk="318903" game_time_et="02:10 PM" gameday_sw="P">
<team type="home" code="mil" file_code="mil" abbrev="MIL" id="158" name="Milwaukee" name_full="Milwaukee Brewers" name_brief="Brewers" w="36" l="42" division_id="205" league_id="104" league="NL"/>
<team type="away" code="ari" file_code="ari" abbrev="ARI" id="109" name="Arizona" name_full="Arizona Diamondbacks" name_brief="D-backs" w="39" l="39" division_id="203" league_id="104" league="NL"/>
<stadium id="32" name="Miller Park" venue_w_chan_loc="USWI0455" location="Milwaukee, WI"/>
</game>

Large diffs are not rendered by default.

Loading

0 comments on commit 91fed5d

Please sign in to comment.