Identifies the most frequently played closing songs in concerts.
Usage
find_most_played_closing_songs(concert_data, n = 10)
Arguments
- concert_data
A data frame containing concert information with columns:
showID, song_title, song_position, and snippet
- n
Integer specifying how many top closing songs to return (default is 10)
Value
A data frame sorted by frequency (descending), containing columns:
song_title and times_played (number of times played as closing song)
Examples
if (FALSE) { # \dontrun{
top_closers <- find_most_played_closing_songs(concert_data)
top_closers <- find_most_played_closing_songs(concert_data, n = 15) # Show top 15
} # }