Skip to content
No description, website, or topics provided.
Jupyter Notebook
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
Webscraping and Text Manipulation for Statistics in Presidential Debates.ipynb

Webscraping and Text Manipulation: Presidential Debates

Using Webscraping and Text Manipulation to perform analysis on Presidential Debates for the years from 1960 to 2012.

Tools: Python, Webscrapping with BeautifulSoup.


Scrape Presidential Debates from the Commission of Presidential Debates website:


  1. By using requests and BeautifulSoup , I found all the links / URLs on the website that links to transcriptions of First Presidential Debates from the years [2012, 2008, 2004, 2000, 1996, 1988, 1984, 1976, 1960].

  2. Analyze the data by reporting:

    1. Length of the transcript of the debate (as in the number of characters in transcription string).
    2. Count how many times the word war was used in the different debates.
    3. Scrape the most common used word in the debate, and how many times it was used.
You can’t perform that action at this time.