Collection of notebooks written while learning to work with the Twitter API (https://developer.twitter.com/en/portal)
- "twitter_API_intro" is my first attempt at retrieving Twitter data, and contains some detailed explanations on using tweepy to interact with the Twitter API;
- "sentiment_twitter" is a naive sentiment analysis experiment on Italian tweets;
- "tweet_trends_viz" is a recap of my experiments in tracking Twitter trends in Italy, gather tweets for the top trends and then performing some data visualization on them;
- "graphs_scraping" contains a serie of experiments run while trying to develop functions to extract followers and friends informations from the Twitter API;
- "graphs_from_twitter" is the refined version of (3) and is my first experimentation with network data (my network of friends and followers from Twitter, actually);
- "politics_scraping" is an experiment in scraping information via about italian politicians accounts on Twitter;
- "politics_graph_analysis" is a basic analysis of the network of friends of italian politicians on Twitter;
- "link_prediction_politics" contains a collection of techniques to perform link prediction using the politicians data collected and analyzed in the previous notebooks.
- "graph_scraping_utils" is a collection of utility functions to scrape data from followers and friends of Twitter users, such that they can be easily converted in network (graph) form.
- "graph_features_utils" is a collection of utility functions to extract features from graph-structured data.