Learn R Programming

geniusr (version 1.2.1)

browse_genius_resource: Open the Genius url of a resource in your browser

Description

Opens a browser to the Genius url of a Genius "resource" (i.e. the result of a successful get_album|artist|song() call).

Usage

browse_genius_resource(x)

Value

A browser is opened to the Genius resource's url if the session is interactive. The URL is returned as a character string.

Arguments

x

a genius_album, genius_artist, or genius_song object

Examples

Run this code
# \donttest{
song <- get_song(song_id = 3039923)
browse_genius_resource(song)
# }

Run the code above in your browser using DataLab