Skip to contents

Takes player game data and computes all derived columns needed by the stat rating estimation engine: efficiency stat successes/failures, role groups, and match dates.

Usage

prepare_stat_rating_data(player_game_data)

Arguments

player_game_data

data.table from load_player_game_data or create_player_game_data.

Value

data.table with one row per player-match, augmented with: role_group, match_date_rating (Date), and all derived columns referenced by stat_rating_definitions.