visRelatedArtists: Visualize Related Artists

Description Usage Arguments Author(s) Examples

View source: R/SpotifyAPI.R

Description

Creates a object containing a list of artists and a list of artists relationships then outputs a force direct layout to the file location specified

Usage

1
visRelatedArtists(artist, steps = 2, output_file)

Arguments

artist

an artist or list of artists

steps

the number of steps you want to explore related artists for

output_file

an output location and filename

Author(s)

James Thomson

Examples

1
2
out<-visRelatedArtists(artist="David Bowie", steps=2, output_file="vis.html")
out<-visRelatedArtists(artist=c("David Bowie", "Bob Dylan"), steps=1, output_file="vis.html")

jamesthomson/SpotifyAPI documentation built on May 18, 2019, 11:21 a.m.