MLB/Scores/KC at CWS
August 19, 2018 · 2018 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
KC0600000006
CWS00061000X7
X marks a half-inning that was never played

02/Box score

14 lines
Both sides
KANSAS CITY ROYALS 6
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Salvador PerezC50000050.000
Ryan O'Hearn1B41112010.250
PITCHING
PlayerIPHERBBSOBFERAWHIP
Brian Flynn3.02122123.001.33
Heath Fillmyer3.076131718.002.67
Jason Hammel2.0101480.001.00
CHICAGO WHITE SOX 7
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Reynaldo LópezP126630150.500
Yoán Moncada3B40000020.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Héctor Santiago4.02026160.001.00
Reynaldo López2.066151327.003.50
Luis Avilán1.0000130.000.00
Jace Fry0.2000220.000.00
Xavier Cedeño0.2000120.000.00
Jeanmar Gómez0.1100120.003.00
Thyago Vieira0.1000010.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.