Skip to content

Twitter Data Collection Using the Streaming API. Includes 1.4M Tweets Partitioned by Sentiment.

License

Notifications You must be signed in to change notification settings

math189r/twitter-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twitter-data

Collects tweets from the streaming API.

The repository includes a dataset of 1.4 Million tweets partitioned by sentiment using this functionality.

Usage

$ python3 run.py --config example_config.json

Most functionality is defined within the config file. See the example config for details on the options. Basically you can either use the sample endpoint or the filter endpoint with filters on the content of the tweets you pull.

If you want the data in its own file, just pipe the output into a file eg.

$ python3 run.py --config example_config.json > output_data.json

About

Twitter Data Collection Using the Streaming API. Includes 1.4M Tweets Partitioned by Sentiment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages