R: Danish national soccer players

soccer {MESS} | R Documentation

## 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.

### 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 https://www.dbu.dk for more information.

### Examples

    data(soccer)

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

[Package MESS version 0.5.9 Index]