MLB/Scores/NYM at NYY
July 4, 2021 · 2021 · Regular season

01/Line score

7 innings
Runs by inning
Club1234567R
NYM00020002
NYY030010X4
X marks a half-inning that was never played

02/Box score

20 lines
Both sides
NEW YORK METS 2
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Brandon NimmoLF30000020.000
Dominic Smith1B31100010.333
Francisco LindorSS30000000.000
Pete Alonso1B31112000.333
James McCannC20100110.500
Michael ConfortoLF20000110.000
Miguel CastroP20000010.000
Jeff McNeil2B10000010.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Corey Oswalt4.04314166.751.25
Trevor May1.0000230.000.00
Miguel Castro0.2000120.000.00
Aaron Loup0.10120327.006.00
NEW YORK YANKEES 4
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Nestor CortesP121200040.167
Aaron JudgeRF30000000.000
Gary SánchezC30000020.000
Giancarlo StantonDH30000010.000
Miguel AndujarLF10000100.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Nestor Cortes3.12104122.700.60
Chad Green3.0000690.000.00
Darren O'Day0.21121513.504.50

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.