genius v2.2.3As illustrated in PR #55, all functionality of genius had been broken due to the changes with genius
This patch release
pivot_wider() instead of spread();readr as a dependency;session() instead of html_session() from {rvest} since it has been superceded.genius v2.2.2May 9th, 2020
Imports. This release will make it possible to publish spotifyr to CRANA again addressing spotifyr issue #112.add_genius()’s type argument took two values "album" and "lyrics". This is logically inconsistent as we are specifying track titles not the lyrics. This is an attempt to create more continuity between the data that is returned from genius_lyrics() and genius_album(). I’ve introduced the argument value "track" which is to be preferred over "lyrics". "lyrics" will remain a valid option to type for reverse compatability.genius v2.2.1Dec 16th, 2019
Dec 15th, 2019
add_genius() now unnests lyrics prior to joining. This ought to reduce the number of errors.tidyr::unnest() broke functions in many situations. Thank you to @eoppe1022 for pointing out tidyr::unnest_legacy(). The legacy version will be used internally for now.info = "title" and info = "all" arguments of genius_album() and fixing these whilst also adding album_name into the output from genius_album(..., info = "all").prep_info() in earlier releases. Evan has been added as a contributor.Nov 27th, 2019
tidyr::unnest() producing unwanted warnings in add_genius(). This has been fixed.genius v2.2.0May 5th, 2019
learnr::run_tutorial("genius_tutorial", "genius") to access the tutorial.May 4th, 2019
genius. The function calc_self_sim() enables the user to create a self-similarity matrix. The default output is a tidy data-frame that is ready for plotting. Additional arguments can be used to remove stop words. Stop word functionality is accessed via the tidytext package.add_genius() has been modified to be able to accept a column for the type. This will enable you to mix both single songs with entire albums. The type_group column has been renamed to title to be more coherent. This is a potentially breaking change to existing code.
add_genius() were checked for spotifyr reverse dependencies. Results returned 0 errors. All should be good.genius v2.1.0April 28th, 2019
genius_album() would fail when it encountered a url with missing lyrics. The solution was to create a safe version of the genius_url() function that is called from genius_album() instead of genius_url() directly. This means that the function will continue to work if a single track url doesn’t. Those tracks will have any empty tibble (so after unnesting within genius_album() it returns a row of NAs).
purrr::possibly(), if anyone knows how to do this, please let me know via issue or twitter (@josiahparry).genius v2.0.0April 10th, 2019
The name of this package has been changed from geniusR to genius due to a name conflict on CRAN.
This update makes some drastic changes to the base genius_url() function. It closes two long lasting pull requests #4, and #12.
Big thanks to @natebarr64 for his pull request #20 that fixed issue #4. This PR also created a new feature.
@natebarr64 create the argument info = "features" which will identify the song element and artist for that element if they are available. You can use this for genius_url(), genius_lyrics(), and genius_album().