Skip to contents

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.

Usage

create_setlist_viz_data(alignment_data, song_code_lookup, concert_data)

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.

Value

A data frame with columns: date, position, song_title, four_letter_code, is_gap, city

Details

Create Visualization Data for Setlist Alignment

Examples

if (FALSE) { # \dontrun{
viz_data <- create_setlist_viz_data(alignment_data, song_code_lookup, concert_data)
head(viz_data)
} # }