forked from sportsdataverse/hoopR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkp_teamstats.Rd
79 lines (78 loc) · 2.15 KB
/
kp_teamstats.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
68
69
70
71
72
73
74
75
76
77
78
79
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/kp_ratings_tables.R
\name{kp_teamstats}
\alias{kp_teamstats}
\title{\strong{Get Team Stats}}
\usage{
kp_teamstats(min_year, max_year = most_recent_mbb_season())
}
\arguments{
\item{min_year}{First year of data to pull}
\item{max_year}{Last year of data to pull}
}
\value{
Returns a tibble of team stats\tabular{ll}{
col_name \tab types \cr
team \tab character \cr
conf \tab character \cr
off_fg_3_pct \tab numeric \cr
off_fg_3_pct_rk \tab numeric \cr
off_fg_2_pct \tab numeric \cr
off_fg_2_pct_rk \tab numeric \cr
off_ft_pct \tab numeric \cr
off_ft_pct_rk \tab numeric \cr
off_blk_pct \tab numeric \cr
off_blk_pct_rk \tab numeric \cr
off_stl_pct \tab numeric \cr
off_stl_pct_rk \tab numeric \cr
off_non_stl_pct \tab numeric \cr
off_non_stl_pct_rk \tab numeric \cr
off_a_pct \tab numeric \cr
off_a_pct_rk \tab numeric \cr
off_fg_3a_pct \tab numeric \cr
off_fg_3a_pct_rk \tab numeric \cr
adj_o \tab numeric \cr
adj_o_rk \tab numeric \cr
ncaa_seed \tab numeric \cr
year \tab numeric \cr
def_fg_3_pct \tab numeric \cr
def_fg_3_pct_rk \tab numeric \cr
def_fg_2_pct \tab numeric \cr
def_fg_2_pct_rk \tab numeric \cr
def_ft_pct \tab numeric \cr
def_ft_pct_rk \tab numeric \cr
def_blk_pct \tab numeric \cr
def_blk_pct_rk \tab numeric \cr
def_stl_pct \tab numeric \cr
def_stl_pct_rk \tab numeric \cr
def_non_stl_pct \tab numeric \cr
def_non_stl_pct_rk \tab numeric \cr
def_a_pct \tab numeric \cr
def_a_pct_rk \tab numeric \cr
def_fg_3a_pct \tab numeric \cr
def_fg_3a_pct_rk \tab numeric \cr
adj_d \tab numeric \cr
adj_d_rk \tab numeric \cr
}
}
\description{
\strong{Get Team Stats}
}
\examples{
\donttest{
try(kp_teamstats(min_year = 2019, max_year =2021))
}
}
\seealso{
Other KenPom Ratings Functions:
\code{\link{kp_efficiency}()},
\code{\link{kp_foul_trouble}()},
\code{\link{kp_fourfactors}()},
\code{\link{kp_height}()},
\code{\link{kp_kpoy}()},
\code{\link{kp_playerstats}()},
\code{\link{kp_pointdist}()},
\code{\link{kp_pomeroy_ratings}()}
}
\concept{KenPom Ratings Functions}
\keyword{Team}