MLB/Scores/KC at TB
August 23, 2018 · 2018 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
KC1000200003
TB0020001014
X marks a half-inning that was never played

02/Box score

18 lines
Both sides
KANSAS CITY ROYALS 3
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Ryan O'Hearn1B40000010.000
Salvador PerezC30001010.000
Tim HillP00000100
PITCHING
PlayerIPHERBBSOBFERAWHIP
Danny Duffy5.06227243.601.60
Kevin McCarthy1.1310076.752.25
Brandon Maurer1.0100240.001.00
Jake Newberry0.2001020.001.50
Brian Flynn0.1102050.009.00
Tim Hill0.000101
TAMPA BAY RAYS 4
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Tyler GlasnowP193500383.263
Jake Bauers1B42200110.500
José AlvaradoP30000020.000
Willy AdamesSS30101220.333
Brandon Lowe2B00000000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Tyler Glasnow5.05338235.401.60
Adam Kolarek2.0200070.001.00
José Alvarado1.0000230.000.00
Sergio Romo1.0000030.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.