Write My Paper Button

WhatsApp Widget

Write My Paper

Freelance Writing

For this task, you will be using tweets of two Australian politicians (Kevin Rudd and Scott Morrison)., and conducting a data analysis similar to the one for Joe Biden that

For this task, you will be using tweets of two Australian politicians (Kevin Rudd and Scott Morrison)., and conducting a data analysis similar to the one for Joe Biden that we discussed in Week 8. You can download the dataset that contains 200 tweets of Kevin Rudd and 200 tweets of Scott Morrison from iLearn (Tweets-Kevin-Scott).
Tasks
Read the important features of the tweets of Kevin Rudd and Scott Morrison into a single Pandas dataframe. The important features are those that you need for the subsequent tasks.
Use pandas to plot the posting times of the tweets for the two users in one bar chart; the aim of the plot is to distinguish the two users.
Use pandas to construct one bar chart of the proportions of tweets for each of the two users that contain pictures or links.
Use pandas to construct a histogram of the number of hashtags in tweets for each of the two users.
Calculate the log odds ratio (check here for an example) for each word used in the set of tweets, and list the 20 words most strongly associated with each of the two users.
Use the vaderSentiment module to calculate the sentiment of each tweet, and then for each of the two users, calculate the average ‘compound’ sentiment for all their tweets. You should be able to straightforwardly run the sample Python code from the vader github repo in your notebook.
Produce a short video (of up to 3 minutes in length) where you present a code walk through. You can use Zoom for recording the video. Please make sure that the speaker is visible in the video.
What to Submit
You should submit the following in a single .zip file:
The original tweets from Kevin Rudd and Scott Morrison that you used as a starting point.
A Jupyter notebook with the code for producing all the results.
A short video in mp4 format (no longer than 3 minutes in length

For this task, you will be using tweets of two Australian politicians (Kevin Rudd and Scott Morrison)., and conducting a data analysis similar to the one for Joe Biden that
Scroll to top