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

01/Line score

9 innings
Runs by inning
Club123456789R
KC00204003110
NYY0000221005
X marks a half-inning that was never played

02/Box score

16 lines
Both sides
KANSAS CITY ROYALS 10
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Brad KellerP234910310.391
Salvador PerezC41202000.500
Tim HillP10000010.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Brad Keller5.29431276.352.12
Jason Hammel2.0000360.000.00
Kevin McCarthy1.0411079.005.00
Tim Hill0.1000110.000.00
NEW YORK YANKEES 5
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Luis SeverinoP206810151.400
David RobertsonP53210120.400
Giancarlo StantonDH51112010.200
Gleyber Torres2B51201000.400
Miguel AndujarLF10000010.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Luis Severino4.186152212.462.08
Adam Warren2.2000180.000.00
Chasen Shreve1.0111059.002.00
David Robertson1.02312627.003.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.