10.11 Chapter 10 Review Questions 2

The data frame top_50 contains information about the top 50 songs of 2019 on Spotify.

  • track_name The name of the song
  • artist_name The name of the artist
  • genre The musical genre of the song
  • bpm The beats per minute of the song (tempo)
  • danceability The danceability of the song; the higher the value, the easier it is to dance to this song
  • length The duration of the song (in seconds)
  • popularity The 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 here
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 here
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 here

Responses