dmaclean / dfs-python

Tools for DFS data collection and projection creation.
11 stars 2 forks source link

Injury scraper might use player_id of old player #26

Closed dmaclean closed 10 years ago

dmaclean commented 10 years ago

It looks like there's a chance that the wrong _playerid could be written to the injuries table if there are multiple hits on a name. I need to modify the query to make sure we check for _rgposition not being null. This will eliminate retired players from being picked up by the query.

dmaclean commented 10 years ago

Fixed. Added “rg_position is not null” clause when querying for matching names in database. This will restrict results to current players.

Files modified: