Description Usage Arguments Value Examples
View source: R/RetrieveSongs.R
Create a network of featuring collaboration between artists. The recuperation can be pretty long if there is a lot of song. For instance, to get all the lyrics from 10 artists it would take approximatly 1 hour
1 | RetrieveSongs(x, y, feat_exclude = T)
|
x |
A dataset containing at least 3 columns : artist_id, song_name, and song_id (you can use the output of GetSongsArtistName or GetSongsArtistID). If you don't, make sure your x input is a dataframe containing at least those 3 columns |
y |
A list of Artists IDS from which you want to scrap all the lyrics |
feat_exclude |
if False, the function will get all the songs of the artist even the featuring with other artists. Default is set to True (for personnal purpose) but it could be pertinent to set it to false |
a dataframes with all the lyrics, with columns about artists, song etc...
1 2 3 4 5 6 7 | ## Not run:
## all the lyrics of multiple artists :
lyrics<-RetreiveSongs(corpus,list_of_artists_id,feat_exclude=F)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.