NOTE: This is Developer Version (Please do not share with anyone without removing API Keys)
Python Version 3.6.3 MongoDB Version v4.0.4
Use pip
to install the following packages:
- tweepy
- pymongo
- pandas
- pickle
- re
- textblob
- plotly
- wordcloud
- matplotlib
- pycountry
- dateutil
- Import the mongoDB dump (
mongorestore
) - The Script used for the creation of this Database can be found at
twitterdatacollect.py
All the plots have been added in the Jupyter Notebook. Kindly run the command jupyter notebook
and access the file TwitterAnalysis.ipynb
misc
contains all the individual python scripts that were eventually combined to form the Jupyter Notebooktwitterdatacollect.py
was used to create the databasecreate_dataframes.py
was used to create dataframes of the relevant data collected in MongoDbload_pickle.py
Use this to import the dataframes to any given fileTwitterAnalysis.ipynb
is the jupyter notebook used for displaying all the analysisTwitterAnalysis.html
is the html file for the samecountrycodes.csv
contains countries and their codes used for plotting for spacial analysis