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
Size: 8912
Language: Jupyter Notebook
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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.
brew install python3
t clone https://github.com/nprapps/trump-tweet-analysis.git
virtualenv --python=$(which python3) trump-tweet-analysis
p install -r requirements.txt
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.