Skip to contents

This function processes concert data to extract unique shows,

Usage

extract_unique_shows(concert_data)

Arguments

concert_data

A concertData frame containing concert data with at least 'showID', 'venue', 'city', 'country', 'date', and 'tour' columns.

Value

A data frame with unique shows, sorted by date.

Examples

concert_data <- data.frame(
  showID = c(1, 1, 2),
  venue = c("Venue A", "Venue A", "Venue B"),
  city = c("City X", "City X", "City Y"),
  country = c("Country A", "Country A", "Country B"),
  date = as.Date(c("2023-01-01", "2023-01-01", "2023-01-02")),
  tour = c("Tour 1", "Tour 1", "Tour 1"),
  song_title = c("Song A", "Song B", "Song C")
)
unique_shows <- extract_unique_shows(concert_data)