10.11 Chapter 10 Review Questions 2
The data frame top_50 contains information about the top
50 songs of 2019 on Spotify.
track_nameThe name of the songartist_nameThe name of the artistgenreThe musical genre of the songbpmThe beats per minute of the song (tempo)danceabilityThe danceability of the song; the higher the value, the easier it is to dance to this songlengthThe duration of the song (in seconds)popularityThe popularity of the song; the higher the value the more popular the song is
require(coursekata)
top_50_long <- read.csv("https://docs.google.com/spreadsheets/d/e/2PACX-1vTnNejzAPGLo_IgpbkWwjhUG7LGpJmHmIZ78AmT6tR2pgaUfApsOSQaLPMZ9oZ-bpSgvKGErmdaLKhz/pub?gid=1143384330&single=true&output=csv")
top_50 <- select(top_50_long, track_name, artist_name, genre, bpm, danceability, length, popularity)
# run your code hererequire(coursekata)
top_50_long <- read.csv("https://docs.google.com/spreadsheets/d/e/2PACX-1vTnNejzAPGLo_IgpbkWwjhUG7LGpJmHmIZ78AmT6tR2pgaUfApsOSQaLPMZ9oZ-bpSgvKGErmdaLKhz/pub?gid=1143384330&single=true&output=csv")
top_50 <- select(top_50_long, track_name, artist_name, genre, bpm, danceability, length, popularity)
# run your code hererequire(coursekata)
top_50_long <- read.csv("https://docs.google.com/spreadsheets/d/e/2PACX-1vTnNejzAPGLo_IgpbkWwjhUG7LGpJmHmIZ78AmT6tR2pgaUfApsOSQaLPMZ9oZ-bpSgvKGErmdaLKhz/pub?gid=1143384330&single=true&output=csv")
top_50 <- select(top_50_long, track_name, artist_name, genre, bpm, danceability, length, popularity)
# run your code here