Visualize Listening Patterns Over Time
plot_listening_patterns.RdCreates a plot of when you listen to music by hour, day, or week. Prints directly to the graphics device.
Arguments
- history_df
Data frame from
get_recently_played()- type
Type of visualization:
"hourly","daily", or"weekly". Default"hourly"
Examples
if (FALSE) { # \dontrun{
history <- get_recently_played(n_total = 50)
plot_listening_patterns(history, type = "hourly")
plot_listening_patterns(history, type = "daily")
plot_listening_patterns(history, type = "weekly")
} # }