-
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
Query player stats against opponent error #28
Comments
Your question is a little strange. :P Your query is e.g., |
Closing for now. Please re-open if I misunderstood your question! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I finally got nfldb to work so I've been having fun learning the past month. But I have come across something I am not sure how to fix or why it's going wrong. Take the following code that gets all the stats for Jay Cutler vs Green Bay since 2009.
easy enough. But if you take a look at some of his stats, he also has some rushing yds, fumbles, sacks.. that I would like to account for as well. If I try to get those stats,
output is:
0 0 0 0
I know this isn't accurate. It should be more like:
29 sacks 14 rushing att 92 rushing yds 2 fumbles.
Is there some query method where I can get every possible stat from the given player in one query, rather then having to make a new query for each statistical category. If I change
in the above code to I get the rushing stats, still no sacks, and now Im without passing yards as well. I could combine another query to get sacks but I feel like there has to be a better way??Any suggestions?
Thanks,
Roger
The text was updated successfully, but these errors were encountered: