nflverse / nfl_data_py

Python code for working with NFL play by play data.
MIT License
259 stars 50 forks source link

2021 import_weekly_data column 'recent_team' returns "LA" for Rams players instead of "LAR" #29

Closed ace51689 closed 2 years ago

ace51689 commented 2 years ago

Not sure if this is intended, or if it extends to any prior seasons.

alecglen commented 2 years ago

Hi @ace51689! That is actually intentional, at least in that it's how the abbreviation comes in from the source data this package references.

You'll see it's consistent across datasets if you pull e.g. the play-by-play or schedules, and it does extend back as long as the team has been in Los Angeles. (Prior to that they are labeled as "STL" for St. Louis.)