{"sport":"mlb","slug":"kyle-cody","bio":{"fullName":"Kyle Cody","position":"P","team":"TEX","heightInches":79,"weightLbs":225,"birthDate":"1994-08-09","rookieSeason":2020,"lastSeason":2021,"status":"RET","externalIds":{"mlbam":"621129","chadwick":"cae4292e","retro":"codyk001","wikidata":"Q20090470"}},"draft":{"year":2016,"round":null,"pick":null,"team":null,"undrafted":false},"statTables":[{"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":2020,"seasonType":"REG","team":"TEX","gamesPlayed":8,"values":{"g":8,"gs":5,"w":1,"l":1,"sv":0,"ip":22.2,"so":18,"bb":13,"h":15,"er":4,"hr":1,"era":1.59,"whip":1.24},"rowScope":"team"},{"season":2021,"seasonType":"REG","team":"TEX","gamesPlayed":7,"values":{"g":7,"gs":0,"w":0,"l":2,"sv":0,"ip":11.1,"so":14,"bb":2,"h":16,"er":10,"hr":3,"era":7.94,"whip":1.59},"rowScope":"team"}],"careerTotals":{"REG":{"g":15,"gs":5,"w":1,"l":3,"sv":0,"ip":34,"so":32,"bb":15,"h":31,"er":14,"hr":4,"era":3.71,"whip":1.35}}},{"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":2020,"seasonType":"REG","team":"TEX","values":{"ops_plus":null,"era_plus":287},"rowScope":"team"},{"season":2021,"seasonType":"REG","team":"TEX","values":{"ops_plus":null,"era_plus":55},"rowScope":"team"}],"careerTotals":{"REG":{"ops_plus":null,"era_plus":119}},"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"}