MLB/Scores/KC at PIT
September 17, 2018 · 2018 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
KC0010400106
PIT0012001217
X marks a half-inning that was never played

02/Box score

18 lines
Both sides
KANSAS CITY ROYALS 6
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Brad KellerP2841000170.357
Ryan O'Hearn1B41212000.500
Salvador PerezC41101000.250
Ben LivelyP31200200.667
Tim HillP20100000.500
PITCHING
PlayerIPHERBBSOBFERAWHIP
Brad Keller6.010417296.001.83
Kevin McCarthy1.03201618.003.00
Ben Lively0.22120513.506.00
Jake Newberry0.2000020.000.00
Tim Hill0.1100020.003.00
PITTSBURGH PIRATES 7
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Joe MusgroveP255800040.320
Starling MarteLF50201010.400
Josh Bell1B40201100.500
Adam Frazier2B212021001.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Joe Musgrove6.08504287.501.33
Edgar Santana1.0000030.000.00
Michael Feliz1.0100140.001.00
Steven Brault1.0110049.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.