MLB/Scores/KC at DET
April 20, 2018 · 2018 · Regular season

01/Line score

10 innings
Runs by inning
Club12345678910R
KC00000110002
DET00002000013
X marks a half-inning that was never played

02/Box score

11 lines
Both sides
KANSAS CITY ROYALS 2
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Brad KellerP21110000.500
PITCHING
PlayerIPHERBBSOBFERAWHIP
Jason Hammel9.05224322.000.78
Brad Keller0.11100227.003.00
DETROIT TIGERS 3
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Joe JiménezP50200010.400
James McCannC41200000.500
Nick CastellanosRF40100000.250
Jose Iglesias2B30000010.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Michael Fulmer7.08214292.571.29
Daniel Stumpf1.0200150.002.00
Joe Jiménez1.0200150.002.00
Shane Greene1.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.