-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathappearances.Rd
67 lines (67 loc) · 3.4 KB
/
appearances.Rd
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/appearances.R
\docType{data}
\name{appearances}
\alias{appearances}
\title{Appearances}
\format{
A data frame with 22 variables:
\describe{
\item{key_id}{\code{integer}. The unique ID number for the observation.}
\item{season_id}{\code{text}. The unique ID number for the season.
References \code{season_id} in the \code{seasons} dataset.}
\item{season}{\code{integer}. The year that the season started.}
\item{tier}{\code{integer}. The tier in English football. The possible
values are \code{1} through \code{4}.}
\item{division}{\code{test}. The division in English football. For the
current league structure, the possible values are \code{Premier League},
\code{Championship}, \code{League One}, and \code{League Two}. For previous
league structures, the possible values are \code{First Division},
\code{Second Division}, \code{Third Division}, and \code{Fourth Division}.}
\item{subdivision}{\code{test}. The subdivision in English football. In the
third tier, from the 1921-22 season through the 1957-58 season, there were
North and South subdivisions. The possible values are \code{North},
\code{South}, and \code{None}.}
\item{match_id}{\code{text}. The unique ID number for the match. References
\code{match_id} in the \code{matches} dataset.}
\item{match_name}{\code{text}. The name of the match.}
\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.}
\item{opponent_id}{\code{text}. The unique ID number for the team's
opponent. References \code{team_id} in the \code{teams} dataset.}
\item{opponent_name}{\code{text}. The name of the team's opponent.}
\item{home_team}{\code{boolean}. Whether the team was the home team. Coded
\code{1} if the team was the home team and \code{0} otherwise.}
\item{away_team}{\code{boolean}. Whether the team was the away team. Coded
\code{1} if the team was the away team and \code{0} otherwise.}
\item{goals_for}{\code{integer}. The number of goals scored by the team.}
\item{goals_against}{\code{integer}. The number of goals scored against the
team.}
\item{goal_difference}{\code{integer}. The team's goal difference.}
\item{result}{\code{enum}. The result of the match. The possible values are
\code{home team win}, \code{away team win}, and \code{draw}.}
\item{win}{\code{boolean}. Whether the team won the match. Coded \code{1}
if the team won the match and \code{0} otherwise.}
\item{lose}{\code{boolean}. Whether the team lost the match. Coded \code{1}
if the team lost the match and \code{0} otherwise.}
\item{draw}{\code{boolean}. Whether the match ended in a draw. Coded
\code{1} of the match ended in a draw and \code{0} otherwise.}
\item{points}{\code{integer}. The number of points the team earned from the
match. A team earns \code{0} points for a loss and \code{1} point for a
draw. From the 1888-89 season through the 1980-81 season, teams earned
\code{2} points for a win. Starting with the 1981-82 season, teams have
earned \code{3} points for a win.}
}
}
\usage{
appearances
}
\description{
This dataset records all appearances. There is one observation per team per
match per season. It indicates whether the team is the home team or the
away team, the number of goals for and against, the goal difference,
whether the team wins, loses, or draws, and how many points the team earned
from the match.
}
\keyword{datasets}