MLB/Scores/PIT at STL
May 18, 2021 · 2021 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
PIT0000020002
STL22100000X5
X marks a half-inning that was never played

02/Box score

17 lines
Both sides
PITTSBURGH PIRATES 2
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
JT BrubakerP245810330.333
Adam Frazier2B40100000.250
Bryan ReynoldsRF31000120.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
JT Brubaker5.28533287.941.94
Chris Stratton2.0300190.001.50
Chasen Shreve0.1000110.000.00
ST. LOUIS CARDINALS 5
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Tommy Edman2B50302000.600
Dylan CarlsonLF41200110.500
Edmundo Sosa2B41201000.500
Paul Goldschmidt1B40000000.000
Génesis CabreraP30100000.333
Harrison BaderLF31000100.000
Nolan Arenado3B32212100.667
PITCHING
PlayerIPHERBBSOBFERAWHIP
John Gant5.15213223.381.13
Giovanny Gallegos2.0000360.000.00
Alex Reyes1.0001040.001.00
Génesis Cabrera0.2100030.001.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.