olympic_running | R Documentation |
olympic_running
is a quadrennial tsibble
with one value:
Time: | Fastest running time for the event (seconds) |
Time series of class tsibble
The event is identified using two keys:
Length: | The length of the race (meters) |
Sex: | The sex of the event |
The data contains missing values in 1916, 1940 and 1944 due to the World Wars.
https://olympics.com/en/sports/athletics/
library(tsibble) olympic_running if(requireNamespace("ggplot2")){ library(ggplot2) olympic_running %>% as_tibble %>% ggplot(aes(x=Year, y = Time, colour = Sex)) + geom_line() + facet_wrap(~ Length, scales = "free_y") }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.