jldbc / pybaseball

Pull current and historical baseball statistics using Python (Statcast, Baseball Reference, FanGraphs)
MIT License
1.25k stars 333 forks source link

Fangraphs Data is Incomplete #306

Closed TobiasCortese closed 1 year ago

TobiasCortese commented 1 year ago

The functions pybaseball.pitching_stats( 2019, 2019 ) and pybaseball.datasources.fangraphs.fg_pitching_data(2019) only bring in 61 rows and obviously there were more than 61 pitchers in 2019. is this expected? if so, why? if not, is there a fix on the way?

tjburch commented 1 year ago

It's only pulling in qualified pitchers. You need to disable the qual argument. See: docs/pitching_stats.md

TobiasCortese commented 1 year ago

thanks @tjburch!