{"sport":"mlb","slug":"rodolfo-castro","bio":{"fullName":"Rodolfo Castro","position":"SS","team":"PHI","heightInches":72,"weightLbs":205,"birthDate":"1999-05-21","rookieSeason":2021,"lastSeason":2023,"status":"ACT","externalIds":{"mlbam":"666801","chadwick":"1d5de84e","retro":"castr006","wikidata":"Q106591489"}},"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":2021,"seasonType":"REG","team":"PIT","gamesPlayed":31,"values":{"g":31,"ab":86,"r":9,"h":17,"doubles":2,"triples":0,"hr":5,"rbi":8,"sb":0,"bb":6,"so":27,"avg":0.198,"obp":0.258,"slg":0.395,"ops":0.653},"rowScope":"team"},{"season":2022,"seasonType":"REG","team":"PIT","gamesPlayed":71,"values":{"g":71,"ab":253,"r":25,"h":59,"doubles":8,"triples":4,"hr":11,"rbi":27,"sb":5,"bb":22,"so":74,"avg":0.233,"obp":0.299,"slg":0.427,"ops":0.726},"rowScope":"team"},{"season":2023,"seasonType":"REG","gamesPlayed":92,"gamesStarted":null,"values":{"g":92,"ab":227,"r":21,"h":48,"doubles":7,"triples":0,"hr":6,"rbi":24,"sb":1,"bb":23,"so":74,"avg":0.211,"slg":0.322,"obp":null,"ops":null},"team":"TOT","rowScope":"total"},{"season":2023,"seasonType":"REG","team":"PHI","gamesPlayed":14,"values":{"g":14,"ab":30,"r":2,"h":3,"doubles":0,"triples":0,"hr":0,"rbi":2,"sb":0,"bb":2,"so":12,"avg":0.1,"obp":0.156,"slg":0.1,"ops":0.256},"rowScope":"team"},{"season":2023,"seasonType":"REG","team":"PIT","gamesPlayed":78,"values":{"g":78,"ab":197,"r":19,"h":45,"doubles":7,"triples":0,"hr":6,"rbi":22,"sb":1,"bb":21,"so":62,"avg":0.228,"obp":0.317,"slg":0.355,"ops":0.672},"rowScope":"team"}],"careerTotals":{"REG":{"g":194,"ab":566,"r":55,"h":124,"doubles":17,"triples":4,"hr":22,"rbi":59,"sb":6,"bb":51,"so":175,"avg":0.219,"obp":0.292,"slg":0.38,"ops":0.672}}},{"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":2021,"seasonType":"REG","team":"PIT","values":{"ops_plus":78,"era_plus":null},"rowScope":"team"},{"season":2022,"seasonType":"REG","team":"PIT","values":{"ops_plus":104,"era_plus":null},"rowScope":"team"},{"season":2023,"seasonType":"REG","gamesPlayed":null,"gamesStarted":null,"values":{"ops_plus":null,"era_plus":null},"team":"TOT","rowScope":"total"},{"season":2023,"seasonType":"REG","team":"PHI","values":{"ops_plus":-26,"era_plus":null},"rowScope":"team"},{"season":2023,"seasonType":"REG","team":"PIT","values":{"ops_plus":82,"era_plus":null},"rowScope":"team"}],"careerTotals":{"REG":{"ops_plus":85,"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-03T01:45:00.516Z"}