-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LA Rams Schedule Is Not Set Past Current Week #206
Comments
You're right. Does appear to be an issue. import nfldb
db = nfldb.connect()
q = nfldb.Query(db)
q.game(season_year=2016, week=17, season_type='Regular')
for game in q.as_games():
print game
print '-'*79
q = nfldb.Query(db)
q.game(season_year=2016, week=17, season_type='Regular', team='ARI')
for game in q.as_games():
print game
print '-'*79
q = nfldb.Query(db)
q.game(season_year=2016, week=17, season_type='Regular', team='LA')
for game in q.as_games():
print game
print '-'*79
The file schedule.json correctly shows that this game pits
But it looks like the database might have been built before a fix was implemented? nfldb=> select * from game where season_year = 2016 and week = 17;
|
I think I had this issue when first updating the db to add the LA rams, but it's no longer a problem for me.
Try searching for 'UNK' home and away teams. The problem was resolved in the last commit 980cb8f but you probably ran an |
Thanks @andr3w321 that process did work to fix the issue for me. Is there something we can do that would check for diffs between existing DB rows and the most current version and update automatically without causing a huge overhead? |
I had this same issue as a new install that I did on Sep 13, 2016 15:10 CST. Running 0.2.17. @andr3w321 fix helped me |
Most teams have their future games included in the database even if they are yet to be played, which makes it possible to build a team's upcoming schedule out.
The LA Rams don't have their games in the DB and after an update they still don't show up in mine. When doing a search for LA games in the current season the only games returned are those that are already completed, but none in the future.
See below for results of a query for the LA games compared to those from the Patriots which are what I see for all other active teams.
Is this an issue with an API the feed is built on, or something I can fill in and submit?
The text was updated successfully, but these errors were encountered: