Find_Artists: Search for and get artists

Description Usage Arguments Value Examples

Description

These functions search for artist(s) by name (artistSearch) and unique ID (artistGet).

Usage

1
2
artistSearch(artistName, returnClosest = TRUE,
  accessToken = spotifyAccessTokenGet())

Arguments

artistName

a vector of artist names; can be one or more long.

returnClosest

logical; should only the closest matching name be returned. Defaults to TRUE.

accessToken

Spotify Web API token. Defaults to songwriteR::spotifyAccessTokenGet()

artistID

a vector of unique artist IDs as returned by artistSearch; can be one or more long.

Value

artistSearch returns a data.frame with elements corresponding to the matched names, and the associated unique IDs; artistGet returns a data.frame with elements x x x;

Examples

1
2
3
4
## Not run: 
artistSearch('johnny cash')

## End(Not run)

ajrominger/songwriteR documentation built on May 25, 2019, 2:25 p.m.