Skip to contents

Calculates the maximum number of songs played in a single show for each tour.

Usage

longest_setlist_by_tour(data)

Arguments

data

A data frame in concertData format, containing at least 'tour' and 'song_position' columns.

Value

A data frame with columns:

  • tour: Name of the tour

  • max_songs: Maximum number of songs played in a single show for that tour

Examples

if (FALSE) { # \dontrun{
longest_setlists <- longest_setlist_by_tour(concert_data)
print(longest_setlists)
} # }