Skip to content

A data extraction project focused on collecting detailed player statistics from the UEFA Champions League. The project involves web scraping, data processing, and storage, providing structured data for further analysis and reporting.

Notifications You must be signed in to change notification settings

PabloJRW/uefa-champions-league

Repository files navigation

UEFA CHAMPIONS LEAGUE | PLAYERS DATA

Welcome to the Champions League Players Data Extraction!. This project is a comprehensive data extraction initiative focused on gathering and analyzing data about players participating in the UEFA Champions League. The aim is to provide a detailed dataset that can be used for further analysis, visualizations, and reporting. This project highlights skills in web scraping and data processing.

Table of Contents

  1. Introduction
  2. Requirements
  3. Installation
  4. Usage
  5. Contributing
  6. License

Introduction

The goal of this project is to extract player performance data from UEFA Champions League. This project aims to provide a comprehensive dataset that can be used for various analyses, including player statistics, performance trends, and team comparisons.

Installation

To get started with this project, follow these steps:

  1. Clone the repository:
git clone git@github.com:PabloJRW/uefa-champions-league.git
  1. Navigate to the project directory:
cd uefa-champions-league
  1. Install the required dependencies:
pip install -r requirements.txt

Usage

  1. Run the data extraction script:
python extraction\main_extractor.py
  1. Load the data to MongoDB
python load\load_to_mongodb.py

Project Structure

uefa-champions-league/
├── extraction/                    # Directory for data extraction
│   ├── main_extractor.py          # Script that runs all extraction scripts
│   ├── raw_data/                  # Directory to store raw data extracted from the API
│   └── scripts/                   # Directory containing individual extraction scripts
│       ├── players.py
│       ├── players_attacking.py  
│       ├── players_attempts.py
│       ├── players_defending.py
│       ├── players_disciplinary.py
│       ├── players_distribution.py
│       ├── players_goalkeeping.py
│       ├── players_goals.py
│       ├── players_key_stats.py
│       └── teams_extraction.py
├── load_to_database/              # Directory for data loading
│   └── load_to_mongodb.py         # Script for loading data into MongoDB database
├── tests/                         # Directory for testing scripts
│       ├── test_players.py
│       ├── test_attacking.py  
│       ├── test_attempts.py
│       ├── test_defending.py
│       ├── test_disciplinary.py
│       ├── test_distribution.py
│       ├── test_goalkeeping.py
│       ├── test_goals.py
│       ├── test_key_stats.py
│       └── test_teams_extraction.py
├── requirements.txt               # File listing required Python libraries for the project
└── README.md                      # Project documentation providing an overview and instructions

Contributing

Contributions are welcome! If you would like to contribute to this project, feel free to submit a pull request or open an issue with suggestions for improvement.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A data extraction project focused on collecting detailed player statistics from the UEFA Champions League. The project involves web scraping, data processing, and storage, providing structured data for further analysis and reporting.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published