Learn R Programming

moderndive (version 0.7.0)

spotify_52_shuffled: Spotify 52-Track Sample Dataset with 'popular or not' shuffled

Description

This dataset contains a sample of 52 tracks from Spotify, focusing on two genres: deep-house and metal. It includes metadata about the tracks, the artists, and a shuffled indicator of whether each track is considered popular.

Usage

spotify_52_shuffled

Arguments

Format

A data frame with 52 rows and 6 columns:

track_id

character. Spotify ID for the track. See: https://developer.spotify.com/documentation/web-api/

track_genre

character. Genre of the track, either "deep-house" or "metal".

artists

character. Names of the artists associated with the track.

track_name

character. Name of the track.

popularity

numeric. Popularity score of the track (0-100). See: https://developer.spotify.com/documentation/web-api/reference/#/operations/get-track

popular_or_not

character. A shuffled version of the column of the same name in the spotify_52_original data frame.

Examples

Run this code
data(spotify_52_shuffled)
head(spotify_52_shuffled)

Run the code above in your browser using DataLab