R/data.R
olympic.Rd
Basic bio data on athletes and medal results from Summer Games in Rio 2016.
olympic
A data frame with 13688 rows and 12 variables:
Unique number for each athlete
Athlete's name
M or F
Integer in years
In centimeters
In kilograms
Team name
National Olympic Committee 3-letter code
Year and season
Sport
Event
Gold, Silver, Bronze, or NA
plot(dplyr::sample_frac(olympic, 0.05))
summary(olympic)
#> ID Name Sex Age Height
#> Length:13688 Length:13688 M:7465 Min. :13.00 Min. :133
#> Class :character Class :character F:6223 1st Qu.:22.00 1st Qu.:168
#> Mode :character Mode :character Median :26.00 Median :175
#> Mean :26.21 Mean :176
#> 3rd Qu.:29.00 3rd Qu.:184
#> Max. :62.00 Max. :218
#> NA's :176
#> Weight Team NOC Games
#> Min. : 30.00 Length:13688 Length:13688 Length:13688
#> 1st Qu.: 60.00 Class :character Class :character Class :character
#> Median : 69.00 Mode :character Mode :character Mode :character
#> Mean : 70.99
#> 3rd Qu.: 80.00
#> Max. :170.00
#> NA's :223
#> Sport Event Medal
#> Length:13688 Length:13688 Gold : 665
#> Class :character Class :character Silver: 655
#> Mode :character Mode :character Bronze: 703
#> NA's :11665
#>
#>
#>