MLB/Scores/NYY at BOS
July 23, 2021 · 2021 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
NYY0100000012
BOS00003030X6
X marks a half-inning that was never played

02/Box score

22 lines
Both sides
NEW YORK YANKEES 2
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Gerrit ColeP203610280.300
Nestor CortesP93310030.333
Giancarlo StantonDH31100210.333
Gleyber Torres2B30100010.333
Justin WilsonP30000110.000
Gary SánchezC11000110.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Gerrit Cole5.06328235.401.60
Nestor Cortes2.03303913.501.50
Justin Wilson1.0001140.001.00
BOSTON RED SOX 6
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Eduardo RodriguezP51200110.400
Garrett WhitlockP40100010.250
Rafael DeversDH42225020.500
Christian VázquezC30000110.000
Enrique Hernández1B32200100.667
Jarren DuranLF32200110.667
Xander BogaertsSS30101020.333
PITCHING
PlayerIPHERBBSOBFERAWHIP
Phillips Valdez3.01017110.000.67
Yacksel Ríos2.0002180.001.00
Brandon Workman1.0210059.002.00
Darwinzon Hernández1.0001250.001.00
Eduardo Rodriguez1.0211169.003.00
Garrett Whitlock1.0100150.001.00

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.