Skip to content

Tiangewang0524/Swinburne_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swinburne_project

This project is to understand community attitudes towards violence against women in Australia, provided by IT departments in Swinburne University of Technology.

Data are from the Twitter and Instagram.

Research scope is Melbourne metropolitan region.

Detail can be found here: https://www.swinburne.edu.au/research-institutes/social-innovation/research/social-data-analytics/

0. Requisite package:

matplotlib

vaderSentiment

json

wordcloud

nltk

1. Data collect

raw_data.sh

A shell script to collect Twitter and Instagram raw data from AURIN/tweet-infra: https://github.com/AURIN/tweet-infra

2. Functions

  • convert:

To convert numbers to months.

  • filtered:

Clean and filter Twitter/Instagram raw data with hashtag #metoo & #timesup and reserve 5 attributes: "tweet_id", "user_id", "user_name", "post_text" and "post_time"

  • sentiment:

Sentiment analysis on Twitter/Instagram filtered data based on vaderSentiment package. To evaluate the attitude (positive or negative) of each Twitter/Instagram post.

  • draw_sentiment:

Draw diagrams based on the result above via matplotlib package.

  • find_trollers:

Find trollers (who always have negative comments on women).

  • word_identify:

Collect all the tweet and instagram posts, split them and identify the part-of-speech of the words. Then store as a txt file.

  • word_cloud:

Generate word cloud for Twitter/Instagram filtered data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published