Skip to main content
HomeR

project

Wrangling and Visualizing Musical Data

Beginner
Updated 06/2024
Wrangle and visualize musical data to find common chords and compare the styles of different artists.
Start project for free

Included withPremium or Teams

10 Tasks1,500 XP7,298

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Project Description

Apply data-wrangling and visualization tools from the tidyverse to musical data. Find the most common chords and chord progressions in a sample of pop/rock music from the 1950s-1990s, and compare the styles of different artists.

This project assumes familiarity with standard TidyVerse tools for R, in particular the tibble data structure and the dplyr and ggplot2 packages. No specific musical knowledge is required, though it may give you ideas for further exploration of the dataset after completing the project.

This project uses a parsed and cleaned version of the McGill Billboard Dataset, version 2.0 (CC0 license).

Project Tasks

  1. 1
    Introduction
  2. 2
    The most common chords
  3. 3
    Visualizing the most common chords
  4. 4
    Chord "bigrams"
  5. 5
    Visualizing the most common chord progressions
  6. 6
    Finding the most common artists
  7. 7
    Tagging the corpus
  8. 8
    Comparing chords in piano-driven and guitar-driven songs
  9. 9
    Comparing chord bigrams in piano-driven and guitar-driven songs
  10. 10
    Conclusion

Technologies

R R

Prerequisites

Introduction to the TidyverseIntermediate Data Visualization with ggplot2
Kris Shaffer HeadshotKris Shaffer

Data scientist and instructional technology specialist

Kris Shaffer, Ph.D., is a data scientist and instructional technology specialist at the University of Mary Washington. He also does freelance work in web intelligence and analytics, and has an academic background in music theory and the digital humanities. You can find him on the web at pushpullfork.com.
See More

FAQs

What do other learners have to say?