Skip to contents

A function that that iterates through a list of genres, counts the number of occurrences of each genres and returns the top 5 occurrences.

Usage

get_top_genres(artist_information)

Arguments

artist_information

A list containing metadata of all the artists.

Value

A vector containing the top 5 occurrences.