This function creates the shot attempt matrix by segmentation for both teams
1 | get_shot_attempt_by_segment(game_commentary, segmentation_matrix)
|
game_commentary |
from fcscrapR |
segmentation_matrix |
a matrix with each row a segment, each coloumn the start and the end of the segment |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.