pbp_raw_clean.df: Cleaned version of Sackmann's 'pbp_raw.df'

Description Usage Format See Also

Description

A game-wise manipulation of Sackmann's pbp_raw.df

Usage

1

Format

A data frame with 364797 rows and 19 variables:

pbp_id

identification corresponding to that in the original dataset

match_num

counter of the matches cleaned

set_num

identifies the set in which the game is played

game_num

counter of the games in each set (resets to 1 after a new set)

pbp

point-by-point record of the game; S (server won), R (returner won), A (ace), D (double fault)

server

points won by the server of the game

returner

points won by the returner of the game

winner

winner of the game i.e. server or returner

player1_serve

1 if player1 is server, 0 otherwise

player1_game

1 if player1 wins game, 0 otherwise

player2_game

1 if player2 wins game, 0 otherwise

player1_game_acc_set

running total of number of games won by player1 in a given set

player2_game_acc_set

running total of number of games won by player2 in a given set

player1_game_acc_total

running total of number of games won by player1 in a given match

player2_game_acc_total

running total of number of games won by player2 in a given match

total_game_acc

running total of number of games in a given match

leading_set

denotes which player has won more games in a given set

player1_set_acc

number of sets player1 wins

player2_set_acc

number of sets player2 wins

See Also

pbp_raw.df for original file, data_clean_tot for cleaning function


kattaoa/oktennis documentation built on July 13, 2019, 3:15 p.m.