Popular Profiles on Twitter in Urban City: Chandigarh
Popular Profiles
On extracting data from Twitter after giving parameter to Track as 'Chandigarh', it have been analyzed that the most trending topics on Twitter in Chandigarh are- 'utvfilms'
- 'timesofindia'
- 'ndtv'
- 'TOIChandigarh'
- 'Gurmeetramrahim'
- 'ABCD2Film'
- 'rikitshahi'
- 'Varun_dvn'
- 'ShraddhaKapoor'
- 'Chaitu_Alia'
Interesting Fact
Moreover, out of 955 Tweets, only 13 tweets are from Chandigarh location about Chandigarh, 572 tweets are from other locations and for rest: location is not mentioned.
It has also been notes that tweets are repeated for popular profiles like that of ABCD2, Shraddha Kapoor, Varun Dhawan just to popularize the stuff. These kind of spams can be ignore for better analysis
Steps to get Popular Profiles on Twitter Data
This analysis can be done step by step as follows
- Make application in dev.twitter.com/app
- Install TweepyAPI and Python
- Now Extract data from Twitter using Python Script and Tweepy API
- Install MongoDB (stores JSON format)
- Store extracted data in MongoDB as the data is already in JSON format
- Get data from MongoDB database using filters (fields that you need)
- Identify only text field from that data and extract usernames from every tweet
- Store all the usernames in a list
- Now prepare tf-idf chart using dictionary to create key-b value pair (in python)
- Fetch top 10 keys with maximum values
Comments
Post a Comment