How has Covid-19 affected UK athletics rankings in 2020?

R
athletics

A look into how Covid has impacted the breadth and depth of athletic performances in the UK in 2020.

Published

December 26, 2020

TL;DR

  • Large drop in the number of athletes on the rankings for 2020.
  • Elite middle distance runners had comparable performances to previous years, sprint performances were noticeably slower.
  • Sub-elite athletes generally had slower performances for all events in 2020 compared to previous years.
  • A mix of lockdown, fewer opportunities to compete and other Covid-related factors likely contributed to the slower performances.

Introduction

Covid-19 has obviously had a hugely detrimental effect on a wide range of sports this year, and at the time of writing still continues to do so. In this post, I wanted to investigate how Covid has impacted track performances in the UK compared to previous seasons. Specifically, I was interested in how the distribution of performances may differ between this season and previous seasons. I also wondered if there may be some differences between the elite athletes who may have had additional opportunities to compete this year (national championships, diamond leagues etc) compared to non-elite athletes, who may have faced the most significant reductions in competitive opportunities.

The data

I used my poweRof10 package to collect data from www.thepowerof10.info. Specifically, I gathered the rankings for each season from 2016 to 2020 for both men and women for the following events; 100, 200, 400, 800, 1500 and 5000. If interested, you can see the code I used to collect and prepare the data by expanding the code label below.

Code
knitr::opts_chunk$set(echo = FALSE, message = FALSE)
library(poweRof10)
library(tidyverse)
library(furrr)
library(lubridate)
library(hms)
library(ggridges)
library(ggrepel)
library(see)
library(patchwork)
library(ggtext)
library(extrafont)
library(reactable)

# function from https://fishandwhistle.net/post/2018/modifying-facet-scales-in-ggplot2/ for tweaking facets
scale_override <- function(which, scale) {
  if(!is.numeric(which) || (length(which) != 1) || (which %% 1 != 0)) {
    stop("which must be an integer of length 1")
  }
  
  if(is.null(scale$aesthetics) || !any(c("x", "y") %in% scale$aesthetics)) {
    stop("scale must be an x or y position scale")
  }
  
  structure(list(which = which, scale = scale), class = "scale_override")
}

CustomFacetWrap <- ggproto(
  "CustomFacetWrap", FacetWrap,
  init_scales = function(self, layout, x_scale = NULL, y_scale = NULL, params) {
    # make the initial x, y scales list
    scales <- ggproto_parent(FacetWrap, self)$init_scales(layout, x_scale, y_scale, params)
    
    if(is.null(params$scale_overrides)) return(scales)
    
    max_scale_x <- length(scales$x)
    max_scale_y <- length(scales$y)
    
    # ... do some modification of the scales$x and scales$y here based on params$scale_overrides
    for(scale_override in params$scale_overrides) {
      which <- scale_override$which
      scale <- scale_override$scale
      
      if("x" %in% scale$aesthetics) {
        if(!is.null(scales$x)) {
          if(which < 0 || which > max_scale_x) stop("Invalid index of x scale: ", which)
          scales$x[[which]] <- scale$clone()
        }
      } else if("y" %in% scale$aesthetics) {
        if(!is.null(scales$y)) {
          if(which < 0 || which > max_scale_y) stop("Invalid index of y scale: ", which)
          scales$y[[which]] <- scale$clone()
        }
      } else {
        stop("Invalid scale")
      }
    }
    
    # return scales
    scales
  }
)

facet_wrap_custom <- function(..., scale_overrides = NULL) {
  # take advantage of the sanitizing that happens in facet_wrap
  facet_super <- facet_wrap(...)
  
  # sanitize scale overrides
  if(inherits(scale_overrides, "scale_override")) {
    scale_overrides <- list(scale_overrides)
  } else if(!is.list(scale_overrides) || 
            !all(vapply(scale_overrides, inherits, "scale_override", FUN.VALUE = logical(1)))) {
    stop("scale_overrides must be a scale_override object or a list of scale_override objects")
  }
  
  facet_super$params$scale_overrides <- scale_overrides
  
  ggproto(NULL, CustomFacetWrap,
    shrink = facet_super$shrink,
    params = facet_super$params
  )
}


### get data ###
years <- c(2016:2020)
events <- c("100", "200", "400", "800", "1500", "5000")
gender <- c("M", "W")

# grid <- expand_grid(years, events, gender) %>%
#   as.list()
# 
# plan(multisession)
# all_rankings <- future_pmap_dfr(grid, ~get_event(event = ..2, gender = ..3, year = ..1), .progress = TRUE)
# plan(sequential)
# save(all_rankings, file = "rankings.rds")
options(digits.secs=2)

load("rankings.rds")

# Function to get womens 400 performances in 61.00 format to 1:01.00 format 

time_cleaner <- function(time) {
  date <- as.numeric(time) * 1000
  res <- as.POSIXct.numeric(date/1000, origin = '1970-01-01', format = "%OS")
  format(res, format = '%M:%OS')
}  

clean_rankings <- all_rankings %>% 
  select(rank, perf, input_year, event, gender, date, name) %>% 
  filter(event %in% c("100", "200", "400", "800", "1500", "5000")) %>% 
  filter(rank != "") %>%
  mutate(event = factor(event, levels = c("100", "200", "400", "800", "1500", "5000")),
         rank = as.numeric(rank),
         perf = str_trim(perf),
         input_year = factor(input_year, levels = c("2016", "2017", "2018", "2019", "2020"))) %>% 
  mutate(perf = if_else(event == "400" & str_starts(perf, "6"), time_cleaner(perf), perf)) %>% 
  mutate(perf_x = case_when(event %in% c("800", "1500") ~paste0("00:0", perf),
                              event %in% c("200", "400") & nchar(perf) <= 5 ~paste0("00:00:", perf), 
                              event == "100" ~ ifelse(nchar(perf) < 5, 
                                                      paste0("00:00:0", perf), 
                                                      paste0("00:00:", perf)),
                              TRUE ~ paste0("00:", perf))) %>%  
  mutate(perf_x = parse_hms(perf_x),
         perf_x_sec = round(seconds(perf_x), digits = 2),
         perf_x_sec = round(seconds_to_period(perf_x_sec), 2)) %>% 
  mutate(time = as_datetime(perf_x_sec)) 

Number of athletes on the rankings list

Figure @ref(fig:simple-counts) shows the number of athletes on the ranking list for each event over the last five seasons.

Number of athletes on the rankings

There is a fairly similar trend for both men and women, although women’s 5K does stand out as being particularly low, compared to men’s 5k in previous seasons. Unsurprisingly, we also see a large drop off in the number of athletes on the rankings list in 2020, which is to be expected given the restrictions over the summer resulting in fewer opportunities to compete. There is a similar trend for both men and women with the middle distance events having the most performances, followed by the sprints events, with the 5000 m resulting in the fewest performances.

Table @ref(tab:mytbl-4) compares the number of performances in 2019 and 2020 and highlights the percentage decrease between the two seasons. We see a similar trend for both men and women, with 5k performances suffering the greatest decrease (down 91% for men and 87% for women) and the 800 m with the smallest decrease (down 48% for men and 53% for women) out of the events studied.

Table 1: The decrease in athletes on the ranking list for 2019 and 2020

(#tab:mytbl-4)

Click on column headers to sort each column


Distribution of performances

So we already know that there have been far fewer performances this year, but of those performances that have been recorded, how to they compare to the kinds of performances we would see in a “normal” year?

To do this, I first calculated the average performance for each rank over the 2016 to 2019 seasons, and then compared the distribution of these average performances to those we’ve seen this year. I’ve coloured the average performance in this colour and highlighted 2020 performances in this colour. I have also split the rankings into two groups; “Elite”, defined as the top 10 athletes and “Sub elite”, defined as those athletes occupying ranks 11-100.

The y axis on the figure is the kernel density estimate, which is a smoothed version of the histogram. For these plots, I’ve removed the y axis label as I wanted the focus to be on the shape of the density estimate and position relative the the x-axis (performance) for the two groups (average of previous years vs this year), rather than the actual density estimate as I think comparing the shape and position of the curves tells the better story.

Code
rank_plots <- clean_rankings %>% 
  mutate(input_year = fct_rev(input_year),
         covid_year = ifelse(input_year == "2020", "covid", "pre_covid")) %>% 
  select(input_year, time, rank, event, gender, covid_year) %>% 
  group_by(gender, event, input_year) %>% 
  mutate(rank_group = case_when(rank %in% c(1:10) ~ "top_10",
                                rank %in% c(11:100) ~ "11_to_100",
                                rank %in% c(101:max(rank)) ~ "101_to_max"),
         rank_group = factor(rank_group, levels = c("top_10", "11_to_100", "101_to_max"))) %>% 
  ungroup() %>% 
  group_by(event, gender, covid_year, rank, rank_group) %>% 
  mutate(Performance = as_datetime(mean(as.POSIXct(time)))) %>% 
  ungroup() %>% 
  mutate(event = paste(event, "m"),
         event = factor(event, levels = c("100 m", "200 m", "400 m", "800 m", "1500 m", "5000 m")),
         lab = "wow")

Elite performances

Figure @ref(fig:elite-performances) shows the distribution of performances for the top 10 athletes. Interestingly we see that the sprint events (100, 200 and to a slightly lesser extent 400) seem to have slower performances in 2020, compared to the average over 2016-2019 (distributions shifted to the right indicated slower performances). In comparison, the middle distance events (800, 1500) seem to have equivalent (and in some cases even slightly better) performances in 2020 compared to average from previous season.

Elite performance distributions for males and females and different events.

Sub-elite performances

Figure @ref(fig:sub-elite-perfs) is the same plot as above, but those those athletes ranked 11-100. We see a similar trend in the sprint events, however the middle distance events also show a shift to the right, indicating slower than average performances for these ranks in 2020.

Sub-elite performance distributions for males and females and different events.

Conclusions

From this small investigation there are a few key things that stood out to me. Firstly, elite middle distance runners had an excellent year (performance wise) in 2020. This was true for both men and women. In contrast, sprint events were considerably down on their average performances in 2020. My personal take on this is that middle distance runners may have faired better during periods of lockdown compared to sprinters who typically (I may be stereotyping here…!) make greater use of indoor facilities and therefore may have not been able to prepare as they normally would for the competitive season.

For sub-elite athletes (ranks 11 to 100), a consistent trend was apparent across all events, with performances in 2020 being down on the average performance over the last few seasons. This is probably due to a number of factors including, limited access to training facilities and far fewer opportunities to compete, not to mention all the other stresses that 2020 has brought.

While this might all sound a little pessimistic, I know athletes are a hardy bunch and fully expect some exceptional performances in all events next year. The limited opportunities to compete this year, while certainly frustrating, may actually be a benefit in the long run… After all, a rest is sometimes as good as a run, and maybe this extended break from intense competition will be a blessing in disguise!

Thanks for reading!

Acknowledgments

As always, big thanks to the powerof10 team who provide an invaluable source for athletes and fans alike!