Giter VIP home page Giter VIP logo

database-grad-project-fall-22's Introduction

database-grad-project-fall-22

INTRODUCTION

This project organizes data from a Kaggle dataset that consists of information about teams, players, and games from European football. The dataset focuses on the top five European leagues for the 2014-2020 seasons which include Premier League of England, Serie A of Italy, Bundesliga of Germany, La Liga of Spain, and Ligue 1 of France. The data is organized as a relational model as it provides an ideal structure for the chosen dataset given the number of interactions and relationships among teams, players, and managers over time.

TECHNOLOGIES

The project was created with:

  • Python v3.8
  • Pandas
  • Numpy
  • PostgreSQL using Heroku PostgreSQL deployment

Running a SQL Query Using Heroku PostgreSQL Dataclip

Using The Database

The owner of the Heroku app can directly access and query the database using the dataclip function default to the Heroku Postgresql add-on, see Figure [1]. Running a SQL Query Using Heroku PostgreSQL Dataclip

Other users can also query the football database by connecting through pgAdmin. The following information is needed to connect to the database and can be found in the 'Settings' tab of the Heroku web dashboard, see Figure [2].

  • Host

  • Database Name

  • User

  • Port

PostgreSQL Database Credentials

The corresponding location to fill into PgAdmin 'register database' wizard is shown in Figure [3]. The 'Register-Server' Interface in pgAdmin 4.

Additionally, the visibility of the database needs to be restricted by adding the database name to the 'DB restriction' item under the advanced tab, see Figure [4]. Limit Visibility To The Football Database Only

The database is now loaded to pgAdmin and the credentials can be saved to reconnect to the database as needed.

Web UI (Under Construction)

A Flask-based web user interface was created to provide easy data manipulation utilizing the Python Flask-SQLalchemy to directly query the database. For the limited amount of project time, the web-based user interface only has the capability able to add a new manager to the database, but all additions and deletions are consistent for all tables.

Link to the App

Note: The app server is turned off by Heroku due to the exhaustion of dynos.

database-grad-project-fall-22's People

Contributors

tguo4 avatar dgambone3 avatar smcdonald32 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.