MLB/Scores/PIT at SD
May 4, 2021 · 2021 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
PIT0010010002
SD0000001001
X marks a half-inning that was never played

02/Box score

26 lines
Both sides
PITTSBURGH PIRATES 2
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Mitch KellerP190200251.105
David BednarP51200000.400
Adam Frazier2B41100100.250
Bryan ReynoldsRF40201000.500
PITCHING
PlayerIPHERBBSOBFERAWHIP
Mitch Keller5.22025210.000.71
David Bednar1.0210059.002.00
Kyle Crick1.0001240.001.00
Richard Rodríguez1.0000030.000.00
Sam Howard0.1000010.000.00
SAN DIEGO PADRES 1
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Ryan WeathersP121400010.333
Emilio PagánP40100110.250
Jake Cronenworth2B40100000.250
Trent GrishamCF40100011.250
Drew PomeranzP30000000.000
Ha-Seong KimSS30000000.000
Manny Machado3B30000130.000
Jurickson ProfarLF20000210.000
Pierce JohnsonP20000110.000
Fernando Tatis Jr.RF10000000.000
Tommy PhamLF10000000.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Ryan Weathers3.04101123.001.33
Dinelson Lamet2.0400090.002.00
Drew Pomeranz1.0000030.000.00
Emilio Pagán1.0101150.002.00
Keone Kela1.0110059.001.00
Pierce Johnson1.0001130.001.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.