Los Angeles Rapped

An Interactive Archive

Nate Coffin, Taha Mohamad, Miles Bernhard

Introduction

As first year students at Claremont McKenna College, located 30 miles east of Los Angeles, we (Nate, Taha, Miles) soon found that our immediate circle of friends came from all walks of life while subconsciously possessing one commonality: a love for rap music. It soon became self-apparent that hip-hop culture had manifested itself within us in more ways than we were actively aware, from the shoes we wore, to the vernacular we understood, to the like-minded worldviews we shared. Hip-hop culture goes way beyond a popular genre of music, it is an energy. An energy that in its purest form excites social interaction, inspires ambition, and drives change.

The Gould Center for Humanistic Studies, a research institute at CMC, provided us the opportunity to explore our passion for hip-hop culture through the Imagining Los Angeles humanities lab. This project aims to develop an understanding of the cultures development over time, and analyze the ways in which it has impacted the city of Los Angeles and the world in its entirety, both through qualitative and quantitative assessment.

A special thank you to Professor Moffett for his guidance in developing this project.

TIMELINE

While the genre started in New York, hip-hop's rise to popularity can be largely attributed to West Coast and LA specifically. Hip-hop in Los Angeles spawned from the poverty-stricken streets of South Central LA in the 80s, in the trenches of a war on drugs and the peak of street gang activity. Over the past several decades, it has evolved into the epicenter of a multi-billionaire dollar industry that has influenced culture all over the world- extending beyond music to fashion, art, film, language, and social interaction as a whole. At its worst, hip-hop culture is seen to promote themes of violence, drug use, misogyny, and criminal activity. However, just as prevalently, the movement has undoubtedly been a catalyst for social activism, civil rights, and upward mobility. This project aims to track the genesis of hip-hop in Los Angeles and tell an untold story, as an archive of the prominent contributors to this movement and as a commentary on the effects it has had on society.

1970's

A Genre is Born

1980's

Electro-Hip/Hop Fusion Era

Gangsta Rap

N.W.A. - "The World's Most Dangerous Group"

1990's

Evolving Past N.W.A.

Los Angeles Riots

A defining moment for early '90s LA

Death Row Rises

The establishment of classics

Hip Hop & Art

Estevan and Mr. Cartoon

The Aftermath of Gangster Rap

The establishment of classics

Kendrick Lamar

L.A. Hip-Hop's Prophet from Compton

YG & Nipsey Hussle

Modern Day Gangsta Rappers

SoundCloud Era

The Rise(and fall) of Emo Rappers

Alternative Sound

Odd Future and Beyond

The Future

Data Sets

The Goal

We attempted to compile a dataset that contained every rap song ever made, with as much information as possible for each song. With this data, we hoped to quantify trends in rap music, identify key characteristics that differentiate the eras of rap, and analyze the changing impact of geographic origin on rap songs.

The Process

Artists

We first pursued a comprehensive list of rappers. We considered finding as many ranked lists of rappers as we could, then compiling them all together. However, we felt this may lead to a recency bias, and could neglect the “mediocre rapper”, who is in no way notable. Instead, we started with a list from Wikipedia, which was the largest we could find. We then began matching these artists to their Spotify profiles using Spotify’s remarkably powerful API and the python library Spotipy. Of the 1423 artists, we were able to match 1240 of them. From there, we pared the list down using the data Spotify provides on popularity and genre. We removed artists whose genres suggested a non-American following, as well as those with very low popularity scores or and very low follower counts, as we wanted to focus on popular, American rap culture. The result was 819 artists on which we would focus, for which we had their names, Spotify ID’s, associated genre’s, followers, and popularity score.

Discographies

We used Spotify’s API to get the track name, release date, album, duration, and Spotify ID of each of the artist’s songs. We were careful to avoid clean versions and duplicates, for example when an artist releases a song as a single and then includes it on an album. We dropped songs with durations less than 60 seconds, as we found that they were mistakes of some kind, skits, or otherwise insignificant.

Song Data

We then began compiling as much data as we could for each song. First, we used Spotify’s API to collect a variety of “features” for each song: acousticness, danceability, energy, instrumentalness, liveness, loudness, speechiness, valence, and tempo. More about these metrics can be read here. Any songs that did not have this data were dropped from the data set. We then focused on collecting lyrics. For this, we looked to Genius, a site that provides crowd sourced lyrics that are well maintained and widely considered to be reputable. We used the Genius API and accessed it through John Miller’s fantastic python library, LyricsGenius. We dropped songs where lyrics were not available, and songs where the lyrics we found were less than 20 words long, as this points to either an error in the lyric data or an insignificant song. Finally, we collected data on the Billboard success of the song using a data set provided by Sean Miller that compiles the Billboard Weekly Hot 100 chart from 1958 through the end of 2019. We cross referenced our songs with this data set to assign each song a Hot 100 score. Each week spent at number 1 earned 100 points, number 2 earned 99 points, all the way down to number 100, which earned 1 point. We summed these points to determine each songs score. We dropped all the songs from 2020, seeing as we didn’t have Billboard history for this time period. The result was a dataset of including 819 artists, 10167 albums, and 58775 songs, with release dates ranging from the beginning of 1980 through the end of 2019. For each song, we had the artist, Spotify followers, Spotify popularity, artist genres, album name, album release date, song name, lyrics, Hot 100 score, acousticness, danceability, energy, instrumentalness, liveness, loudness, speechiness, valence, and tempo. This was stored in a plain text CSV that was over a third of a gigabyte.

A Note on Data Quality

Throughout the process of collecting this data, we balanced two ideals in mind: “quantity over quality” and “garbage in, garbage out”. While we made sure to avoid erroneous data as much as possible, and we ignored songs where we didn’t have all the data we wanted, we quickly learned that our data was not going to be perfect. There were errors in lyrics on Genius, mismatched songs and lyrics, and songs that would be missed, for example. However, we determined that if we did our best to prevent these problems, that they would “average out” over time. By assembling as much data as possible, we felt that the legitimacy of the overall trends could be established despite a few errors here and there.

Computing More Metrics

We then went about computing a few additional columns for easier analysis going forwards. First, we added a column called ‘words’, which consisted of each word in the lyrics, all lowercase, with all punctuation and line breaks removed. We then used the natural language processing library nltk to create a list of unique word stems for each song. We were then able to compute total word count by counting the number of words and unique word count by counting the number of unique stems. This further allowed us to computer words per minute, unique words per minute, and lexical diversity (a ratio of unique words to total words). Furthermore, we computed a metric called profanity using a Python library called profanity-check. This column represents the ratio of words were flagged as profane to words that weren’t.

Analysis

We determined two primary avenues for analyzing the data. The first of which is plotting the value of one of our metrics over time for a given subset of the songs. For example, we could plot the average Hot 100 score per year of all rap songs, or rap songs by Kanye West, or rap songs of a certain genre, ect. The second direction for data analysis was through the lyrics in particular. We could assemble word lists and plot their frequency in various subsets of songs over time. For example, we could create a list of words related to drugs, and plot drug references over time. We also created a list of every genre that Spotify provided for the artists, and sorted them into east coast, west coast, midwest, and the south to allow us to create different graphs for each region.

Word List Analysis

Sources & Citations

Appleford, Steve. "A Panoramic History of Hip-hop, from the Bronx to Compton." Los Angeles Times. Los Angeles Times, 29 May 2019. Web. 01 May 2020.

"BMXE – The History of Hip Hop Music." Genius. Genius Lyrics, 24 Nov. 2014. Web. 01 May 2020.

Set in the West: The Genesis of L.A. Hip Hop. Dir. Wolfgang Amadeuz. Perf. Alonzo Williams. Wolfgangs Production, 2016. 2019. Web. 05 May 2020.

White, Davon. "Death Row Records (1992- )." Black Past. N.p., 12 Aug. 2019. Web. 05 May 2020.

Black Workers in LA County. Rep. UCLA Labor Center, Mar. 2017. Web. 05 May 2020.

Nelson, Havelock. "The Chronic." Rolling Stone. Rolling Stone, 25 June 2018. Web. 05 May 2020.

Breen, Mike. "30 Years Ago This Summer, N.W.A Got in Trouble With Cincinnati Police for Saying Bad Words." CityBeat Cincinnati. N.p., 14 Aug. 2019. Web. 05 May 2020.

Landler, Mark. "Coalition Challenges Time Warner Over Gangsta Rap." The New York Times, 01 June 1995. Web. 05 May 2020.

Los Angeles Times Staff. "Rodney King Beating Reverberated For years." Los Angeles Times, 1 Mar. 2016. Web. 05 May 2020.

Sastry, Anjuli, and Karen Grigsby Bates. "When LA Erupted In Anger: A Look Back At The Rodney King Riots." NPR. National Public Radio, 26 Apr. 2017. Web. 05 May 2020.

"Los Angeles: The Christopher Commission Report." Shielded from Justice: Los Angeles: The Christopher Commission Report. Human Rights Watch, June 1998. Web. 05 May 2020.

Roberts, Randall. "Rolling down Rosecrans in Compton, L.A. Hip-hop's Main Street." Los Angeles Times, 27 Jan. 2018. Web. 05 May 2020.

"Tupac Shakur Is Shot." History.com. A&E Television Networks, 13 Nov. 2009. Web. 05 May 2020.

Philips, Chuck. "N.W.A's Dr. Dre Target of Suit by Host of Rap Show : Pop Music: $22.7-million Lawsuit over an Alleged Assault Dramatizes the Debate over the Possible Relationship between Pop Lyrics and Violent Crimes against Women." Los Angeles Times, 23 July 1991. Web. 05 May 2020.

LA Originals. Dir. Estevan Oriol. Perf. Estevan Oriol, Snoop Dogg, Mister Cartoon. LA Originals (2020). Netflix, 10 Apr. 2020. Web. 05 May 2020.

Alonso, Andrea. "This Photographer Is the King of Capturing L.A.'s Lowrider and Street Cultures." Los Angeles Magazine, 27 July 2018. Web. 05 May 2020.

Hoard, Christian. "Get Rich Or Die Tryin'." Rolling Stone, 25 June 2018. Web. 05 May 2020.

Special Report: "Gangsta Rap" Lyrics Under Attack. Columbia Broadcasting System, 1990s. YouTube, 1990. Web. 05 May 2020.

Tupac on Growing Up Poor, His Rise to Fame. Perf. Tupac Shakur and Tabitha Soren. YouTube. MTV News, 1995. Web. 05 May 2020.

Optimism about Black Progress Declines: Blacks See Growing Values Gap Between Poor and Middle Class. Rep. N.p.: Pew Research Center, 13 November 2007. Web. 05 May 2020.

Mejia, Brittny. "Kendrick Lamar, the Pride of Compton, Receives Key to the City Today." Los Angeles Times, 13 Feb. 2016. Web. 05 May 2020.

Weingarten, Christopher R. "Review: Kendrick Lamar Moves From Uplift to Beast Mode on Dazzling 'Damn.'" Rolling Stone, 25 June 2018. Web. 05 May 2020.

Coscarelli, Joe. "Kendrick Lamar Wins Pulitzer in 'Big Moment for Hip-Hop'." The New York Times. The New York Times, 16 Apr. 2018. Web. 05 May 2020.

American Psychological Association. Mental Health Issues Increased Significantly in Young Adults Over Last Decade. American Psychological Association, 14 Mar. 2019. Web. 05 May 2020.

Brown, August. "In Wake of Juice Wrld's Death, the Tragic Tale of SoundCloud Rap Star Lil Peep Looms Ever Larger." Los Angeles Times, 11 Dec. 2019. Web. 05 May 2020.

Bernstein, Jonathan. "What the Messy Legal Battle Over Lil Peep's Death Reveals." Rolling Stone, 31 Dec. 2019. Web. 05 May 2020.

Schwartz, Danny. "Tyler the Creator's Surreal, Summery 'IGOR'." Rolling Stone, 21 May 2019. Web. 05 May 2020.

Nanton, Brittney. "Grammys 2020: Tyler, The Creator Brings Down The Stage And Takes Home Rap Album Of The Year." Forbes Magazine, 27 Jan. 2020. Web. 05 May 2020.

Kitroeff, Natalie. "Construction Workers in L.A. Make Less Now than 40 Years Ago. Here's Why." Los Angeles Times, 22 Apr. 2017. Web. 05 May 2020.

Singer, Natasha. "How Big Pharma Grew Addicted to Big Profits." The New York Times, 12 Mar. 2020. Web. 05 May 2020.

Sonksen, Mike. "The History of South Central Los Angeles and Its Struggle with Gentrification." KCET. N.p., 13 Sept. 2017. Web. 05 May 2020.

Wagner, Peter. "U.S. Incarceration Rates by Race." Prison Policy Initiative, 2010. Web. 05 May 2020.

Romo, Vanessa. "Juice WRLD Cause Of Death Was Accidental Overdose." National Public Radio, 22 Jan. 2020. Web. 05 May 2020.

Long, Duri. "Listen to the Story: Banksy, Tyler the Creator, and Nihilism in Urban Artistic Expression." The People, Idea, and Things (PIT) Journal, 2012. Web. 05 May 2020.

Wilson, Mark. "Tyler, the Creator Is in Full Bloom." Fast Company, 18 Oct. 2018. Web. 05 May 2020.

Abebe, Nitsuh. "Tyler, the Creator: Visionary Rapper or Obnoxious Teenager?" Vulture. New York Magazine, 10 May 2011. Web. 05 May 2020.

MacAdams, Torii. "The New Generation of LA Rap Is Changing Everything." Vice, 03 Feb. 2019. Web. 05 May 2020.

Battan, Carrie. "The Return of West Coast Hip-Hop." The New Yorker, 13 Aug. 2018. Web. 05 May 2020.

Martin, Rachel, and Steve Inskeep. "Grammy-Nominated Rapper Nipsey Hussle Shot Dead In Los Angeles." National Public Radio, 01 Apr. 2019. Web. 05 May 2020.

Blanchard, Becky. "The Social Significance of Rap & Hip-Hop Culture." Stanford University - Ethics of Development in a Global Environment (EDGE), 26 July 1999. Web. 05 May 2020.