{"sport":"mlb","slug":"joe-pettini","bio":{"fullName":"Joe Pettini","position":"SS","team":"SF","heightInches":69,"weightLbs":165,"birthDate":"1955-01-26","rookieSeason":1980,"lastSeason":1983,"status":"RET","externalIds":{"mlbam":"120480","chadwick":"6adb3491","retro":"pettj101","wikidata":"Q6211789"}},"draft":null,"statTables":[{"id":"batting","label":"Batting","columns":[{"key":"g"},{"key":"ab"},{"key":"r"},{"key":"h"},{"key":"doubles"},{"key":"triples"},{"key":"hr"},{"key":"rbi"},{"key":"sb"},{"key":"bb"},{"key":"so"},{"key":"avg"},{"key":"obp"},{"key":"slg"},{"key":"ops"}],"rows":[{"season":1980,"seasonType":"REG","team":"SF","gamesPlayed":63,"values":{"g":63,"ab":190,"r":19,"h":44,"doubles":3,"triples":1,"hr":1,"rbi":9,"sb":5,"bb":17,"so":33,"avg":0.232,"obp":0.295,"slg":0.274,"ops":0.569},"rowScope":"team"},{"season":1981,"seasonType":"REG","team":"SF","gamesPlayed":35,"values":{"g":35,"ab":29,"r":3,"h":2,"doubles":1,"triples":0,"hr":0,"rbi":2,"sb":1,"bb":4,"so":5,"avg":0.069,"obp":0.182,"slg":0.103,"ops":0.285},"rowScope":"team"},{"season":1982,"seasonType":"REG","team":"SF","gamesPlayed":29,"values":{"g":29,"ab":39,"r":5,"h":8,"doubles":1,"triples":0,"hr":0,"rbi":2,"sb":0,"bb":3,"so":4,"avg":0.205,"obp":0.262,"slg":0.231,"ops":0.493},"rowScope":"team"},{"season":1983,"seasonType":"REG","team":"SF","gamesPlayed":61,"values":{"g":61,"ab":86,"r":11,"h":16,"doubles":0,"triples":1,"hr":0,"rbi":7,"sb":4,"bb":9,"so":11,"avg":0.186,"obp":0.26,"slg":0.209,"ops":0.469},"rowScope":"team"}],"careerTotals":{"REG":{"g":188,"ab":344,"r":38,"h":70,"doubles":5,"triples":2,"hr":1,"rbi":20,"sb":10,"bb":33,"so":53,"avg":0.203,"obp":0.272,"slg":0.238,"ops":0.51}}},{"id":"advanced","label":"Advanced (League-Relative)","columns":[{"key":"ops_plus","label":"OPS+","description":"On-base plus slugging vs the player's own season+league (100 = league average). Park-unadjusted; OBP uses a consistent (H+BB)/(AB+BB) rate. Higher is better.","format":"int","higherIsBetter":true},{"key":"era_plus","label":"ERA+","description":"Earned-run average vs the player's own season+league (100 = league average). Park-unadjusted. Higher is better.","format":"int","higherIsBetter":true}],"rows":[{"season":1980,"seasonType":"REG","team":"SF","values":{"ops_plus":63,"era_plus":null},"rowScope":"team"},{"season":1981,"seasonType":"REG","team":"SF","values":{"ops_plus":-15,"era_plus":null},"rowScope":"team"},{"season":1982,"seasonType":"REG","team":"SF","values":{"ops_plus":42,"era_plus":null},"rowScope":"team"},{"season":1983,"seasonType":"REG","team":"SF","values":{"ops_plus":37,"era_plus":null},"rowScope":"team"}],"careerTotals":{"REG":{"ops_plus":48,"era_plus":null}},"advancedMeta":{"method":"computed in-house from MLB StatsAPI season batting/pitching lines, normalized to each player's own (season, league) baseline","formulas":{"era_plus":"100 * lgERA / playerERA (league ERA = 9 * ΣER / ΣIP over the season+league)","ops_plus":"100 * (OBP/lgOBP + SLG/lgSLG - 1)","career_era_plus":"innings-weighted league ERA / career ERA (B-Ref method)","career_ops_plus":"AB-weighted OBP & SLG against AB-weighted league rates"},"caveats":["PARK-UNADJUSTED: no park-factor data exists in the corpus, so these are league-relative but not park-adjusted (true B-Ref ERA+/OPS+ also divide by a park factor)","OBP baseline uses a consistent (H+BB)/(AB+BB) reached-base rate for BOTH player and league — the source feed carries no HBP or SF, so this is not the full (H+BB+HBP)/(AB+BB+HBP+SF) OBP; SLG is exact from the hit-type columns","league resolved from team code + season (most-recently-founded franchise existing by that season); the same resolver builds the baseline and looks up the player, so ratios stay internally coherent","a (season, league) bucket below the sample floor (3000 AB batting / 1000 IP pitching) yields null — no noisy baselines","regular season only; postseason lines are excluded from league baselines and metrics","AL and NL and each historical/Negro league are normalized separately — never blended across leagues or eras"]}}],"dataSources":["MLB StatsAPI (statsapi.mlb.com — official public league API; facts only, raw payloads not republished)"],"generatedAt":"2026-07-03T02:49:47.141Z"}