jthomasmock / espnscrapeR

Scrapes Or Collects NFL Data From ESPN
https://jthomasmock.github.io/espnscrapeR/
Other
51 stars 10 forks source link

Error in player name for players on multiple teams throughout the year #2

Closed samhoppen closed 4 years ago

samhoppen commented 4 years ago

When running the scrape_espn_stats() function, I noticed that players who were on multiple teams have an error. For example, Kenyan Drake's name shows up as "Kenyan DrakeMIA/" with "ARI" showing up in the "team" field. Same thing for Josh Gordon's name showing up as "Josh GordonNE/" with "SEA" appearing in the "team" field.

jthomasmock commented 4 years ago

Most recent update fixes this - thanks for letting me know!

The logic should be in place for a player across multiple teams (1, 2, 3, or more).