{"sport":"mlb","slug":"bobby-castillo","bio":{"fullName":"Bobby Castillo","position":"P","team":"LAD","heightInches":70,"weightLbs":170,"birthDate":"1955-04-18","rookieSeason":1977,"lastSeason":1985,"status":"RET","externalIds":{"mlbam":"112119","chadwick":"e9d305fd","retro":"castr001","wikidata":"Q4934847"}},"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":1977,"seasonType":"REG","team":"LAD","gamesPlayed":6,"values":{"g":6,"ab":1,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":0,"avg":0,"obp":0,"slg":0,"ops":0},"rowScope":"team"},{"season":1978,"seasonType":"REG","team":"LAD","gamesPlayed":18,"values":{"g":18,"ab":7,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":0,"avg":0,"obp":0,"slg":0,"ops":0},"rowScope":"team"},{"season":1979,"seasonType":"REG","team":"LAD","gamesPlayed":19,"values":{"g":19,"ab":3,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":1,"avg":0,"obp":0,"slg":0,"ops":0},"rowScope":"team"},{"season":1980,"seasonType":"REG","team":"LAD","gamesPlayed":62,"values":{"g":62,"ab":9,"r":0,"h":1,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":4,"avg":0.111,"obp":0.111,"slg":0.111,"ops":0.222},"rowScope":"team"},{"season":1981,"seasonType":"REG","team":"LAD","gamesPlayed":34,"values":{"g":34,"ab":9,"r":1,"h":4,"doubles":2,"triples":0,"hr":0,"rbi":1,"sb":0,"bb":0,"so":2,"avg":0.444,"obp":0.444,"slg":0.667,"ops":1.111},"rowScope":"team"},{"season":1981,"seasonType":"POST","team":"LAD","gamesPlayed":2,"values":{"g":2,"ab":0,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":0,"avg":0,"obp":0,"slg":0,"ops":0},"rowScope":"team"},{"season":1985,"seasonType":"REG","team":"LAD","gamesPlayed":36,"values":{"g":36,"ab":10,"r":0,"h":1,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":1,"so":4,"avg":0.1,"obp":0.182,"slg":0.1,"ops":0.282},"rowScope":"team"},{"season":1985,"seasonType":"POST","team":"LAD","gamesPlayed":1,"values":{"g":1,"ab":2,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":1,"avg":0,"obp":0,"slg":0,"ops":0},"rowScope":"team"}],"careerTotals":{"REG":{"g":175,"ab":39,"r":1,"h":6,"doubles":2,"triples":0,"hr":0,"rbi":1,"sb":0,"bb":1,"so":11,"avg":0.154,"obp":0.175,"slg":0.205,"ops":0.38},"POST":{"g":3,"ab":2,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":1,"avg":0,"obp":0,"slg":0,"ops":0}}},{"id":"pitching","label":"Pitching","columns":[{"key":"g"},{"key":"gs"},{"key":"w"},{"key":"l"},{"key":"sv"},{"key":"ip"},{"key":"so"},{"key":"bb"},{"key":"h"},{"key":"er"},{"key":"hr"},{"key":"era"},{"key":"whip"}],"rows":[{"season":1977,"seasonType":"REG","team":"LAD","gamesPlayed":6,"values":{"g":6,"gs":1,"w":1,"l":0,"sv":0,"ip":11.1,"so":7,"bb":2,"h":12,"er":5,"hr":2,"era":3.97,"whip":1.24},"rowScope":"team"},{"season":1978,"seasonType":"REG","team":"LAD","gamesPlayed":18,"values":{"g":18,"gs":0,"w":0,"l":4,"sv":1,"ip":34,"so":30,"bb":33,"h":28,"er":15,"hr":2,"era":3.97,"whip":1.79},"rowScope":"team"},{"season":1979,"seasonType":"REG","team":"LAD","gamesPlayed":19,"values":{"g":19,"gs":0,"w":2,"l":0,"sv":7,"ip":24.1,"so":25,"bb":13,"h":26,"er":3,"hr":0,"era":1.11,"whip":1.6},"rowScope":"team"},{"season":1980,"seasonType":"REG","team":"LAD","gamesPlayed":61,"values":{"g":61,"gs":0,"w":8,"l":6,"sv":5,"ip":98.1,"so":60,"bb":45,"h":70,"er":30,"hr":4,"era":2.75,"whip":1.17},"rowScope":"team"},{"season":1981,"seasonType":"REG","team":"LAD","gamesPlayed":34,"values":{"g":34,"gs":1,"w":2,"l":4,"sv":5,"ip":50.2,"so":35,"bb":24,"h":50,"er":30,"hr":5,"era":5.33,"whip":1.46},"rowScope":"team"},{"season":1981,"seasonType":"POST","team":"LAD","gamesPlayed":2,"values":{"g":2,"gs":0,"w":0,"l":0,"sv":0,"ip":2,"so":1,"bb":5,"h":0,"er":1,"hr":0,"era":4.5,"whip":2.5},"rowScope":"team"},{"season":1982,"seasonType":"REG","team":"MIN","gamesPlayed":40,"values":{"g":40,"gs":25,"w":13,"l":11,"sv":0,"ip":218.2,"so":123,"bb":85,"h":194,"er":89,"hr":26,"era":3.66,"whip":1.28},"rowScope":"team"},{"season":1983,"seasonType":"REG","team":"MIN","gamesPlayed":27,"values":{"g":27,"gs":25,"w":8,"l":12,"sv":0,"ip":158.1,"so":90,"bb":65,"h":170,"er":84,"hr":17,"era":4.77,"whip":1.48},"rowScope":"team"},{"season":1984,"seasonType":"REG","team":"MIN","gamesPlayed":10,"values":{"g":10,"gs":2,"w":2,"l":1,"sv":0,"ip":25.1,"so":7,"bb":19,"h":14,"er":5,"hr":2,"era":1.78,"whip":1.3},"rowScope":"team"},{"season":1985,"seasonType":"REG","team":"LAD","gamesPlayed":35,"values":{"g":35,"gs":5,"w":2,"l":2,"sv":0,"ip":68,"so":57,"bb":41,"h":59,"er":41,"hr":9,"era":5.43,"whip":1.47},"rowScope":"team"},{"season":1985,"seasonType":"POST","team":"LAD","gamesPlayed":1,"values":{"g":1,"gs":0,"w":0,"l":0,"sv":0,"ip":5.1,"so":4,"bb":2,"h":4,"er":2,"hr":0,"era":3.38,"whip":1.13},"rowScope":"team"}],"careerTotals":{"REG":{"g":250,"gs":59,"w":38,"l":40,"sv":18,"ip":689,"so":434,"bb":327,"h":623,"er":302,"hr":67,"era":3.94,"whip":1.38},"POST":{"g":3,"gs":0,"w":0,"l":0,"sv":0,"ip":7.1,"so":5,"bb":7,"h":4,"er":3,"hr":0,"era":3.68,"whip":1.5}}},{"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":1977,"seasonType":"REG","team":"LAD","values":{"ops_plus":-100,"era_plus":98},"rowScope":"team"},{"season":1978,"seasonType":"REG","team":"LAD","values":{"ops_plus":-100,"era_plus":89},"rowScope":"team"},{"season":1979,"seasonType":"REG","team":"LAD","values":{"ops_plus":-100,"era_plus":340},"rowScope":"team"},{"season":1980,"seasonType":"REG","team":"LAD","values":{"ops_plus":-36,"era_plus":133},"rowScope":"team"},{"season":1981,"seasonType":"REG","team":"LAD","values":{"ops_plus":220,"era_plus":68},"rowScope":"team"},{"season":1982,"seasonType":"REG","team":"MIN","values":{"ops_plus":null,"era_plus":109},"rowScope":"team"},{"season":1983,"seasonType":"REG","team":"MIN","values":{"ops_plus":null,"era_plus":83},"rowScope":"team"},{"season":1984,"seasonType":"REG","team":"MIN","values":{"ops_plus":null,"era_plus":218},"rowScope":"team"},{"season":1985,"seasonType":"REG","team":"LAD","values":{"ops_plus":-16,"era_plus":66},"rowScope":"team"}],"careerTotals":{"REG":{"ops_plus":9,"era_plus":97}},"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"}