Skip to contents

This function takes a concertData data frame, and for all unique songs in the data set creates a mapping with 4 columns: song title, 4-letter code, hex character, and hex value.

Usage

codify_tour_song_titles(concert_data)

Arguments

concert_data

A data frame in concertData format.

Value

A data frame with columns:

  • song_title: The title of the song.

  • four_letter_code: A unique 4-letter code for the song.

  • hex_char: The unique hex character representation of the 4-letter code.

  • hex_value: The unique hex value of the character.

Returns NULL if no songs are found in the dataset.

Examples

if (FALSE) { # \dontrun{
codified_songs <- codify_tour_song_titles(concert_data)
print(codified_songs)
} # }