Comments (3)
Did a quick refactor of the create_db.py
code with ba71460 to make it into a class. Still relies on reading in the json file, and is hard-coded for the profiles.json
data. Reading more into SQLAlchemy so tables can be made dynamically.
from nfl-player-stats.
Nice :). Go ahead and read up on SQLAlchemy for this dataset. It looks like we are going to use Django on the full project since we will be managing a lot of tables and data sources. Django has an ORM that abstracts writing SQL, including the creating of tables. It's pretty nice once you get the hang of it. Here is the documentation:
https://docs.djangoproject.com/en/2.0/topics/db/models/
I'd be happy to help everyone learn it as we get started.
from nfl-player-stats.
I've done a basic django tutorial or two in the past but didn't do nearly enough to get an intuitive sense of how it works. This will give me a great excuse to really dive into it. I'm sure I'll have many questions for you!
from nfl-player-stats.
Related Issues (9)
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 nfl-player-stats.