Giter Site home page Giter Site logo

tv-trump-twitter's Introduction

President Trump's Tweets and TV

An analysis of President Trump's tweets and television news chyrons.

Description

This is an analysis of the President's tweets and how they are linked to the news of the day. We'll utilize some natural language processing (NLP) in Python to determine if there is a relationship between the news of the day and the President's twitter activity.

Data

The chyron data is provided by the Third Eye Project. We'll access the tweets on Twitter via the Tweepy library.

Instructions

Environment

To get started initialize the python environment with the required libraries you can run:

$ make requirements

Setup

You'll need to set some environment variables for Twitter API access (we're using python-dotenv library for that), you'll also need a Twitter account and API key. You can setup a new app on Twitter via the Apps Management when you're logged into your Twitter account. You can set the keys interactively using this command:

$ make setup

License

This project's code is Copyright (C) 2018 Douglas Daly and licensed under the MIT license - details can be found in the LICENSE file. All other trademarks and copyrights are the property of their respective owners.

tv-trump-twitter's People

Contributors

douglasdaly avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.