#JeSuisAhmed
Had some time last night to do some exploratory analysis on some of the #JeSuisAhmed collection. This analysis is from the first tweet I was able to harvest #JeSuisAhmed to some time on January 14, 2015 when I copied over the json to experiment with a few of the twarc utilities.
First tweet in data set:
#JeSuisAhmed Reveals the Hero of the Paris Shooting Everyone Needs to Know by @sophie_kleeman http://t.co/0Et9Wh7Pbf via @MicNews
— Guy Griffin (@gjgriffin214) January 9, 2015
Last tweet in data set:
#NewBlogPost @TheDemocrats @Progressive @dw_english @guardian #FreePress #JeSuisCharlie #RaifBadawi #JeSuisAhmed http://t.co/bZkrTOcl18
— Douglas Langner (@DouglasLangner) January 15, 2015
Hydration
If you want to experiment/follow along with what I’ve done here, you can “rehydrate” the data set with twarc. You can grab the Tweet ids for #JeSuisAhmed from here (Data & Analysis tab).
% twarc.py --hydrate JeSuisAhmed-ids-20150113.txt > JeSuisAhmed-tweets-20150113.json
The hydration process will take some time. I’d highly suggest using GNU Screen or tmux, and grabbing a cup of coffee.
Map
#JeSuisAhmed tweets with geo coordinates.
In this data set, we have 2,329 tweets with geo coordinates availble. This represents about 0.91% of the entire data set (257,093 tweets).
How do you make this?
Create the geojson
~/git/twarc/utils/geojson.py JeSuisAhmed-tweets-dedupe-20150112.json > JeSuisAhmed-tweets-dedupe-20150112.geojson
Give the geojson a variable name.
Use Leaflet.js to put all the tweets with geo coordinates on a map like this.
Images
These are the image urls that have more than 1000 occurrences in the data set.
13703 Occurrences
10396 Occurrences
6088 Occurrences
4354 Occurrences
3229 Occurrences
3124 Occurrences
2307 Occurrences
2034 Occurrences
1949 Occurrences
1296 Occurrences
1182 Occurrences
1100 Occurrences
How do you get the image list (requires unshrtn)?
% ~/git/twarc/utils/image_urls.py JeSuisAhmed-tweets-unshortened-20150112.json > JeSuisAhmed-images-20150112.txt
% cat JeSuisAhmed-images-20150112.txt | sort | uniq -c | sort -rn > JeSuisAhmed-images-ranked-20150112.txt
The ranked url data set can be found here.
Retweets
What are the three most retweeted tweets in the hashtag?
I am not Charlie, I am Ahmed the dead cop. Charlie ridiculed my faith and culture and I died defending his right to do so. #JesuisAhmed
— Dyab Abou Jahjah (@Aboujahjah) January 8, 2015
Policier, il avait 42 ans, il s'appelait Ahmed et il a essayé d'arrêter ces terroristes ! Il est mort. #JeSuisAhmed pic.twitter.com/iSkK6xneEV
— Mohamed Bouhafsi (@mohamedbouhafsi) January 7, 2015
Il s'appelait Ahmed Marabet,avait 42 ans,il était policier,il est mort pour protéger la République #JeSuisAhmed pic.twitter.com/hdTpxhVdHJ”
— Michèle Laroque (@MicheleLaroque) January 8, 2015
How do you find out the most retweets tweets in the dataset? This will give you the top 10.
~/git/twarc/utils/retweets.py JeSuisAhmed-tweets-dedupe-20150112.json > JeSuisAhmed-retweets-20150112.json
Top URLs
Top 10 URLs tweeted from #JeSuisAhmed.
- http://www.huffingtonpost.ca/2015/01/08/ahmed-merabet-jesuisahmed-charlie-hebdo_n_6437984.html?ncid=tweetlnkushpmg00000067 (2895)
- http://limportant.fr/infos-jesuischarlie/76/360460 (1613)
- http://mic.com/articles/107988/the-hero-of-the-charlie-hebdo-shooting-we-re-overlooking (1318)
- http://www.huffingtonpost.co.uk/2015/01/08/charlie-hebdocharlie-hebdo-attack-jesuisahmed-hashtag-commemorating-ahmed-merabet-takes-off_n_6436528.html?1420731418&ncid=tweetlnkushpmg00000067 (919)
- http://www.huffingtonpost.com/2015/01/08/jesuisahmed-twitter-hashtag_n_6438132.html?ncid=tweetlnkushpmg00000067 (632)
- http://www.huffingtonpost.com/2015/01/08/jesuisahmed-twitter-hashtag_n_6438132.html?ncid=tweetlnkushpmg00000055 (592)
- http://www.dailymail.co.uk/news/article-2901681/Hero-police-officer-executed-street-married-42-year-old-Muslim-assigned-patrol-Paris-neighbourhood-Charlie-Hebdo-offices-located.html (571)
- http://blogs.mediapart.fr/blog/joel-villain/070115/il-sappelait-ahmed (555)
- http://www.bbc.co.uk/news/blogs-trending-30728491?ocid=socialflow_twitter (471)
- http://www.huffingtonpost.com/2015/01/08/jesuisahmed-twitter-hashtag_n_6438132.html?utm_hp_ref=tw (436)
Full list of urls can be found here.
How do you get the list (requires unshrtn)?
% cat JeSuisAhmed-tweets-20150112.json | ~/git/twarc/utils/unshorten.py > JeSuisAhmed-tweets-unshortened-20150112.json
% cat JeSuisAhmed-tweets-unshortened-20150112.json | ~/git/twarc/utils/urls.py| sort | uniq -c | sort -rn > JeSuisAhmed-urls.txt
Twitter Clients
Top 10 Twitter clients used from #JeSuisAhmed.
- Twitter for iPhone (85116)
- Twitter for Android (58819)
- Twitter Web Client (58166)
- Twitter for iPad (15304)
- Twitter for Websites (6877)
- Twitter for Windows Phone (5237)
- Twitter for Android Tablets (4420)
- TweetDeck (3790)
- Mobile Web (M5) (1708)
- Tweetbot for iΟS (1691)
Full list of clients can be found here.
How do you get the list of Twitter client sources?
% ~/git/twarc/utils/source.py JeSuisAhmed-tweets-20150112.json > JeSuisAhmed-sources-20150112.html