MLB/Scores/NYY at KC
May 18, 2018 · 2018 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
NYY0000020002
KC10201010X5
X marks a half-inning that was never played

02/Box score

20 lines
Both sides
NEW YORK YANKEES 2
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Aaron JudgeRF40000000.000
David RobertsonP41100100.250
Gary SánchezC40000010.000
Giancarlo StantonDH41200020.500
Miguel AndujarLF30001000.000
Gleyber Torres2B20100200.500
PITCHING
PlayerIPHERBBSOBFERAWHIP
CC Sabathia5.04245243.601.60
Chasen Shreve1.0000030.000.00
David Robertson1.0111059.002.00
Jonathan Holder1.0100240.001.00
KANSAS CITY ROYALS 5
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Jakob JunisP232700130.304
Jorge SolerRF40000010.000
Brad KellerP30000010.000
Salvador PerezC31213100.667
Tim HillP20100100.500
PITCHING
PlayerIPHERBBSOBFERAWHIP
Jakob Junis5.17213243.381.50
Brad Keller1.0000130.000.00
Kelvin Herrera1.0000130.000.00
Kevin McCarthy1.0000230.000.00
Tim Hill0.2101040.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.