{"sport":"mlb","slug":"pedro-avila","bio":{"fullName":"Pedro Avila","position":"P","team":"CLE","heightInches":71,"weightLbs":210,"birthDate":"1997-01-14","rookieSeason":2019,"lastSeason":2024,"status":"ACT","externalIds":{"mlbam":"658648","chadwick":"9bf5560e","retro":"avilp001","wikidata":"Q64978827"}},"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":2019,"seasonType":"REG","team":"SD","gamesPlayed":1,"values":{"g":1,"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":2021,"seasonType":"REG","team":"SD","gamesPlayed":1,"values":{"g":1,"ab":1,"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":2024,"seasonType":"REG","team":"CLE","gamesPlayed":50,"values":{"g":50,"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"}],"careerTotals":{"REG":{"g":72,"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":2019,"seasonType":"REG","team":"SD","gamesPlayed":1,"values":{"g":1,"gs":1,"w":0,"l":0,"sv":0,"ip":5.1,"so":5,"bb":2,"h":4,"er":1,"hr":0,"era":1.69,"whip":1.13},"rowScope":"team"},{"season":2021,"seasonType":"REG","team":"SD","gamesPlayed":1,"values":{"g":1,"gs":1,"w":0,"l":1,"sv":0,"ip":4,"so":5,"bb":3,"h":4,"er":1,"hr":1,"era":2.25,"whip":1.75},"rowScope":"team"},{"season":2022,"seasonType":"REG","team":"SD","gamesPlayed":2,"values":{"g":2,"gs":0,"w":0,"l":0,"sv":0,"ip":4,"so":5,"bb":1,"h":3,"er":2,"hr":1,"era":4.5,"whip":1},"rowScope":"team"},{"season":2023,"seasonType":"REG","team":"SD","gamesPlayed":14,"values":{"g":14,"gs":6,"w":2,"l":2,"sv":0,"ip":50.1,"so":54,"bb":25,"h":43,"er":18,"hr":3,"era":3.22,"whip":1.35},"rowScope":"team"},{"season":2024,"seasonType":"REG","gamesPlayed":54,"gamesStarted":null,"values":{"g":54,"gs":0,"w":6,"l":1,"sv":1,"so":82,"bb":36,"h":73,"er":35,"hr":8,"ip":82.2,"era":3.81,"whip":1.32},"team":"TOT","rowScope":"total"},{"season":2024,"seasonType":"REG","team":"CLE","gamesPlayed":50,"values":{"g":50,"gs":0,"w":5,"l":1,"sv":1,"ip":74.2,"so":73,"bb":30,"h":68,"er":27,"hr":7,"era":3.25,"whip":1.31},"rowScope":"team"},{"season":2024,"seasonType":"REG","team":"SD","gamesPlayed":4,"values":{"g":4,"gs":0,"w":1,"l":0,"sv":0,"ip":8,"so":9,"bb":6,"h":5,"er":8,"hr":1,"era":9,"whip":1.38},"rowScope":"team"},{"season":2024,"seasonType":"POST","team":"CLE","gamesPlayed":3,"values":{"g":3,"gs":0,"w":1,"l":0,"sv":0,"ip":4,"so":3,"bb":2,"h":0,"er":0,"hr":0,"era":0,"whip":0.5},"rowScope":"team"}],"careerTotals":{"REG":{"g":72,"gs":8,"w":8,"l":4,"sv":1,"ip":146.1,"so":151,"bb":67,"h":127,"er":57,"hr":13,"era":3.51,"whip":1.33},"POST":{"g":3,"gs":0,"w":1,"l":0,"sv":0,"ip":4,"so":3,"bb":2,"h":0,"er":0,"hr":0,"era":0,"whip":0.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":2019,"seasonType":"REG","team":"SD","values":{"ops_plus":-100,"era_plus":261},"rowScope":"team"},{"season":2021,"seasonType":"REG","team":"SD","values":{"ops_plus":-100,"era_plus":188},"rowScope":"team"},{"season":2022,"seasonType":"REG","team":"SD","values":{"ops_plus":null,"era_plus":91},"rowScope":"team"},{"season":2023,"seasonType":"REG","team":"SD","values":{"ops_plus":null,"era_plus":137},"rowScope":"team"},{"season":2024,"seasonType":"REG","gamesPlayed":null,"gamesStarted":null,"values":{"ops_plus":null,"era_plus":null},"team":"TOT","rowScope":"total"},{"season":2024,"seasonType":"REG","team":"CLE","values":{"ops_plus":null,"era_plus":111},"rowScope":"team"},{"season":2024,"seasonType":"REG","team":"SD","values":{"ops_plus":null,"era_plus":46},"rowScope":"team"}],"careerTotals":{"REG":{"ops_plus":-100,"era_plus":113}},"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-02T23:40:40.001Z"}