One-Sided Matches in the English Premier League

While some English Premier League matches are bitterly even in nature, others are historically more one-sided. Using the engsoccerdata package in R, I looked at EPL results data from 1888 to 2017, and sought to find the answer to the question: what have been the most uneven matches in the English first division?

Observing matches with 30+ games played between the two teams, it seems that the most one-sided English first division match ever is Manchester United – Luton Town, with Manchester United winning over 73% of the 30 fixtures. This is pretty high indeed, and there is only one other fixture with a win rate greater than 70%: Liverpool – QPR, with Liverpool victorious nearly 72% of the time over 46 matches.

An interactive graph can be found at this link, while here is the static version below:



And below is the code for the analysis (also on Github). There’s certainly a lot more analysis to be done on this dataset so feel free to use my code to make other interesting insights/visualizations.

Step 1: Initial Pre-Processing


df <- engsoccerdata::england
#only matches in tier 1 (English First Division and subsequently EPL)
df <- df %>% filter(tier == 1)

#winner of game
df <- df %>% mutate(winner = case_when(
  hgoal > vgoal ~ home,
  hgoal < vgoal ~ visitor,
  TRUE ~ "Draw"
loser = case_when(
   hgoal < vgoal ~ home,
   hgoal > vgoal ~ visitor,
   TRUE ~ "Draw"
#teams involved
df <- df %>% 
  rowwise %>% 
  mutate(teams_involved = paste(sort(c(home,visitor)),collapse=" - ")) %>% 

df <- df %>% 
  group_by(teams_involved) %>% 
  mutate(total_games_played = n())

Step 2: Count number of wins per fixture and find top 20 most one sided fixtures

win_count <- df %>% 
        total_games_played) %>% 
  mutate(win_perc = n/total_games_played) %>% 

more_common_fixtures <- win_count %>% 

one_sided_fixtures <- more_common_fixtures %>% 
  ungroup() %>%
        wt = win_perc)

Step 3: Graph using ggplot2 and ggiraph::geom_bar_interactive()

top_graph <- one_sided_fixtures %>% 
  ggplot(aes(x = reorder(teams_involved,win_perc),
             y = win_perc,
             tooltip = paste0(winner," (",n," of ",total_games_played,")")))+
  geom_bar_interactive(stat="identity", fill = "darkblue")+
  labs(title = "The Top 20 Most One-Sided Matches in English Premier League History",
       y = "Win Percentage",
       x = NULL,
       caption = "Data from engsoccerdata R package") + 
  theme(plot.title = element_text(hjust = 0.5))

 ggiraph(code = print(top_graph),width = 0.8)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s