GithubHelp home page GithubHelp logo

zehan-alam / sql-football-match-analysis Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 348 KB

Europearn Football League matches analysis using PostgreSQL

Python 100.00%
data-analysis database european-football-leagues postgresql python soccer-data sql

sql-football-match-analysis's Introduction

European Football League Data Analysis using PostgreSQL

In this exciting project, I explored the European Soccer Database available on Kaggle, originally in SQLite format. I transformed the data into a PostgreSQL database and conducted an in-depth Exploratory Data Analysis (EDA) to uncover intriguing insights about the world of football.

Project Steps:

  1. Data Download: I downloaded the European Soccer Database in SQLite format from Kaggle using this link.

  2. CSV Creation: Utilizing the csv_maker.py script, I extracted data from 7 tables in the SQLite file and uploaded CSV files for 5 of them. So,you have to use this file to create "match.csv" and "player_attributes.csv" file for the next process.

  3. PostgreSQL Database Creation: I created a PostgreSQL database using my username and other relevant details. No table creation was required at this stage, but I ensured that all datasets were available in the Datasets folder. By running the table_creation.sql file, I efficiently created and exported the necessary tables into my PostgreSQL database.

  4. Explanatory Data Analysis: The fascinating football_project_database.sql file contains answers to several intriguing questions:

    • What are the top 30 teams with the highest average overall rating?
    • Which team has the highest goal-scoring rate (goals scored per match)?
    • Who is the best player from 2008 to 2016?
    • Analyzing the performance of Real Madrid (Team ID: 8633) over the years.
    • Determining the team with the most wins.
    • Identifying the best teams in the German, English, French, Spanish, and Italian leagues.

Feel free to run this code on different files each time to obtain insightful results.

For a detailed exploration of the European Football League data analysis and to witness the thrilling SQL queries, check the respective scripts and SQL files in the repository. Experience the excitement of football data come alive through the power of PostgreSQL!

sql-football-match-analysis's People

Contributors

zehan-alam 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.