sets | R Documentation |
sets returns a list with two dataframes
the first is a table with the list of shows in the rows and the shows in the columns, including a total column showing how many shows each song was played in. .
the second is a summary table of the number of shows in which songs appear, with one row per number of shows, the number of songs in each category, and the proportion of the total number of songs.
sets(mydf = NULL, shows = NULL)
mydf |
the dataframe to use. must contain the columns "gid" and "song". |
shows |
a list of show ids |
sets
sets <- sets(mydf = duration_data_da, shows = c("aalst-belgium-92390", "aberdeen-scotland-50499", "leeds-england-103102", "washington-dc-usa-73198"))
sets[[1]]
sets[[2]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.