Comments (9)
If you have data from before 2009 that fits with the existing schema, then the best thing to do would be to share it. :-)
But to answer your question... No, nfldb-update
should not touch your data. The auto update script works with data in nflgame
as ground truth, so it will only modify data connected to it.
More to the point, once a game is finished, it is considered immutable. nfldb-update
will never modify games that are finished. If your data is pre-2009, then make sure finished
is set in the game
table and you should be good to go.
These semantics imply that nfldb-update
is, for the most part, idempotent with respect to games that are not being played.
Seriously though, would you be interested in contributing your pre-2009 data? AFAIK, the only way to get a hold of it freely is to parse play descriptions, which looks nearly impossible with respect to the granularity expected by nfldb
.
from nfldb.
@TobiasHansen Ping. I'd be really interested to hear how you came across pre-2009 data. It'd be great if we could collaborate. :-)
from nfldb.
Sorry for my late reply, I went on a holiday right after I posted that question, so havent been around a computer before now.
I am working on an NFL stats application, where I want to add stats pre 2009, thought I really doubt I will find anything that fits the NFLDB, so I think I will need to make a new one, but not totally decided what to do next.
But if I ever find anything that fits, I will for sure share it here :)
from nfldb.
@TobiasHansen Ah, neat. What do you have so far? It would be nice to collaborate.
The key, I think, is parsing those play descriptions...
from nfldb.
Not much tbh.
This is my first attempt on a real application. So I am starting with what seams easiest at the moment, and so far I only have made some code who took the Game Result .csv files from this site: http://www.pro-football-reference.com/, and making an All-Time Team Standings :)
I am however making my application in Java, so not sure if what I do fits into this project?
from nfldb.
This project is absolutely suitable. The Python is entirely incidental. The main contribution of this project is a database. You can use the database independent of the Python. You can import the database, run nfldb-update
whenever you want to ingest new data while also adding your own data from before 2009.
Your main problem is getting data from before 2009. You need play by play data for it to work with nfldb. If you can't get that, then you're right, nfldb
is not the right project.
from nfldb.
@BurntSushi, have you seen this data
http://www.advancedfootballanalytics.com/2010/04/play-by-play-data.html
from nfldb.
As an extension of @teamfball 's question (and so I can research it when not in my phone...)
https://github.com/veltman/nflplays is based on the data gathered on that site and referenced in the comments of the page linked.
from nfldb.
@teamfball Yes. Although it says "play by play" data, it is not really. It's just play descriptions with a few easy attributes extracted. The challenge is to pull out player events from those descriptions. (For every play, there are zero or more player events.)
from nfldb.
Related Issues (20)
- Any active users here? HOT 36
- nfldb-update: command not found HOT 4
- New Season HOT 2
- pip freeze
- Has the NFL ever complained about this project? HOT 2
- pip error
- Game gsis_id = 2017111911 missing in schedule.json (Ochawkeye issue #298)
- Not able to install in Windows HOT 2
- pip installation error HOT 1
- ConfigParser with-update HOT 1
- GSIS ID 2019090808 (CIN @ SEA) stored incomplete JSON to database, unable to replace HOT 4
- Bulk Upload 2017-2019 nfldb-update HOT 4
- Installed and ran nfldb-update. Data Missing for 2017 and 2018 HOT 2
- Expected Points & Win Probability HOT 1
- KeyError Gsis_id = 2019122202
- NFL Update HOT 1
- Anyone have a .sql export with 2019? HOT 1
- XML feeds removed from NFL website? HOT 4
- NFL db update on Anaconda help HOT 1
- Odoo v14 error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nfldb.