Identifies venues where the most shows were performed, based on unique show IDs.
Includes both venue and city information.
Usage
find_most_played_venues(concert_data, n = 10)
Arguments
- concert_data
A data frame containing concert information with columns:
showID, venue, and city
- n
Integer specifying how many top venues to return (default is 10)
Value
A data frame sorted by number of shows (descending), containing columns:
venue, city, and number of shows
Examples
if (FALSE) { # \dontrun{
top_venues <- find_most_played_venues(concert_data)
top_venues <- find_most_played_venues(concert_data, n = 15) # Show top 15
} # }