forked from sportsdataverse/hoopR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnba_boxscorematchupsv3.Rd
164 lines (154 loc) · 5.25 KB
/
nba_boxscorematchupsv3.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nba_stats_boxscore_v3.R
\name{nba_boxscorematchupsv3}
\alias{nba_boxscorematchupsv3}
\title{\strong{Get NBA Stats API Boxscore Matchups V3}}
\usage{
nba_boxscorematchupsv3(
game_id = "0022200021",
start_period = 0,
end_period = 14,
start_range = 0,
end_range = 0,
range_type = 0,
...
)
}
\arguments{
\item{game_id}{Game ID}
\item{start_period}{start_period}
\item{end_period}{end_period}
\item{start_range}{start_range}
\item{end_range}{end_range}
\item{range_type}{range_type}
\item{...}{Additional arguments passed to an underlying function like httr.}
}
\value{
A list of data frames: home_team_player_matchups, away_team_player_matchups
\strong{home_team_player_matchups}\tabular{ll}{
col_name \tab types \cr
game_id \tab character \cr
away_team_id \tab integer \cr
home_team_id \tab integer \cr
team_id \tab integer \cr
team_name \tab character \cr
team_city \tab character \cr
team_tricode \tab character \cr
team_slug \tab character \cr
person_id \tab integer \cr
first_name \tab character \cr
family_name \tab character \cr
name_i \tab character \cr
player_slug \tab character \cr
position \tab character \cr
comment \tab character \cr
jersey_num \tab character \cr
matchups_person_id \tab integer \cr
matchups_first_name \tab character \cr
matchups_family_name \tab character \cr
matchups_name_i \tab character \cr
matchups_player_slug \tab character \cr
matchups_jersey_num \tab character \cr
matchup_minutes \tab character \cr
matchup_minutes_sort \tab numeric \cr
partial_possessions \tab numeric \cr
percentage_defender_total_time \tab numeric \cr
percentage_offensive_total_time \tab numeric \cr
percentage_total_time_both_on \tab numeric \cr
switches_on \tab integer \cr
player_points \tab integer \cr
team_points \tab integer \cr
matchup_assists \tab integer \cr
matchup_potential_assists \tab integer \cr
matchup_turnovers \tab integer \cr
matchup_blocks \tab integer \cr
matchup_field_goals_made \tab integer \cr
matchup_field_goals_attempted \tab integer \cr
matchup_field_goals_percentage \tab numeric \cr
matchup_three_pointers_made \tab integer \cr
matchup_three_pointers_attempted \tab integer \cr
matchup_three_pointers_percentage \tab numeric \cr
help_blocks \tab integer \cr
help_field_goals_made \tab integer \cr
help_field_goals_attempted \tab integer \cr
help_field_goals_percentage \tab numeric \cr
matchup_free_throws_made \tab integer \cr
matchup_free_throws_attempted \tab integer \cr
shooting_fouls \tab integer \cr
}
\strong{away_team_player_matchups}\tabular{ll}{
col_name \tab types \cr
game_id \tab character \cr
away_team_id \tab integer \cr
home_team_id \tab integer \cr
team_id \tab integer \cr
team_name \tab character \cr
team_city \tab character \cr
team_tricode \tab character \cr
team_slug \tab character \cr
person_id \tab integer \cr
first_name \tab character \cr
family_name \tab character \cr
name_i \tab character \cr
player_slug \tab character \cr
position \tab character \cr
comment \tab character \cr
jersey_num \tab character \cr
matchups_person_id \tab integer \cr
matchups_first_name \tab character \cr
matchups_family_name \tab character \cr
matchups_name_i \tab character \cr
matchups_player_slug \tab character \cr
matchups_jersey_num \tab character \cr
matchup_minutes \tab character \cr
matchup_minutes_sort \tab numeric \cr
partial_possessions \tab numeric \cr
percentage_defender_total_time \tab numeric \cr
percentage_offensive_total_time \tab numeric \cr
percentage_total_time_both_on \tab numeric \cr
switches_on \tab integer \cr
player_points \tab integer \cr
team_points \tab integer \cr
matchup_assists \tab integer \cr
matchup_potential_assists \tab integer \cr
matchup_turnovers \tab integer \cr
matchup_blocks \tab integer \cr
matchup_field_goals_made \tab integer \cr
matchup_field_goals_attempted \tab integer \cr
matchup_field_goals_percentage \tab numeric \cr
matchup_three_pointers_made \tab integer \cr
matchup_three_pointers_attempted \tab integer \cr
matchup_three_pointers_percentage \tab numeric \cr
help_blocks \tab integer \cr
help_field_goals_made \tab integer \cr
help_field_goals_attempted \tab integer \cr
help_field_goals_percentage \tab numeric \cr
matchup_free_throws_made \tab integer \cr
matchup_free_throws_attempted \tab integer \cr
shooting_fouls \tab integer \cr
}
}
\description{
\strong{Get NBA Stats API Boxscore Matchups V3}
\strong{Get NBA Stats API Boxscore Matchups V3}
}
\details{
\if{html}{\out{<div class="sourceCode r">}}\preformatted{ nba_boxscorematchupsv3(game_id = "0022200021")
}\if{html}{\out{</div>}}
}
\seealso{
Other NBA Boxscore V3 Functions:
\code{\link{nba_boxscoreadvancedv3}()},
\code{\link{nba_boxscoredefensivev2}()},
\code{\link{nba_boxscorefourfactorsv3}()},
\code{\link{nba_boxscorehustlev2}()},
\code{\link{nba_boxscoremiscv3}()},
\code{\link{nba_boxscoreplayertrackv3}()},
\code{\link{nba_boxscorescoringv3}()},
\code{\link{nba_boxscoretraditionalv3}()},
\code{\link{nba_boxscoreusagev3}()}
}
\author{
Saiem Gilani
}
\concept{NBA Boxscore V3 Functions}