- Notifications
You must be signed in to change notification settings - Fork15
work with data & lyrics from Genius
License
NotificationsYou must be signed in to change notification settings
ewenme/geniusr
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Tools for working with theGenius (FKARap Genius) API.
- Genius Developers Site:https://genius.com/developers
- Genius API Docs:https://docs.genius.com/
Get the latest stable version from CRAN…
install.packages("geniusr")
…or install the development version from Github (recommended).
remotes::install_github("ewenme/geniusr")
- Create a Genius API client
- Generate a client access token from yourAPI Clientspage
- Set your credentials in the System Environment variable
GENIUS_API_TOKEN
by calling thegenius_token()
function andentering your Genius Client Access Token when prompted.
Start withthebasics!
library(geniusr)library(dplyr)library(tidytext)# get lyricsget_lyrics_search(artist_name="Kanye West",song_title="Good Morning") %>%# get lyric bigrams unnest_tokens(bigram,line,token="ngrams",n=2) %>%# look for good morning filter(bigram=="good morning") %>%# count bigram frequency nrow()#> [1] 18
- Get citation information for geniusr in R with
citation(package = 'geniusr')
- Please note that the geniusr project is released with aContributorCode ofConduct. Bycontributing to this project, you agree to abide by its terms.
- thegenius packagespecialises in lyrics retrieval from Genius.
About
work with data & lyrics from Genius
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.