MLB/Scores/AZ at SD
August 16, 2018 · 2018 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
AZ5000000005
SD0000000101
X marks a half-inning that was never played

02/Box score

12 lines
Both sides
ARIZONA DIAMONDBACKS 5
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Ketel Marte2B50100020.200
Paul Goldschmidt1B51100020.200
PITCHING
PlayerIPHERBBSOBFERAWHIP
Clay Buchholz9.05106321.000.56
SAN DIEGO PADRES 1
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Phil MatonP50000140.000
Austin HedgesC40000010.000
Matt StrahmP30000020.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Kazuhisa Makita3.11033140.001.20
Phil Maton1.2001460.000.60
Trey Wingenter1.1100350.000.75
Matt Strahm1.0000230.000.00
Robert Stock1.0002250.002.00
Jacob Nix0.255211067.5010.50

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.