Learn R Programming

MESS (version 0.4-3)

soccer: Danish national soccer players

Description

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.

Arguments

Format

A data frame with 805 observations on the following 5 variables.
name
a factor with names of the players
DoB
a Date. The date-of-birth of the player
position
a factor with levels Forward Defender Midfielder Goalkeeper
matches
a numeric vector. The number of A matches played by the player
goals
a numeric vector. The number of goals scored by the player in A matches

Source

Data collected from the player database of DBU on March 21st, 2014. See http://www.dbu.dk for more information.

Examples

Run this code

data(soccer)

birthmonth <- as.numeric(format(soccer$DoB, "%m"))
birthyear <- as.numeric(format(soccer$DoB, "%Y"))


Run the code above in your browser using DataLab