Giter Club home page Giter Club logo

cfb-database's Introduction

cfb-database

College football database - data store for all sorts of data and statistics pertaining to college football

contents

  1. description
  2. import
  3. data
  4. schema diagram
  5. future
  6. license

description

This is a PostgreSQL database meant for housing all sorts of data pertaining to college football. It is a work-in-progress that aspires to be a comprehensive dataset. It is designed for use in all sorts of data analysis and machine learning.

import

The SQL Dump file can be downloaded from this link.

To restore the dump file, follow the below steps. It is presumed that you have PostgreSQL installed on your machine as the dump file will only work with PostgreSQL.

Please note that you shouldn't have to create any schema or parse out any data. The SQL dump restore tool should do everything for you. You only need to create a blank database and a user with ownership over that database.

If you still have questions or concerns with using the restore tool, here are some steps (copied from the previous post) that have been verified to work.

create an empty databse

Run the following command to create an empty database (if you are on Windows, you may need to cd to the bin folder for Postgres in Program Files).

createdb -T template0 cfb

create user (optional)

It is recommened to create a user named 'reddit' as owner of the database. To do that, go into SQL Shell and run these commands:

CREATE ROLE reddit WITH LOGIN PASSWORD <your password here>;
ALTER ROLE reddit CREATEDB;
GRANT ALL PRIVILEGES ON DATABASE cfb TO reddit;

restore the sql dump

Restore the backup. From bash/cmd/what-have-you, run this command:

psql -U reddit cfb < /path/to/sql/dump/file.sql

data

This is a non-comprehensive list of data currently included. New types of data are frequently being added. The data is current as of the end of the 2017 season and national championship game.

  • game data
  • drive data
  • play by play data
  • team data
    • colors
    • names
  • team talent data
  • player data
    • hometown
    • position
    • height/weight
  • head coach data and records
  • player game statistics
  • team game statistics
  • venue data

diagram

Schema Diagram

future

This is a semi-prioritized non-comprehensive list of planned features.

  • Recruiting data (247 Composite)
  • Player-Play associations
  • Conference and division data
  • Betting lines
  • Weather
  • Accessibility (i.e. public hosting or a public API)
  • Real-time updates

license

MIT

cfb-database's People

Contributors

bluescar avatar

Watchers

 avatar

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.