Programming for Cultural Heritage - Monday Night Wars Project
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CSVs
networkvizwebsite
website
PFCH_networkviz.gephi
README.md
allmatches_jsontocsv.py
allmatches_jsontocsvwithtitle.py
jsontocsv_edgetable.py
projectscript_til08.23.1995_WWF.py
projectscript_til09.03.1996_WCW.py
projectscript_til09.28.1998_WWF.py
projectscript_til10.01.1996_WCW.py
projectscript_til10.19.1998_WCW.py
projectscript_til1995_WCW.py
projectscript_til9.04.1995_WCW.py
ratings_script.py
ratingsjsontocsv.py
scraped_ratingsdata.json
scrapedmatchdata_WCW.json
scrapedmatchdata_WWF.json
scrapedmatchdata_all.json
scrapedmatchdata_til10.01.1996_WCW.json
scrapedmatchdata_til10.19.1998_WCW.json
scrapedmatchdata_til1995_WCW.json
scrapedmatchdata_til8.23.1995_WWF.json
scrapedmatchdata_til9.04.1995_WCW.json
scrapedmatchdata_til9.28.1998_WWF.json

README.md

PFCH-Python

Programming for Cultural Heritage - Monday Night Wars Project

"Monday Night Wars: Data From Wrestling's Golden Age" is a project that uses python programming and data visualization techniques to unpack an era of professional wrestling called "Monday Night Wars."

"Monday Night Wars" references a six year ratings battle between two TV shows: World Championship Wrestling’s (WCW) Monday Night Nitro, and World Wrestling Federation’s (WWF) flagship show Monday Night Raw. The ratings war was part of an overall struggle between the two companies, which was perpetuated by personal feuding between WCW owner Ted Turner and WWF commissioner Vince McMahon. Competition between the two companies revolutionized the industry's approach to talent relations, character building, and storylines by forcing promotions to identify profitable markets and approach new extremes to meet viewer expectations.

I scraped my data from a wrestling database from Cagematch.com and wiki site called Wrestlescoop.com in hopes that I would be able identify trends that align with the historical details of the "Monday Night Wars" era. The data from Cagematch pertained to wrestling matches, and included match dates, locations, participants, titles, and the affiliated wrestling promotion. The data from Wrestlescoop.com details WWF Raw and WCW Nitro's show ratings from 1995 to 2001.

Below, you will find instructions on how to scrape the data with Python, write the data to a JSON file, and finally, write the JSON files to CSVs.

Match Data:

  • Run each python script that begins with "projectscript_". You do not need to run them in order, but it is easiest to run all of the scripts ending in "_WCW" first, then all of the scripts ending in "_WWF" (it's easier to stay organized that way). Because Cagematch only return 1000 search results for each query, I had to use multiple scripts that scraped the data in small batches of <1000 rows.
  • Running all of the WCW scripts will scrape WCW wrestling match data and write it to a JSON file. After you've run each of the "_WCW" scripts, consolidate the WCW JSON files into one JSON filing by copy/pasting. Do the same with WWF data.
  • Consolidate the WCW and WWF JSON files into one all-inclusive JSON file using copy/paste.
  • To create an edge table for import into Gephi, run "jsontocsv_edgetable.py", which parses JSON match data to a CSV.
  • To create a CSV of wrestling match data to import into Tableau, run "allmatches_jsontocsv.py" Note: There are multiple iterations of each CSV because I had to clean the data in Google Refine.

Ratings Data:

  • Run "ratings_script.py" to scrape ratings data and write it to a JSON file.
  • Run "ratingsjsontocsv.py" JSON file to write JSON file to a CSV.