jldbc / jldbc/pybaseball

Failing to match specific player names

Open
#250 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
1.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

My code cycles through everyone who played last year, and pulls statcast data. For 99.9% it works fine. There were a few quirks to code around, such as accents or punctuation in people's names that were throwing it off, but those were all fixable. However when I try to lookup the playerid for Yankees pitcher Michael King via playerid_lookup, it has no idea who he is. Using the fuzzy=True parameter, it gives me Michael Tonkin, Michael Kohn, Michael Kirkman, Michael Young, and Hal King. I can look up his information in the actual statcast webpage just fine. I'm not sure yet if there are any other anomalies like this.

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.