{"sport":"mlb","slug":"ramon-aviles","bio":{"fullName":"Ramon Aviles","position":"2B","team":"PHI","heightInches":69,"weightLbs":155,"birthDate":"1952-01-22","rookieSeason":1977,"lastSeason":1981,"status":"RET","externalIds":{"mlbam":"110399","chadwick":"0de9ec29","retro":"avilr101","wikidata":"Q7290437"}},"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":"BOS","gamesPlayed":1,"values":{"g":1,"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":1979,"seasonType":"REG","team":"PHI","gamesPlayed":27,"values":{"g":27,"ab":61,"r":7,"h":17,"doubles":2,"triples":0,"hr":0,"rbi":12,"sb":0,"bb":8,"so":8,"avg":0.279,"obp":0.371,"slg":0.311,"ops":0.682},"rowScope":"team"},{"season":1980,"seasonType":"REG","team":"PHI","gamesPlayed":51,"values":{"g":51,"ab":101,"r":12,"h":28,"doubles":6,"triples":0,"hr":2,"rbi":9,"sb":0,"bb":10,"so":9,"avg":0.277,"obp":0.336,"slg":0.396,"ops":0.732},"rowScope":"team"},{"season":1980,"seasonType":"POST","team":"PHI","gamesPlayed":1,"values":{"g":1,"ab":0,"r":1,"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":1981,"seasonType":"REG","team":"PHI","gamesPlayed":38,"values":{"g":38,"ab":28,"r":2,"h":6,"doubles":1,"triples":0,"hr":0,"rbi":3,"sb":0,"bb":3,"so":5,"avg":0.214,"obp":0.29,"slg":0.25,"ops":0.54},"rowScope":"team"},{"season":1981,"seasonType":"POST","team":"PHI","gamesPlayed":1,"values":{"g":1,"ab":0,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":1,"so":0,"avg":0,"obp":1,"slg":0,"ops":1},"rowScope":"team"}],"careerTotals":{"REG":{"g":117,"ab":190,"r":21,"h":51,"doubles":9,"triples":0,"hr":2,"rbi":24,"sb":0,"bb":21,"so":22,"avg":0.268,"obp":0.341,"slg":0.347,"ops":0.688},"POST":{"g":2,"ab":0,"r":1,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":1,"so":0,"avg":0,"obp":1,"slg":0,"ops":1}}},{"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":1979,"seasonType":"REG","team":"PHI","values":{"ops_plus":90,"era_plus":null},"rowScope":"team"},{"season":1980,"seasonType":"REG","team":"PHI","values":{"ops_plus":110,"era_plus":null},"rowScope":"team"},{"season":1981,"seasonType":"REG","team":"PHI","values":{"ops_plus":59,"era_plus":null},"rowScope":"team"}],"careerTotals":{"REG":{"ops_plus":96,"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"}