-
Notifications
You must be signed in to change notification settings - Fork 81
/
award_winners.R
47 lines (44 loc) · 2.32 KB
/
award_winners.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
################################################################################
# Joshua C. Fjelstul, Ph.D.
# worldcup R package
# automatically generated by the codebookr R package
################################################################################
#' Award winners
#'
#' This dataset records all award winners. There is one observation per player
#' per award per tournament. Some awards are shared by multiple players. It
#' indicates the name of the award, the player(s) who won the award, the team
#' of the player(s) who won the award, and whether the award was shared. There
#' are 12 variables and 200 observations.
#'
#' @format A data frame with 12 variables:
#' \describe{
#' \item{key_id}{\code{integer}. The unique ID number for the observation.}
#' \item{tournament_id}{\code{text}. The unique ID number for the tournament.
#' References \code{tournament_id} in the \code{tournaments} dataset.}
#' \item{tournament_name}{\code{text}. The name of the tournament.}
#' \item{award_id}{\code{text}. The unique ID number for the award. References
#' \code{award_id} in the \code{awards} dataset.}
#' \item{award_name}{\code{enum}. The name of the award. The possible values
#' are: \code{Golden Ball}, \code{Silver Ball}, \code{Bronze Ball},
#' \code{Golden Boot}, \code{Silver Boot}, \code{Bronze Boot}, \code{Golden
#' Glove}, \code{Best Young Player}.}
#' \item{shared}{\code{boolean}. Whether the award was shared between multiple
#' players. Coded \code{1} if the award was shared and \code{0} otherwise.}
#' \item{player_id}{\code{text}. The unique ID number for the player who won
#' the award. References \code{player_id} in the \code{players} dataset.}
#' \item{family_name}{\code{text}. The family name of the player who won the
#' award.}
#' \item{given_name}{\code{text}. The given name of the player who won the
#' award.}
#' \item{team_id}{\code{text}. The unique ID number for the team. References
#' \code{team_id} in the \code{teams} dataset.}
#' \item{team_name}{\code{text}. The name of the team of the player who won
#' the award.}
#' \item{team_code}{\code{text}. The 3-letter code for the team of the player
#' who won the award.}
#' }
"award_winners"
################################################################################
# end R script
################################################################################