nprapps/trump-tweet-analysis

Name: trump-tweet-analysis

Owner: NPR visuals team

Description: Data and sentiment analysis of Trump's tweets

Created: 2017-04-21 18:26:09.0

Updated: 2017-10-11 19:34:56.0

Pushed: 2017-09-18 14:46:48.0

Homepage:

Size: 8912

Language: Jupyter Notebook

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Analysis of Trump tweets

Data from the Trump Twitter archive.

This analysis was used in a Morning Edition radio segment. However, because this version uses the latest data at the time the notebook was last run, the data analyzed will be more up-to-date than the radio piece, which taped on April 26, 2017.

Assumptions
Bootstrap the project
t clone https://github.com/nprapps/trump-tweet-analysis.git
virtualenv --python=$(which python3) trump-tweet-analysis
p install -r requirements.txt
Run the notebook
 trump-tweet-analysis
rkon trump-tweet-analysis
pyter notebook

A listing of files in the project directory should open automatically in your preferred browser. If it doesn't copy the URL given in terminal.

Click on the link for trump-tweets.ipynb to view the notebook.

Click the Cell menu and then the Run All menu item to execute the cells and get the most recent results.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.