Create Visualization Data for Setlist Alignment
Source:R/tourSetlistAlignment.R
create_setlist_viz_data.Rd
This function processes alignment data and creates a detailed dataset for visualizing setlist alignments. It expands sequences into individual positions, matches song codes to titles, incorporates date information, and includes city names.
Arguments
- alignment_data
A data frame containing alignment data with columns: showID and sequence.
- song_code_lookup
A data frame with song code information, including columns: hex_char, song_title, and four_letter_code.
- concert_data
A data frame containing show information, including columns: showID, date, and city.
Examples
if (FALSE) { # \dontrun{
viz_data <- create_setlist_viz_data(alignment_data, song_code_lookup, concert_data)
head(viz_data)
} # }