
The default handler for playlists within the shiny app
Source:R/playlist.R
ovva_playlist_handler.RdYou can cook up your own version of this function to suit your liking, and pass it as the playlist_handler parameter to ovva_shiny.
Value
A tibble, with columns 'skill', 'specific', and 'fun'. Each row defines a playlist entry that corresponds to specific match conditions. This playlist entry is referred to by the name given in specific, and applies to the skill in column skill. The corresponding entry in fun should be a function that takes three arguments (x, the play-by-play data; team, the team names to look for, and player, the player names to look for) and returns the subset of rows of x that correspond to the playlist conditions.