{"sport":"mlb","slug":"oscar-villarreal","bio":{"fullName":"Oscar Villarreal","position":"P","team":"HOU","heightInches":72,"weightLbs":195,"birthDate":"1981-11-22","rookieSeason":2003,"lastSeason":2008,"status":"RET","externalIds":{"mlbam":"425629","chadwick":"153dd868","retro":"villo001","wikidata":"Q3593658"}},"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":2003,"seasonType":"REG","team":"AZ","gamesPlayed":86,"values":{"g":86,"ab":3,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":2,"avg":0,"obp":0,"slg":0,"ops":0},"rowScope":"team"},{"season":2004,"seasonType":"REG","team":"AZ","gamesPlayed":17,"values":{"g":17,"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":2005,"seasonType":"REG","team":"AZ","gamesPlayed":11,"values":{"g":11,"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":2006,"seasonType":"REG","team":"ATL","gamesPlayed":58,"values":{"g":58,"ab":7,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":3,"avg":0,"obp":0,"slg":0,"ops":0},"rowScope":"team"},{"season":2007,"seasonType":"REG","team":"ATL","gamesPlayed":51,"values":{"g":51,"ab":4,"r":0,"h":1,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":1,"avg":0.25,"obp":0.25,"slg":0.25,"ops":0.5},"rowScope":"team"},{"season":2008,"seasonType":"REG","team":"HOU","gamesPlayed":35,"values":{"g":35,"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"}],"careerTotals":{"REG":{"g":258,"ab":15,"r":0,"h":1,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":7,"avg":0.067,"obp":0.067,"slg":0.067,"ops":0.134}}},{"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":2003,"seasonType":"REG","team":"AZ","gamesPlayed":86,"values":{"g":86,"gs":1,"w":10,"l":7,"sv":0,"ip":98,"so":80,"bb":46,"h":80,"er":28,"hr":6,"era":2.57,"whip":1.29},"rowScope":"team"},{"season":2004,"seasonType":"REG","team":"AZ","gamesPlayed":17,"values":{"g":17,"gs":0,"w":0,"l":2,"sv":0,"ip":18,"so":17,"bb":7,"h":25,"er":14,"hr":3,"era":7,"whip":1.78},"rowScope":"team"},{"season":2005,"seasonType":"REG","team":"AZ","gamesPlayed":11,"values":{"g":11,"gs":0,"w":2,"l":0,"sv":0,"ip":13.2,"so":5,"bb":6,"h":11,"er":8,"hr":2,"era":5.27,"whip":1.24},"rowScope":"team"},{"season":2006,"seasonType":"REG","team":"ATL","gamesPlayed":58,"values":{"g":58,"gs":4,"w":9,"l":1,"sv":0,"ip":92.1,"so":55,"bb":27,"h":93,"er":37,"hr":13,"era":3.61,"whip":1.3},"rowScope":"team"},{"season":2007,"seasonType":"REG","team":"ATL","gamesPlayed":51,"values":{"g":51,"gs":0,"w":2,"l":2,"sv":1,"ip":76.1,"so":58,"bb":32,"h":75,"er":36,"hr":6,"era":4.24,"whip":1.4},"rowScope":"team"},{"season":2008,"seasonType":"REG","team":"HOU","gamesPlayed":35,"values":{"g":35,"gs":0,"w":1,"l":3,"sv":0,"ip":37.2,"so":21,"bb":17,"h":42,"er":21,"hr":12,"era":5.02,"whip":1.57},"rowScope":"team"}],"careerTotals":{"REG":{"g":258,"gs":5,"w":24,"l":15,"sv":1,"ip":336,"so":236,"bb":135,"h":326,"er":144,"hr":42,"era":3.86,"whip":1.37}}},{"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":2003,"seasonType":"REG","team":"AZ","values":{"ops_plus":-100,"era_plus":168},"rowScope":"team"},{"season":2004,"seasonType":"REG","team":"AZ","values":{"ops_plus":null,"era_plus":62},"rowScope":"team"},{"season":2005,"seasonType":"REG","team":"AZ","values":{"ops_plus":null,"era_plus":82},"rowScope":"team"},{"season":2006,"seasonType":"REG","team":"ATL","values":{"ops_plus":-100,"era_plus":122},"rowScope":"team"},{"season":2007,"seasonType":"REG","team":"ATL","values":{"ops_plus":34,"era_plus":99},"rowScope":"team"},{"season":2008,"seasonType":"REG","team":"HOU","values":{"ops_plus":-100,"era_plus":87},"rowScope":"team"}],"careerTotals":{"REG":{"ops_plus":-64,"era_plus":112}},"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:16:20.189Z"}