-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Chadwick Register functionality * Lookup Table
- Loading branch information
Showing
3 changed files
with
75 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Player ID Lookup | ||
|
||
`chadwick_register(save: bool = False)` | ||
|
||
Get the Chadwick register people info. | ||
|
||
## Arguments | ||
|
||
`save:` bool. Save the file to disk. | ||
|
||
<!-- This data comes from Chadwick Bureau, meaning that there are several people in this data who are not MLB players. For this reason, supplying both last and first name is recommended to narrow your search. --> | ||
|
||
## Example | ||
|
||
```python | ||
from pybaseball import chadwick_register | ||
|
||
# get the register data | ||
data = chadwick_register() | ||
|
||
# get the register data and save to disk | ||
data = chadwick_register(save=True) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters