nyc_marathon | R Documentation |
New York City Marathon Times
Description
Marathon times of runners in the Men and Women divisions of the New York City Marathon, 1970 - 2023.
Usage
nyc_marathon
Format
A data frame with 108 observations on the following 7 variables.
- year
Year of marathom.
- name
Name of winner.
- country
Country of winner.
- time
Running time (HH:MM:SS).
- time_hrs
Running time (in hours).
- division
Division:
Men
orWomen
.- note
Note about the race or the winning time.
Source
Wikipedia, List of winners of the New York City Marathon. Retrieved 6 November, 2023.
Examples
library(ggplot2)
ggplot(nyc_marathon, aes(x = year, y = time_hrs, color = division, shape = division)) +
geom_point()