get_win_lose_df: A function to extract win/lose status

View source: R/get_win_lose_df.R

get_win_lose_dfR Documentation

A function to extract win/lose status

Description

A function to extract the match outcome.

Usage

get_win_lose_df(player_data)

Arguments

player_data

A list returned by get_player_data

Value

The function returns a dataframe containing player ID, match ID, match date, and the match outcome. Win = 1, loss = 0.

Examples

## Not run: 
get_win_lose_df(player_data)

## End(Not run)

huayingq1996/DotaR documentation built on March 31, 2022, 2:03 a.m.