The following exercises (taken from Lesson 3) use the spotify_songs dataset. Run the code chunk below to load the data and packages:

library(mosaic)library(tidyverse)spotify_songs = read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2020/2020-01-21/spotify_songs.csv')

Run the following to view the dataset:

View(spotify_songs)

Exercise 1
Find the average danceability of all songs in the sample.

# Type your code here

TYPE YOUR ANSWER HERE

Exercise 2
Use favstats() to find several descriptive statistics for speechiness, separated by playlist_genre. Compare the means in the output. Which genre has the highest average level of speechiness? The lowest?

# Type your code here

TYPE YOUR ANSWER HERE