forked from sportsdataverse/hoopR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkp_referee.Rd
48 lines (47 loc) · 1.05 KB
/
kp_referee.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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/kp_misc_stats.R
\name{kp_referee}
\alias{kp_referee}
\title{\strong{Get referee game log}}
\usage{
kp_referee(referee, year)
}
\arguments{
\item{referee}{Referee ID}
\item{year}{Year of data to pull}
}
\value{
A data frame with the following columns:\tabular{ll}{
col_name \tab types \cr
game_number \tab integer \cr
date \tab character \cr
time_et \tab character \cr
game \tab character \cr
location \tab character \cr
venue \tab character \cr
conference \tab character \cr
thrill_score \tab numeric \cr
referee_name \tab character \cr
ref_rank \tab numeric \cr
year \tab numeric \cr
}
}
\description{
\strong{Get referee game log}
}
\examples{
\donttest{
try(kp_referee(referee = 714363, year = 2021))
}
}
\seealso{
Other KP Misc. Functions:
\code{\link{kp_arenas}()},
\code{\link{kp_fanmatch}()},
\code{\link{kp_game_attrs}()},
\code{\link{kp_hca}()},
\code{\link{kp_officials}()},
\code{\link{kp_trends}()}
}
\concept{KP Misc. Functions}
\keyword{Refs}