pybaseball icon indicating copy to clipboard operation
pybaseball copied to clipboard

Feature Request: Position Appearances

Open ttaylor14 opened this issue 6 years ago • 3 comments

It may be a difficult feature to add, but I would like to see the addition of player position appearances added. I realize this data is recorded in the Lahman Database, but that does not include the current season appearances. This information could be valuable in determining differences between positions, position scarcity, and other important areas of analysis.

ttaylor14 avatar Oct 06 '19 04:10 ttaylor14

is there a data source for this?

schorrm avatar Oct 06 '19 07:10 schorrm

I know a lot of Fantasy websites have ways of tabulating this information such as: https://www.rotowire.com/baseball/games-by-pos.php https://www.draftbuddy.com/baseball/games_played_by_position.php https://www.baseball-reference.com/leagues/MLB/2019-appearances-fielding.shtml

I am unsure where else this data might be located besides sorting through team rosters for every game of the year. However, I will keep searching.

ttaylor14 avatar Oct 06 '19 13:10 ttaylor14

That B-Ref link looks pretty similar to the Lahman format -- it shouldn't be hard to do that based on the existing functions to scrape B-Ref tables

schorrm avatar Oct 06 '19 15:10 schorrm