R/geniusr-package.R

#' @importFrom dplyr select bind_rows everything
#' @importFrom httr user_agent GET add_headers stop_for_status content
#' @importFrom xml2 read_html xml_find_all xml_add_sibling xml_remove
#' @importFrom rvest html_nodes html_text html_attr
#' @importFrom curl has_internet
#' @importFrom tibble tibble as_tibble
#' @importFrom purrr is_empty flatten map_dfr "%>%"
#' @importFrom stringr str_replace_all
#' @keywords internal
"_PACKAGE"

# The following block is used by usethis to automatically manage
# roxygen namespace tags. Modify with care!
## usethis namespace: start
## usethis namespace: end
NULL

## quiets concerns of R CMD check re: the .'s that appear in pipelines
if(getRversion() >= "2.15.1")  utils::globalVariables(
  c("artist_id", "artist_name", "artist_url", "song_id",
    "song_name", "song_lyrics_url", "song_art_image_url",
    "album_id", "album_name", "album_url",
    "album_performances_label", "album_performances_name",
    "custom_performances_label", "song_relationships_type",
    "custom_performances_name", "producer_artists_name",
    "writer_artists_name", ".")
  )

Try the geniusr package in your browser

Any scripts or data that you put into this service are public.

geniusr documentation built on Sept. 4, 2022, 1:07 a.m.