MLB/Scores/KC at NYY
July 26, 2018 · 2018 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
KC0000020002
NYY20041000X7
X marks a half-inning that was never played

02/Box score

20 lines
Both sides
KANSAS CITY ROYALS 2
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Jakob JunisP227910230.409
Salvador PerezC41112010.250
Jason AdamP30000010.000
Tim HillP10000010.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Jakob Junis4.29323275.792.36
Brandon Maurer1.0001140.001.00
Brian Flynn1.0200040.002.00
Jason Adam1.0000130.000.00
Tim Hill0.1000110.000.00
NEW YORK YANKEES 7
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Sonny GrayP180300252.167
David RobertsonP40100031.250
Gleyber Torres2B40100010.250
Miguel AndujarLF31100000.333
Giancarlo StantonDH20001110.000
Aaron JudgeRF111000001.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Sonny Gray5.03025200.001.00
Adam Warren1.02202518.002.00
Chasen Shreve1.0300150.003.00
David Robertson1.0100340.001.00
Zack Britton1.0000130.000.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.