Skip to content
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

No data for the Miami and Tampa Bay Week 11 - 2017 game #288

Open
mesee298 opened this issue Nov 19, 2017 · 6 comments
Open

No data for the Miami and Tampa Bay Week 11 - 2017 game #288

mesee298 opened this issue Nov 19, 2017 · 6 comments

Comments

@mesee298
Copy link

mesee298 commented Nov 19, 2017

There is no data in any of the tables for this game except for the game table. This was supposed to be their bye week, but it was moved back to week 1.

How can I get that data?

@mesee298
Copy link
Author

Also checked in nflgame, and there is nothing their either.

@ochawkeye
Copy link
Contributor

ochawkeye commented Nov 20, 2017 via email

@mesee298
Copy link
Author

I’m confused on how the database can be correct, but not the Json? Any who, what is the command to update the schedule, and how often should it be ran manually?

@ochawkeye
Copy link
Contributor

ochawkeye commented Nov 21, 2017

I’m confused on how the database can be correct, but not the Json?

Doesn't sound like your datebase is correct...

Any who, what is the command to update the schedule...

From your python scripts folder: python nflgame-update-schedule --year 2017

,,,and how often should it be ran manually?

Any time the NFL schedule changes which is surprisingly often. Normally, nfldb-update takes care of this for you by refreshing the current week by default. But your case was pretty rare with a game getting rescheduled. The NFL does allow itself to flex games into Sunday night from week 5 on, though, so it's not entirely out of the realm of possibility that the NFL would change the schedule on you and nflgame|nfldb wouldn't have any idea that it happened unless you diligently use it every week.

@ariannedee
Copy link

ariannedee commented Nov 22, 2017

@mesee298
I found an issue in nflgame that was causing update_sched.py to update from the wrong url (postseason instead of regular).

You can see in my answer here, but the short answer is:

In nflgame/live.py, line 73 needs to be commented out and line 68 commented in.

Then when you run python update_sched.py --year 2017 it should be getting up-to-date game info.

@MargareeMan
Copy link

MargareeMan commented Nov 25, 2018

@mesee298 and @ochawkeye and @ariannedee
I apologize to everyone. I did not see this issue and I opened an issue to indicate how I solved this issue (and how it occurred for me in the first place). See #308 . The data for this game (and all related tables: drive, play and play_player) is in the post. the agg_play updates automatically when you insert the data into play_player.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants