View source: R/analysis_functions.R
get_game_ending | R Documentation |
This function returns a character vector of how the game ended from chess.dom.
get_game_ending(termination_string, white, black)
termination_string |
A character vector in the chess.com extracted data frame called 'Termination' |
white |
A character vector in the chess.com extracted data frame called 'White' for the player on white |
black |
A character vector in the chess.com extracted data frame called 'Black' for the player on black |
A character vector of the game ending for each game
## Not run: get_game_ending(termination_string = df$Termination, df$White, df$Black) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.