soccer | R Documentation |
Players on the Danish national soccer team. The dataset consists of all players who have been picked to play on the men's senior A-team, their position, date-of-birth, goals and matches.
A data frame with 805 observations on the following 5 variables.
a factor with names of the players
a Date. The date-of-birth of the player
a factor with levels Forward
Defender
Midfielder
Goalkeeper
a numeric vector. The number of A matches played by the player
a numeric vector. The number of goals scored by the player in A matches
Data collected from the player database of DBU on March 21st, 2014. See https://www.dbu.dk for more information.
data(soccer)
birthmonth <- as.numeric(format(soccer$DoB, "%m"))
birthyear <- as.numeric(format(soccer$DoB, "%Y"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.