{"sport":"mlb","slug":"juan-bonilla","bio":{"fullName":"Juan Bonilla","position":"2B","team":"NYY","heightInches":69,"weightLbs":170,"birthDate":"1956-01-12","rookieSeason":1981,"lastSeason":1987,"status":"RET","externalIds":{"mlbam":"111198","chadwick":"493e0713","retro":"bonij001","wikidata":"Q6299063"}},"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":1981,"seasonType":"REG","team":"SD","gamesPlayed":99,"values":{"g":99,"ab":369,"r":30,"h":107,"doubles":13,"triples":2,"hr":1,"rbi":25,"sb":4,"bb":25,"so":23,"avg":0.29,"obp":0.337,"slg":0.344,"ops":0.681},"rowScope":"team"},{"season":1982,"seasonType":"REG","team":"SD","gamesPlayed":45,"values":{"g":45,"ab":182,"r":21,"h":51,"doubles":6,"triples":2,"hr":0,"rbi":8,"sb":0,"bb":11,"so":15,"avg":0.28,"obp":0.325,"slg":0.335,"ops":0.66},"rowScope":"team"},{"season":1983,"seasonType":"REG","team":"SD","gamesPlayed":152,"values":{"g":152,"ab":556,"r":55,"h":132,"doubles":17,"triples":4,"hr":4,"rbi":45,"sb":3,"bb":50,"so":40,"avg":0.237,"obp":0.301,"slg":0.304,"ops":0.605},"rowScope":"team"},{"season":1985,"seasonType":"REG","team":"NYY","gamesPlayed":8,"values":{"g":8,"ab":16,"r":0,"h":2,"doubles":1,"triples":0,"hr":0,"rbi":2,"sb":0,"bb":0,"so":3,"avg":0.125,"obp":0.125,"slg":0.188,"ops":0.313},"rowScope":"team"},{"season":1986,"seasonType":"REG","team":"BAL","gamesPlayed":102,"values":{"g":102,"ab":284,"r":33,"h":69,"doubles":10,"triples":1,"hr":1,"rbi":18,"sb":0,"bb":25,"so":21,"avg":0.243,"obp":0.311,"slg":0.296,"ops":0.607},"rowScope":"team"},{"season":1987,"seasonType":"REG","team":"NYY","gamesPlayed":23,"values":{"g":23,"ab":55,"r":6,"h":14,"doubles":3,"triples":0,"hr":1,"rbi":3,"sb":0,"bb":5,"so":6,"avg":0.255,"obp":0.317,"slg":0.364,"ops":0.681},"rowScope":"team"}],"careerTotals":{"REG":{"g":429,"ab":1462,"r":145,"h":375,"doubles":50,"triples":9,"hr":7,"rbi":101,"sb":7,"bb":116,"so":108,"avg":0.256,"obp":0.314,"slg":0.317,"ops":0.631}}},{"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":1981,"seasonType":"REG","team":"SD","values":{"ops_plus":98,"era_plus":null},"rowScope":"team"},{"season":1982,"seasonType":"REG","team":"SD","values":{"ops_plus":88,"era_plus":null},"rowScope":"team"},{"season":1983,"seasonType":"REG","team":"SD","values":{"ops_plus":74,"era_plus":null},"rowScope":"team"},{"season":1985,"seasonType":"REG","team":"NYY","values":{"ops_plus":-16,"era_plus":null},"rowScope":"team"},{"season":1986,"seasonType":"REG","team":"BAL","values":{"ops_plus":65,"era_plus":null},"rowScope":"team"},{"season":1987,"seasonType":"REG","team":"NYY","values":{"ops_plus":82,"era_plus":null},"rowScope":"team"}],"careerTotals":{"REG":{"ops_plus":79,"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"}