jldbc / jldbc/pybaseball

Fangraphs Data Pull Request

Open
#240 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

Hello,
Is there a way to request a fangraph split stats as a pybaseball module? Based on my understanding of the code, the fangraph functions batting_stats and pitching_stats only apply to 'standard' batting and fielding data. Can this be created for the datapoints reflected in this output

> https://www.fangraphs.com/leaders/splits-leaderboards?splitArr=&splitArrPitch=&position=P&autoPt=true&splitTeams=false&statType=player&statgroup=1&startDate=2021-03-01&endDate=2021-11-01&players=&filter=&groupBy=season&sort=-1,1

I also could not find the code referenced from the 'pitching_stats' method, only the doc. Is there a way to view the underlying code? I could try to create something comparable to scrape from Fangraphs - although it will likely take a bit of trial and error! Heavy on the latter part!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.