Reads a CSV file in the concertData format with error handling, providing informative error messages if the file cannot be read or does not conform to the expected format.
Details
The input CSV file must conform to the concertData format, which includes the following required columns:
showID: Unique identifier for each show
date: Date of the concert (YYYY-MM-DD format)
tour: Name of the tour
city: City where the concert took place
country: Country where the concert took place
venue: Name of the venue
song_position: Position of the song in the setlist
song_title: Title of the song
snippet: Boolean indicating if the song was a snippet (TRUE) or full performance (FALSE)
Additional columns that may be present include:
encore: Boolean indicating if a song was an encore performance (TRUE) or in the main set (FALSE)
state: State where the concert took place
show_url: URL for more information about the show
song_url: URL for more information about the song
song_lyrics: Lyrics of the song performed