GithubHelp home page GithubHelp logo

xiaorongw / covid19-analysis Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 4.0 1.37 MB

Analysis of social media conversations surrounding COVID-19 in Singapore

Jupyter Notebook 100.00%
sentiment-analysis topic-modelling twitter-retweet-network twitter-sentiment-analysis twitter-analysis reddit-sentiment-analysis network-analysis singapore vader gensim-topic-modeling

covid19-analysis's Introduction

Analysis of social media conversations surrounding COVID-19 in Singapore

The following files were used to analyse Facebook, Reddit and Twitter data collected from January 2020 to March 2020. As more data is collected, the code serves as a template to conduct further analysis. Analysis conducted include:

  • Topic modelling to identify key topics and user groups in Singapore’s social media scene
  • Sentiment analysis to model and evaluate netizen sentiments based on social media posts, against the growth of COVID-19 cases in Singapore
  • Social network analysis to model the Twitter retweet network in Singapore on posts related to COVID-19

A summary of the analysis results can be found here.

Brief summary of each file

Twitter Data Cleaning & Preprocessing.ipynb

  • Text pre-processing for Twitter data collected using the Twitter REST API

Retrieve Singapore Tweets For Analysis.ipynb

  • With data collected using Twitter REST API, filter tweets with location tag "SG" for analysis

Topic modelling - Twitter.ipynb

  • Conduct topic modelling (Latent Dirichlet Allocation) on data collected using Twitter REST API

Sentiment Analysis - Twitter .ipynb

  • Conduct sentiment analysis on Twitter data using VADER

Extract Twitter Network.ipynb

  • Extract Twitter retweet network in Singapore, for network analysis to be conducted (exports a gml file for visualisation on Gephi)

Topic Modelling - Reddit.ipynb

  • Conduct topic modelling (Latent Dirichlet Allocation) on data collected from Reddit API

Sentiment Analysis - Reddit.ipynb

  • Conduct sentiment analysis on Reddit data using VADER

Number of Facebook Posts Against Time.ipynb

  • Plot the number of Facebook posts against time for key ministers (of Singapore government) involved in COVID-19 response

covid19-analysis's People

Contributors

xiaorongw avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.