Skip to content

An overall Analysis of World Cup 2022 using R and Tidyverse

Notifications You must be signed in to change notification settings

hoangp27/Analysis-of-WorldCup-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An-Analysis-of-World-Cup-2022-using-R

Project Overview

This project provide an overall exploratory analysis of the World Cup 2022. Based on historical data, I will try to unfold the following insights:

  1. How Qatar, as the WC 2022 host country, perfomed compared to other host country in the past?
  2. Countries that overachieved and underperformed in WC2022 based on historical dominance and recent form
  3. Argentina path to glory compared to France's in WC2018

Tools implemented: the whole analysis will be conducted in R, particularly the tidyverse package including forcats, ggplot2, lubridate, etc. and some other smaller analysis packages. The environment is RStudio.

Datasets:

The following datasets is being used:

1. World Cup Events:

  • world_cups.csv: Information World Cup Events since 1935 and countries in the top 4 from Maven Analytics

2. World Cup Matches:

  • 2022_world_cup_matches.csv: Information about world cup 2022 matches from Maven Analytics
  • world_cup_ matches.csv: Information and results of all world cup matches before 2022 from Maven Analytics
  • Fifa_world_cup_matches.csv: world cup 2022 match result and stats (note: this data will be used to join with 2022_world_cup_matches to retrieve all the match results for WC 2022)
  1. International Matches
  • International_Matches.csv: Information about International Matches before WC 2022
  1. World Cup Groups
  • 2022_world_cup_groups.csv: WC 2022 participants along with their group and final standing

Directory

The directory contains the following files and directories:

  • README.MD: Overview and Summary of the project
  • R_Script.R: R Code File
  • R_Script.md: Rendered R Script File to read in Github
  • 'R_Script_files`
    • figure-gfm: containing graphs and charts of the whole projects
  • data:
    • 2022_world_cup_groups.csv
    • 2022_world_cup_matches.csv
    • B42022_world_cup_matches.csv
    • Fifa_world_cup_matches.csv
    • international_matches.csv
    • world_cups.csv