Description Usage Arguments Value Examples
View source: R/classify_labels.R
Classify clear-text label name(s) into their parent (major-label) music labels
1 | classify_labels(labels, concatenated = FALSE)
|
labels |
A vector of clear-text (character) label names |
concatenated |
Indicator, whether to return only a character vector with final classification (default is FALSE) |
Either a data frame of the same length as vector and three additional columns (sony, warner, universal), coded as 1 if clear-text label is part of one of the three major music labels, or not (0) (default). If concatenated=TRUE
,
returns a vector of same length as input vector.
1 2 3 4 5 6 7 8 9 | # Classify one label
classify_labels('Interscope')
# Classify vector of labels
classify_labels(c('Republic Records', 'Epic/Legacy', 'WM Finland', 'Chillhop Records'))
# Classify vector of labels, return one column as a response (`concatenated = TRUE`)
classify_labels(c('Republic Records', 'Epic/Legacy', 'WM Finland', 'Chillhop Records'),
concatenated = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.