Giter Site home page Giter Site logo

Comments (3)

liamhawkins avatar liamhawkins commented on July 17, 2024

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.

zackthoutt avatar zackthoutt commented on July 17, 2024

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.

liamhawkins avatar liamhawkins commented on July 17, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.