{"sport":"mlb","slug":"david-villar","bio":{"fullName":"David Villar","position":"1B","team":"SF","heightInches":71,"weightLbs":216,"birthDate":"1997-01-27","rookieSeason":2022,"lastSeason":2025,"status":"ACT","externalIds":{"mlbam":"681584","chadwick":"38160f0a","retro":"villd001","wikidata":"Q113168978"}},"draft":{"year":2018,"round":null,"pick":null,"team":null,"undrafted":false},"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":2022,"seasonType":"REG","team":"SF","rowScope":"team","gamesPlayed":52,"values":{"g":52,"ab":156,"r":21,"h":36,"doubles":6,"triples":1,"hr":9,"rbi":24,"sb":0,"bb":18,"so":58,"avg":0.231,"obp":0.331,"slg":0.455,"ops":0.786}},{"season":2023,"seasonType":"REG","team":"SF","rowScope":"team","gamesPlayed":46,"values":{"g":46,"ab":124,"r":15,"h":18,"doubles":6,"triples":0,"hr":5,"rbi":12,"sb":1,"bb":11,"so":45,"avg":0.145,"obp":0.236,"slg":0.315,"ops":0.551}},{"season":2024,"seasonType":"REG","team":"SF","rowScope":"team","gamesPlayed":11,"values":{"g":11,"ab":35,"r":3,"h":9,"doubles":4,"triples":0,"hr":1,"rbi":4,"sb":0,"bb":1,"so":13,"avg":0.257,"obp":0.27,"slg":0.457,"ops":0.727}},{"season":2025,"seasonType":"REG","team":"SF","rowScope":"team","gamesPlayed":9,"values":{"g":9,"ab":20,"r":4,"h":4,"doubles":1,"triples":0,"hr":0,"rbi":1,"sb":0,"bb":4,"so":5,"avg":0.2,"obp":0.36,"slg":0.25,"ops":0.61}}],"careerTotals":{"REG":{"g":118,"ab":335,"r":43,"h":67,"doubles":17,"triples":1,"hr":15,"rbi":41,"sb":1,"bb":34,"so":121,"avg":0.2,"obp":0.292,"slg":0.391,"ops":0.683}}},{"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":2023,"seasonType":"REG","team":"SF","rowScope":"team","gamesPlayed":1,"values":{"g":1,"gs":0,"w":0,"l":0,"sv":0,"ip":1,"so":0,"bb":1,"h":0,"er":0,"hr":0,"era":0,"whip":1}}],"careerTotals":{"REG":{"g":1,"gs":0,"w":0,"l":0,"sv":0,"ip":1,"so":0,"bb":1,"h":0,"er":0,"hr":0,"era":0,"whip":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":2022,"seasonType":"REG","team":"SF","values":{"ops_plus":116,"era_plus":null},"rowScope":"team"},{"season":2023,"seasonType":"REG","team":"SF","values":{"ops_plus":45,"era_plus":null},"rowScope":"team"},{"season":2024,"seasonType":"REG","team":"SF","values":{"ops_plus":103,"era_plus":null},"rowScope":"team"},{"season":2025,"seasonType":"REG","team":"SF","values":{"ops_plus":69,"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-10-31T01:52:10.822Z"}