Get shots for specific season instead of all shots.
mpope9 opened this issue · 1 comments
mpope9 commented
OK, so the way shot_chart_detail
is loaded can be simplified, potentially. Right now we fetch all shots for each player + team combo into a temp table. We then insert from the temp table into the main shot_chart_detail
if the games exist. Instead, it'd be useful to try and fetch from the shotchartdetail API just for the games in the season. By also passing the GameID parameter.
The downside is that this could generate more requests and result in worse performance.