Skip to content

mdbdev/TwitterExplore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Conducts a sentiment analysis of a topic string using tweets from Twitter.
Generates a map of the US that color codes these sentiments.

Example of how to use this package:

$ python -i api_call.py
>>> d = {'consumer_key' : 'INSERT CONSUMER KEY',
            'consumer_secret' : 'INSERT CONSUMER SECRET',
            'access_token' : 'INSERT ACCESS TOKEN',
            'access_token_secret' : 'INSERT TOKEN SECRET'}
>>> generate_map(d, "Trump")
...

Saving [map.html]


Now you should open the map.html in your browser and enjoy the marker map!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages