search_artist {rechonest} | R Documentation |
To search artist by using name
Description
To search artist by using name
Usage
search_artist(api_key, name = NA, style = NA, hotttnesss = T,
description = NA, start = NA, results = 15, sort = NA, partner = NA,
artist_location = NA, genre = NA, mood = NA, rank_type = "relevance",
fuzzy_match = F, max_familiarity = NA, min_familiarity = NA,
max_hotttnesss = NA, min_hotttnesss = NA, artist_start_year_before = NA,
artist_start_year_after = NA, artist_end_year_before = NA,
artist_end_year_after = NA)
Arguments
api_key |
Echo Nest API key |
name |
artist's name |
style |
artist's style |
hotttnesss |
artist's hotttnesss (Default is true) |
description |
artist's description |
start |
the desired index of the first result returned |
results |
maximum size |
sort |
to sort ascending or descending |
partner |
partner catalog |
artist_location |
artist location |
genre |
genre name |
mood |
mood like happy or sad |
rank_type |
For search by description, style or mood indicates whether results should be ranked by query relevance or by artist familiarity |
fuzzy_match |
if true, a fuzzy search is performed |
max_familiarity |
maximum familiarity |
min_familiarity |
minimum familiarity |
max_hotttnesss |
maximum hotttnesss |
min_hotttnesss |
minimum hotttnesss |
artist_start_year_before |
Matches artists that have an earliest start year before the given value |
artist_start_year_after |
Matches artists that have an earliest start year after the given value |
artist_end_year_before |
Matches artists that have a latest end year before the given value |
artist_end_year_after |
Matches artists that have a latest end year after the given value |
Value
data frame giving artist's data
Examples
## Not run:
data=search_artist(api_key,"coldplay",sort="hotttnesss-desc",results=50)
## End(Not run)