Durability - The New Physiological Measure to Predict Endurance Performance

This post writes about the research behind a newly proposed physiological measure and its applications in prolonged endurance exercise performance.
Sport science
Author

Nien Xiang Tou

Published

May 19, 2023

Data visualisation is a key aspect of communicating our story or message behind the data we have. While it is common to visualise data using a myriad of graphs, tables may be more appropriate or effective at times to present numerous data information. In addition, such mode of data visualisation can be even more effective by allowing readers to interact with the table. This blog post documents my attempt to visualise data on the FIFA World Cup 22 participating teams with interactive tables using R programming language.

Sifan Hassan winning the London Marathon 2023. Source: The Economist Times

Required Libraries

There are plenty of different packages available in R to create interactive tables. In this blog post, the {reactable} package was used to first build the interactive table and the {reactablefmtr} package was utilised for styling purpose. Besides that, {tidyverse} was used mainly to help with data wrangling.

library(reactable)
library(reactablefmtr)
library(tidyverse)

Data

This post used a total of three datasets to show information of all FIFA World Cup 22’s participating teams’ historical appearances in the knockout stages of previous editions of the competition:

  1. Results of all World Cup matches played in history (Source: Kaggle)

  2. Participating teams in FIFA World Cup 22 and their respective FIFA rankings and points

  3. Country flag dataset with URL addresses of country flag images