generate_substitution_row_from_desc | R Documentation |
get_player_ids_from_desc()
and
generate_substitution_row()
to generate a single row of substitution data from a short description of the substition.Given a sentence of substitution data, this function returns a row of substitution data to be insterted into a pbp. This function combines the two functions get_player_ids_from_desc()
and
generate_substitution_row()
to generate a single row of substitution data from a short description of the substition.
generate_substitution_row_from_desc(
desc,
player_data,
quarter,
elapsed_time_in_quarter
)
desc |
a seneence that describes the substition, be in the format "x enters the game for y" |
player_data |
a data.frame of player data, as returned by |
a 1 row data.frame of substitution data
Other audit_functions:
generate_substitution_row()
,
get_player_ids_from_desc()
,
read_boxscore_screen_shot()
,
remove_pbp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.