MLB/Scores/PIT at SD
June 30, 2018 · 2018 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
PIT0000010023
SD01102000X4
X marks a half-inning that was never played

02/Box score

17 lines
Both sides
PITTSBURGH PIRATES 3
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Trevor WilliamsP174410240.235
Tyler GlasnowP60000030.000
Starling MarteLF50000030.000
Elias DíazC41101010.250
Josh Bell1B30100110.333
PITCHING
PlayerIPHERBBSOBFERAWHIP
Trevor Williams4.24424207.711.29
Tyler Glasnow2.0000360.000.00
Richard Rodríguez1.1100250.000.75
SAN DIEGO PADRES 4
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Joey LucchesiP150100450.067
Matt StrahmP51200010.400
Kirby YatesP30000010.000
Austin HedgesC21000120.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Joey Lucchesi5.01045190.001.00
Brad Hand1.03201618.003.00
Craig Stammen1.0100240.001.00
Kirby Yates1.0000130.000.00
Matt Strahm1.0210159.002.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.