MLB/Scores/BOS at NYY
April 12, 2015 · 2015 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
BOS0003100004
NYY70030301X14
X marks a half-inning that was never played

02/Box score

10 lines
Both sides
BOSTON RED SOX 4
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Mookie BettsSS50100020.200
Xander BogaertsSS40202000.500
PITCHING
PlayerIPHERBBSOBFERAWHIP
Clay Buchholz3.199232224.303.30
Craig Breslow1.2003170.001.80
Anthony Varvaro1.0100140.001.00
Edward Mujica1.0210049.002.00
Tommy Layne1.04310727.005.00
NEW YORK YANKEES 14
PITCHING
PlayerIPHERBBSOBFERAWHIP
Masahiro Tanaka5.04334235.401.40
Kyle Davies2.13002100.001.29
David Carpenter1.2100060.000.60

The line score is derived from the play log rather than read from a stored innings table, because the play log covers 2015 onward where that table starts in 2023. The two were compared on their overlap and agree on every inning-half except the ones the stored table marks unplayed, which is the case shown as X above: when the home club leads after the top of the last inning it does not bat, and printing a zero there would say it batted and failed to score. Games before 2015 have no play log and so no line score, only the final. Batting average in the hitting table is this game alone, not the season. Earned run average and WHIP in the pitching table are likewise this appearance, which is why a one-inning reliever who allowed a run reads 9.00. Innings come from the out count rather than the stored decimal: “6.1” means six innings and one out. No venue is shown because no MLB fixture in this database carries one.