SlideShare a Scribd company logo
1 of 18
Mapping Online Publics Axel Bruns / Jean BurgessARC Centre of Excellence  for Creative Industries and Innovation,  Queensland University of Technology a.bruns@qut.edu.au – @snurb_dot_info / je.burgess@qut.edu.au –  @jeanburgesshttp://mappingonlinepublics.net – http://cci.edu.au/
Gathering Data Keyword / #hashtag archives Twapperkeeper.com No longer fully functional yourTwapperkeeper Open source solution Runs on your own server Use our modifications to be able to export CSV / TSV Uses Twitter streaming API to track keywords Including #hashtags, @mentions
Twapperkeeper / yourTwapperkeeper data Typical data format (#ausvotes):
Processing Data Gawk: Command-line tool for processing CSV / TSV data Can use ready-made scripts for complex processing Vol. 1 of our scripts collection now online at MOP Regular expressions (regex): Key tool for working with Gawk Powerful way of expressing search patterns E.g.: @[A-Za-z0-9_]+ = any @username See online regex primers...
# atextractfromtoonly.awk - Extract @replies for network visualisation # # this script takes a Twapperkeeper CSV/TSV archive of tweets, and reworks it into simple network data for visualisation # the output format for this script is always CSV, to enable import into Gephi and other visualisation tols # # expected data format: # text,to_user_id,from_user,id,from_user_id,iso_language_code,source,profile_image_url,geo_type,geo_coordinates_0,geo_coordinates_1,created_at,time # # output format: # from,to # # the script extracts @replies from tweets, and creates duplicates where multiple @replies are # present in the same tweet - e.g. the tweet "@one @two hello" from user @user results in # @user,@one and @user,@two # # Released under Creative Commons (BY, NC, SA) by Axel Bruns - a.bruns@qut.edu.au BEGIN { 	print "from,to" } /@([A-Za-z0-9_]+)/ { 	a=0 	do { 		match(substr($1, a),/@([A-Za-z0-9_]+)?/,atArray) 		a=a+atArray[1, "start"]+atArray[1, "length"] 		if (atArray[1] != 0) print tolower($3) "," tolower(atArray[1]) 	} while(atArray[1, "start"] != 0) }
Running Gawk Scripts Gawk command line execution: Open terminal window Run command: #> gawk -F  -f scriptsxplodetime.awk input.tsv >output.tsv Arguments: -F  = field separator is a TAB (otherwise -F ,) -f scriptsxplodetime.awk = run the explodetime.awk script(adjust scripts path as required)
Basic #hashtag data: most active users Pivot table in Excel – ‘from_user’ against ‘count of text’
Identifying Time-Based Patterns #> gawk -F  -f scriptsxplodetime.awk input.tsv >output.tsv Output: Additional time data: Original format + year,month,day,hour,minute Uses: Time series per year, month, day, hour, minute
Basic #hashtag data: activity over time Pivot table – ‘day’ against ‘count of text’
Identifying @reply Networks #> gawk -F  -f scriptstreplyfromtoonly.awk input.tsv >output.tsv Output: Basic network information: from,to Uses: Key @reply recipients Network visualisation
Basic #hashtag data: @replies received Pivot table – ‘to’ against ‘from’
Basic @reply Network Visualisation Gephi: Open source network visualisation tool – Gephi.org Frequently updated, growing number of plugins Load CSV into Gephi Run ‘Average Degree’ network metric Filter for minimum degree / indegree / outdegree Adjust node size and node colour settings: E.g. colour = outdegree, size = indegree Run network visualisation: E.g. ForceAtlas – play with settings as appropriate
Basic @reply Network Visualisation Degree = 100+, colour = outdegree, size = indegree
Tracking Themes (and More) over Time #> gawk -F  -f multifilter.awk search="term1,term2,..." input.tsv >output.tsv 	term examples: 	(julia|gillard),(tony|abbott) 				.?,@[A-Za-z0-9_]+,RT @[A-Za-z0-9_]+,http Output: Basic network information: Original format + term1 match, term2 match, ... Uses: Use on output from explodetime.awk Graph occurrences of terms per time period (hour, day, ...)
Tracking Themes over Time Pivot table – ‘day’ against keyword bundles, normalised to 100%
Dynamic @reply Network Visualisation Multi-step process: Make sure tweets are in ascending chronological order Use timeframe.awk to select period to visualise: #> gawk -F , -f timeframe.awk start="2011 01 01 00 00 00" end="2011 01 01 23 59 59" tweets.csv >tweets-1Jan.csv start / end = start and end of period to select (YYYY MM DD HH MM SS) Use preparegexfatreplyintervals.awk to prepare data: #> gawk -F , -f preparegexfattimeintervals.awk tweets-1Jan.csv >tweets-1Jan-prep.csv Use gexfattimeintervals.awk to convert to Gephi GEXF format: #> gawk -F , -f gexfattimeintervals.awk decaytime="1800" tweets-1Jan-prep.csv >tweets-1Jan.gexf decaytime = time in seconds that an @reply remains ‘active’, once made This may take some time...
http://mappingonlinepublics.net/ Image by campoalto @snurb_dot_info @jeanburgess

More Related Content

Similar to Mapping Online Publics (Part 2)

Groovy Introduction - JAX Germany - 2008
Groovy Introduction - JAX Germany - 2008Groovy Introduction - JAX Germany - 2008
Groovy Introduction - JAX Germany - 2008Guillaume Laforge
 
Mapping Australian User-Created Content: Methodological, Technological and E...
Mapping Australian User-Created Content: Methodological, Technological and E...Mapping Australian User-Created Content: Methodological, Technological and E...
Mapping Australian User-Created Content: Methodological, Technological and E...Axel Bruns
 
Mining the social web ch1
Mining the social web ch1Mining the social web ch1
Mining the social web ch1HyeonSeok Choi
 
Rethinking metrics: metrics 2.0 @ Lisa 2014
Rethinking metrics: metrics 2.0 @ Lisa 2014Rethinking metrics: metrics 2.0 @ Lisa 2014
Rethinking metrics: metrics 2.0 @ Lisa 2014Dieter Plaetinck
 
Use of django at jolt online v3
Use of django at jolt online v3Use of django at jolt online v3
Use of django at jolt online v3Jaime Buelta
 
Dynamic Tracing of your AMP web site
Dynamic Tracing of your AMP web siteDynamic Tracing of your AMP web site
Dynamic Tracing of your AMP web siteSriram Natarajan
 
Introducing Modern Perl
Introducing Modern PerlIntroducing Modern Perl
Introducing Modern PerlDave Cross
 
Text Mining of Twitter in Data Mining
Text Mining of Twitter in Data MiningText Mining of Twitter in Data Mining
Text Mining of Twitter in Data MiningMeghaj Mallick
 
A Recovering Java Developer Learns to Go
A Recovering Java Developer Learns to GoA Recovering Java Developer Learns to Go
A Recovering Java Developer Learns to GoMatt Stine
 
Perl Teach-In (part 1)
Perl Teach-In (part 1)Perl Teach-In (part 1)
Perl Teach-In (part 1)Dave Cross
 
Visual Exploration of Large Data sets with D3, crossfilter and dc.js
Visual Exploration of Large Data sets with D3, crossfilter and dc.jsVisual Exploration of Large Data sets with D3, crossfilter and dc.js
Visual Exploration of Large Data sets with D3, crossfilter and dc.jsFlorian Georg
 
2015 bioinformatics python_io_wim_vancriekinge
2015 bioinformatics python_io_wim_vancriekinge2015 bioinformatics python_io_wim_vancriekinge
2015 bioinformatics python_io_wim_vancriekingeProf. Wim Van Criekinge
 
My First Rails Plugin - Usertext
My First Rails Plugin - UsertextMy First Rails Plugin - Usertext
My First Rails Plugin - Usertextfrankieroberto
 
Twitter data analysis using r (part 2)
Twitter data analysis using r (part 2)Twitter data analysis using r (part 2)
Twitter data analysis using r (part 2)santoshi mangalgi
 
Django - Framework web para perfeccionistas com prazos
Django - Framework web para perfeccionistas com prazosDjango - Framework web para perfeccionistas com prazos
Django - Framework web para perfeccionistas com prazosIgor Sobreira
 
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Sadaaki HIRAI
 
Twitter Mention Graph - Analytics Project
Twitter Mention Graph - Analytics ProjectTwitter Mention Graph - Analytics Project
Twitter Mention Graph - Analytics ProjectSotiris Baratsas
 
Dealing with Legacy Perl Code - Peter Scott
Dealing with Legacy Perl Code - Peter ScottDealing with Legacy Perl Code - Peter Scott
Dealing with Legacy Perl Code - Peter ScottO'Reilly Media
 
"R & Text Analytics" (15 January 2013)
"R & Text Analytics" (15 January 2013)"R & Text Analytics" (15 January 2013)
"R & Text Analytics" (15 January 2013)Portland R User Group
 

Similar to Mapping Online Publics (Part 2) (20)

Groovy Introduction - JAX Germany - 2008
Groovy Introduction - JAX Germany - 2008Groovy Introduction - JAX Germany - 2008
Groovy Introduction - JAX Germany - 2008
 
Mapping Australian User-Created Content: Methodological, Technological and E...
Mapping Australian User-Created Content: Methodological, Technological and E...Mapping Australian User-Created Content: Methodological, Technological and E...
Mapping Australian User-Created Content: Methodological, Technological and E...
 
Mining the social web ch1
Mining the social web ch1Mining the social web ch1
Mining the social web ch1
 
Rethinking metrics: metrics 2.0 @ Lisa 2014
Rethinking metrics: metrics 2.0 @ Lisa 2014Rethinking metrics: metrics 2.0 @ Lisa 2014
Rethinking metrics: metrics 2.0 @ Lisa 2014
 
Use of django at jolt online v3
Use of django at jolt online v3Use of django at jolt online v3
Use of django at jolt online v3
 
Dynamic Tracing of your AMP web site
Dynamic Tracing of your AMP web siteDynamic Tracing of your AMP web site
Dynamic Tracing of your AMP web site
 
Introducing Modern Perl
Introducing Modern PerlIntroducing Modern Perl
Introducing Modern Perl
 
Text Mining of Twitter in Data Mining
Text Mining of Twitter in Data MiningText Mining of Twitter in Data Mining
Text Mining of Twitter in Data Mining
 
A Recovering Java Developer Learns to Go
A Recovering Java Developer Learns to GoA Recovering Java Developer Learns to Go
A Recovering Java Developer Learns to Go
 
Perl Teach-In (part 1)
Perl Teach-In (part 1)Perl Teach-In (part 1)
Perl Teach-In (part 1)
 
Visual Exploration of Large Data sets with D3, crossfilter and dc.js
Visual Exploration of Large Data sets with D3, crossfilter and dc.jsVisual Exploration of Large Data sets with D3, crossfilter and dc.js
Visual Exploration of Large Data sets with D3, crossfilter and dc.js
 
2015 bioinformatics python_io_wim_vancriekinge
2015 bioinformatics python_io_wim_vancriekinge2015 bioinformatics python_io_wim_vancriekinge
2015 bioinformatics python_io_wim_vancriekinge
 
My First Rails Plugin - Usertext
My First Rails Plugin - UsertextMy First Rails Plugin - Usertext
My First Rails Plugin - Usertext
 
Twitter data analysis using r (part 2)
Twitter data analysis using r (part 2)Twitter data analysis using r (part 2)
Twitter data analysis using r (part 2)
 
Django - Framework web para perfeccionistas com prazos
Django - Framework web para perfeccionistas com prazosDjango - Framework web para perfeccionistas com prazos
Django - Framework web para perfeccionistas com prazos
 
Practical Magic with Incanter
Practical Magic with IncanterPractical Magic with Incanter
Practical Magic with Incanter
 
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
 
Twitter Mention Graph - Analytics Project
Twitter Mention Graph - Analytics ProjectTwitter Mention Graph - Analytics Project
Twitter Mention Graph - Analytics Project
 
Dealing with Legacy Perl Code - Peter Scott
Dealing with Legacy Perl Code - Peter ScottDealing with Legacy Perl Code - Peter Scott
Dealing with Legacy Perl Code - Peter Scott
 
"R & Text Analytics" (15 January 2013)
"R & Text Analytics" (15 January 2013)"R & Text Analytics" (15 January 2013)
"R & Text Analytics" (15 January 2013)
 

More from Axel Bruns

AI as Research Assistant: Upscaling Content Analysis to Identify Patterns of ...
AI as Research Assistant: Upscaling Content Analysis to Identify Patterns of ...AI as Research Assistant: Upscaling Content Analysis to Identify Patterns of ...
AI as Research Assistant: Upscaling Content Analysis to Identify Patterns of ...Axel Bruns
 
Dynamics of Destructive Polarisation in Mainstream and Social Media: The Case...
Dynamics of Destructive Polarisation in Mainstream and Social Media: The Case...Dynamics of Destructive Polarisation in Mainstream and Social Media: The Case...
Dynamics of Destructive Polarisation in Mainstream and Social Media: The Case...Axel Bruns
 
Identifying the Symptoms of Destructive Polarisation
Identifying the Symptoms of Destructive PolarisationIdentifying the Symptoms of Destructive Polarisation
Identifying the Symptoms of Destructive PolarisationAxel Bruns
 
Voices on the Voice Referendum: A Computational Analysis of News and Audience...
Voices on the Voice Referendum: A Computational Analysis of News and Audience...Voices on the Voice Referendum: A Computational Analysis of News and Audience...
Voices on the Voice Referendum: A Computational Analysis of News and Audience...Axel Bruns
 
What Is Lost When Twitter Is Lost? Reflections on the Impending Death of a Pl...
What Is Lost When Twitter Is Lost? Reflections on the Impending Death of a Pl...What Is Lost When Twitter Is Lost? Reflections on the Impending Death of a Pl...
What Is Lost When Twitter Is Lost? Reflections on the Impending Death of a Pl...Axel Bruns
 
What Is Lost When Twitter Is Lost? Reflections on the Impending Death of a Pl...
What Is Lost When Twitter Is Lost? Reflections on the Impending Death of a Pl...What Is Lost When Twitter Is Lost? Reflections on the Impending Death of a Pl...
What Is Lost When Twitter Is Lost? Reflections on the Impending Death of a Pl...Axel Bruns
 
Types of Polarisation and Their Operationalisation in Digital and Social Medi...
Types of Polarisation and Their Operationalisation in Digital and Social Medi...Types of Polarisation and Their Operationalisation in Digital and Social Medi...
Types of Polarisation and Their Operationalisation in Digital and Social Medi...Axel Bruns
 
News Sharing and Partisanship: Tracking News Outlet Repertoires on Twitter ov...
News Sharing and Partisanship: Tracking News Outlet Repertoires on Twitter ov...News Sharing and Partisanship: Tracking News Outlet Repertoires on Twitter ov...
News Sharing and Partisanship: Tracking News Outlet Repertoires on Twitter ov...Axel Bruns
 
Determining the Drivers and Dynamics of Partisanship and Polarisation in Onli...
Determining the Drivers and Dynamics of Partisanship and Polarisation in Onli...Determining the Drivers and Dynamics of Partisanship and Polarisation in Onli...
Determining the Drivers and Dynamics of Partisanship and Polarisation in Onli...Axel Bruns
 
Towards a New Empiricism: Polarisation across Four Dimensions
Towards a New Empiricism: Polarisation across Four DimensionsTowards a New Empiricism: Polarisation across Four Dimensions
Towards a New Empiricism: Polarisation across Four DimensionsAxel Bruns
 
The Anatomy of Virality: How COVID-19 Conspiracy Theories Spread across Socia...
The Anatomy of Virality: How COVID-19 Conspiracy Theories Spread across Socia...The Anatomy of Virality: How COVID-19 Conspiracy Theories Spread across Socia...
The Anatomy of Virality: How COVID-19 Conspiracy Theories Spread across Socia...Axel Bruns
 
A Platform Policy Implementation Audit of Actions against Russia’s State-Cont...
A Platform Policy Implementation Audit of Actions against Russia’s State-Cont...A Platform Policy Implementation Audit of Actions against Russia’s State-Cont...
A Platform Policy Implementation Audit of Actions against Russia’s State-Cont...Axel Bruns
 
Networks of Agonism and Antagonism: Polarised Discourses about COP26 (and COP...
Networks of Agonism and Antagonism: Polarised Discourses about COP26 (and COP...Networks of Agonism and Antagonism: Polarised Discourses about COP26 (and COP...
Networks of Agonism and Antagonism: Polarised Discourses about COP26 (and COP...Axel Bruns
 
The Filter in Our (?) Heads: Digital Media and Polarisation
The Filter in Our (?) Heads: Digital Media and PolarisationThe Filter in Our (?) Heads: Digital Media and Polarisation
The Filter in Our (?) Heads: Digital Media and PolarisationAxel Bruns
 
Gatewatching 5: Weaponising Newssharing: ‘Fake News’ and Other Malinformation
Gatewatching 5: Weaponising Newssharing: ‘Fake News’ and Other MalinformationGatewatching 5: Weaponising Newssharing: ‘Fake News’ and Other Malinformation
Gatewatching 5: Weaponising Newssharing: ‘Fake News’ and Other MalinformationAxel Bruns
 
Gatewatching 10: New(s) Publics in the Public Sphere
Gatewatching 10: New(s) Publics in the Public SphereGatewatching 10: New(s) Publics in the Public Sphere
Gatewatching 10: New(s) Publics in the Public SphereAxel Bruns
 
Gatewatching 4: Random Acts of Gatewatching: Everyday Newssharing Practices
Gatewatching 4: Random Acts of Gatewatching: Everyday Newssharing PracticesGatewatching 4: Random Acts of Gatewatching: Everyday Newssharing Practices
Gatewatching 4: Random Acts of Gatewatching: Everyday Newssharing PracticesAxel Bruns
 
Gatewatching 11: Echo Chambers? Filter Bubbles? Reviewing the Evidence
Gatewatching 11: Echo Chambers? Filter Bubbles? Reviewing the EvidenceGatewatching 11: Echo Chambers? Filter Bubbles? Reviewing the Evidence
Gatewatching 11: Echo Chambers? Filter Bubbles? Reviewing the EvidenceAxel Bruns
 
Gatewatching 1: Introduction: What’s So Different about Journalism Today?
Gatewatching 1: Introduction: What’s So Different about Journalism Today?Gatewatching 1: Introduction: What’s So Different about Journalism Today?
Gatewatching 1: Introduction: What’s So Different about Journalism Today?Axel Bruns
 
Gatewatching 8: Hybrid News Coverage: Liveblogs
Gatewatching 8: Hybrid News Coverage: LiveblogsGatewatching 8: Hybrid News Coverage: Liveblogs
Gatewatching 8: Hybrid News Coverage: LiveblogsAxel Bruns
 

More from Axel Bruns (20)

AI as Research Assistant: Upscaling Content Analysis to Identify Patterns of ...
AI as Research Assistant: Upscaling Content Analysis to Identify Patterns of ...AI as Research Assistant: Upscaling Content Analysis to Identify Patterns of ...
AI as Research Assistant: Upscaling Content Analysis to Identify Patterns of ...
 
Dynamics of Destructive Polarisation in Mainstream and Social Media: The Case...
Dynamics of Destructive Polarisation in Mainstream and Social Media: The Case...Dynamics of Destructive Polarisation in Mainstream and Social Media: The Case...
Dynamics of Destructive Polarisation in Mainstream and Social Media: The Case...
 
Identifying the Symptoms of Destructive Polarisation
Identifying the Symptoms of Destructive PolarisationIdentifying the Symptoms of Destructive Polarisation
Identifying the Symptoms of Destructive Polarisation
 
Voices on the Voice Referendum: A Computational Analysis of News and Audience...
Voices on the Voice Referendum: A Computational Analysis of News and Audience...Voices on the Voice Referendum: A Computational Analysis of News and Audience...
Voices on the Voice Referendum: A Computational Analysis of News and Audience...
 
What Is Lost When Twitter Is Lost? Reflections on the Impending Death of a Pl...
What Is Lost When Twitter Is Lost? Reflections on the Impending Death of a Pl...What Is Lost When Twitter Is Lost? Reflections on the Impending Death of a Pl...
What Is Lost When Twitter Is Lost? Reflections on the Impending Death of a Pl...
 
What Is Lost When Twitter Is Lost? Reflections on the Impending Death of a Pl...
What Is Lost When Twitter Is Lost? Reflections on the Impending Death of a Pl...What Is Lost When Twitter Is Lost? Reflections on the Impending Death of a Pl...
What Is Lost When Twitter Is Lost? Reflections on the Impending Death of a Pl...
 
Types of Polarisation and Their Operationalisation in Digital and Social Medi...
Types of Polarisation and Their Operationalisation in Digital and Social Medi...Types of Polarisation and Their Operationalisation in Digital and Social Medi...
Types of Polarisation and Their Operationalisation in Digital and Social Medi...
 
News Sharing and Partisanship: Tracking News Outlet Repertoires on Twitter ov...
News Sharing and Partisanship: Tracking News Outlet Repertoires on Twitter ov...News Sharing and Partisanship: Tracking News Outlet Repertoires on Twitter ov...
News Sharing and Partisanship: Tracking News Outlet Repertoires on Twitter ov...
 
Determining the Drivers and Dynamics of Partisanship and Polarisation in Onli...
Determining the Drivers and Dynamics of Partisanship and Polarisation in Onli...Determining the Drivers and Dynamics of Partisanship and Polarisation in Onli...
Determining the Drivers and Dynamics of Partisanship and Polarisation in Onli...
 
Towards a New Empiricism: Polarisation across Four Dimensions
Towards a New Empiricism: Polarisation across Four DimensionsTowards a New Empiricism: Polarisation across Four Dimensions
Towards a New Empiricism: Polarisation across Four Dimensions
 
The Anatomy of Virality: How COVID-19 Conspiracy Theories Spread across Socia...
The Anatomy of Virality: How COVID-19 Conspiracy Theories Spread across Socia...The Anatomy of Virality: How COVID-19 Conspiracy Theories Spread across Socia...
The Anatomy of Virality: How COVID-19 Conspiracy Theories Spread across Socia...
 
A Platform Policy Implementation Audit of Actions against Russia’s State-Cont...
A Platform Policy Implementation Audit of Actions against Russia’s State-Cont...A Platform Policy Implementation Audit of Actions against Russia’s State-Cont...
A Platform Policy Implementation Audit of Actions against Russia’s State-Cont...
 
Networks of Agonism and Antagonism: Polarised Discourses about COP26 (and COP...
Networks of Agonism and Antagonism: Polarised Discourses about COP26 (and COP...Networks of Agonism and Antagonism: Polarised Discourses about COP26 (and COP...
Networks of Agonism and Antagonism: Polarised Discourses about COP26 (and COP...
 
The Filter in Our (?) Heads: Digital Media and Polarisation
The Filter in Our (?) Heads: Digital Media and PolarisationThe Filter in Our (?) Heads: Digital Media and Polarisation
The Filter in Our (?) Heads: Digital Media and Polarisation
 
Gatewatching 5: Weaponising Newssharing: ‘Fake News’ and Other Malinformation
Gatewatching 5: Weaponising Newssharing: ‘Fake News’ and Other MalinformationGatewatching 5: Weaponising Newssharing: ‘Fake News’ and Other Malinformation
Gatewatching 5: Weaponising Newssharing: ‘Fake News’ and Other Malinformation
 
Gatewatching 10: New(s) Publics in the Public Sphere
Gatewatching 10: New(s) Publics in the Public SphereGatewatching 10: New(s) Publics in the Public Sphere
Gatewatching 10: New(s) Publics in the Public Sphere
 
Gatewatching 4: Random Acts of Gatewatching: Everyday Newssharing Practices
Gatewatching 4: Random Acts of Gatewatching: Everyday Newssharing PracticesGatewatching 4: Random Acts of Gatewatching: Everyday Newssharing Practices
Gatewatching 4: Random Acts of Gatewatching: Everyday Newssharing Practices
 
Gatewatching 11: Echo Chambers? Filter Bubbles? Reviewing the Evidence
Gatewatching 11: Echo Chambers? Filter Bubbles? Reviewing the EvidenceGatewatching 11: Echo Chambers? Filter Bubbles? Reviewing the Evidence
Gatewatching 11: Echo Chambers? Filter Bubbles? Reviewing the Evidence
 
Gatewatching 1: Introduction: What’s So Different about Journalism Today?
Gatewatching 1: Introduction: What’s So Different about Journalism Today?Gatewatching 1: Introduction: What’s So Different about Journalism Today?
Gatewatching 1: Introduction: What’s So Different about Journalism Today?
 
Gatewatching 8: Hybrid News Coverage: Liveblogs
Gatewatching 8: Hybrid News Coverage: LiveblogsGatewatching 8: Hybrid News Coverage: Liveblogs
Gatewatching 8: Hybrid News Coverage: Liveblogs
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 

Recently uploaded (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

Mapping Online Publics (Part 2)

  • 1. Mapping Online Publics Axel Bruns / Jean BurgessARC Centre of Excellence for Creative Industries and Innovation, Queensland University of Technology a.bruns@qut.edu.au – @snurb_dot_info / je.burgess@qut.edu.au – @jeanburgesshttp://mappingonlinepublics.net – http://cci.edu.au/
  • 2. Gathering Data Keyword / #hashtag archives Twapperkeeper.com No longer fully functional yourTwapperkeeper Open source solution Runs on your own server Use our modifications to be able to export CSV / TSV Uses Twitter streaming API to track keywords Including #hashtags, @mentions
  • 3. Twapperkeeper / yourTwapperkeeper data Typical data format (#ausvotes):
  • 4. Processing Data Gawk: Command-line tool for processing CSV / TSV data Can use ready-made scripts for complex processing Vol. 1 of our scripts collection now online at MOP Regular expressions (regex): Key tool for working with Gawk Powerful way of expressing search patterns E.g.: @[A-Za-z0-9_]+ = any @username See online regex primers...
  • 5. # atextractfromtoonly.awk - Extract @replies for network visualisation # # this script takes a Twapperkeeper CSV/TSV archive of tweets, and reworks it into simple network data for visualisation # the output format for this script is always CSV, to enable import into Gephi and other visualisation tols # # expected data format: # text,to_user_id,from_user,id,from_user_id,iso_language_code,source,profile_image_url,geo_type,geo_coordinates_0,geo_coordinates_1,created_at,time # # output format: # from,to # # the script extracts @replies from tweets, and creates duplicates where multiple @replies are # present in the same tweet - e.g. the tweet "@one @two hello" from user @user results in # @user,@one and @user,@two # # Released under Creative Commons (BY, NC, SA) by Axel Bruns - a.bruns@qut.edu.au BEGIN { print "from,to" } /@([A-Za-z0-9_]+)/ { a=0 do { match(substr($1, a),/@([A-Za-z0-9_]+)?/,atArray) a=a+atArray[1, "start"]+atArray[1, "length"] if (atArray[1] != 0) print tolower($3) "," tolower(atArray[1]) } while(atArray[1, "start"] != 0) }
  • 6. Running Gawk Scripts Gawk command line execution: Open terminal window Run command: #> gawk -F -f scriptsxplodetime.awk input.tsv >output.tsv Arguments: -F = field separator is a TAB (otherwise -F ,) -f scriptsxplodetime.awk = run the explodetime.awk script(adjust scripts path as required)
  • 7. Basic #hashtag data: most active users Pivot table in Excel – ‘from_user’ against ‘count of text’
  • 8. Identifying Time-Based Patterns #> gawk -F -f scriptsxplodetime.awk input.tsv >output.tsv Output: Additional time data: Original format + year,month,day,hour,minute Uses: Time series per year, month, day, hour, minute
  • 9. Basic #hashtag data: activity over time Pivot table – ‘day’ against ‘count of text’
  • 10. Identifying @reply Networks #> gawk -F -f scriptstreplyfromtoonly.awk input.tsv >output.tsv Output: Basic network information: from,to Uses: Key @reply recipients Network visualisation
  • 11. Basic #hashtag data: @replies received Pivot table – ‘to’ against ‘from’
  • 12. Basic @reply Network Visualisation Gephi: Open source network visualisation tool – Gephi.org Frequently updated, growing number of plugins Load CSV into Gephi Run ‘Average Degree’ network metric Filter for minimum degree / indegree / outdegree Adjust node size and node colour settings: E.g. colour = outdegree, size = indegree Run network visualisation: E.g. ForceAtlas – play with settings as appropriate
  • 13. Basic @reply Network Visualisation Degree = 100+, colour = outdegree, size = indegree
  • 14. Tracking Themes (and More) over Time #> gawk -F -f multifilter.awk search="term1,term2,..." input.tsv >output.tsv term examples: (julia|gillard),(tony|abbott) .?,@[A-Za-z0-9_]+,RT @[A-Za-z0-9_]+,http Output: Basic network information: Original format + term1 match, term2 match, ... Uses: Use on output from explodetime.awk Graph occurrences of terms per time period (hour, day, ...)
  • 15. Tracking Themes over Time Pivot table – ‘day’ against keyword bundles, normalised to 100%
  • 16. Dynamic @reply Network Visualisation Multi-step process: Make sure tweets are in ascending chronological order Use timeframe.awk to select period to visualise: #> gawk -F , -f timeframe.awk start="2011 01 01 00 00 00" end="2011 01 01 23 59 59" tweets.csv >tweets-1Jan.csv start / end = start and end of period to select (YYYY MM DD HH MM SS) Use preparegexfatreplyintervals.awk to prepare data: #> gawk -F , -f preparegexfattimeintervals.awk tweets-1Jan.csv >tweets-1Jan-prep.csv Use gexfattimeintervals.awk to convert to Gephi GEXF format: #> gawk -F , -f gexfattimeintervals.awk decaytime="1800" tweets-1Jan-prep.csv >tweets-1Jan.gexf decaytime = time in seconds that an @reply remains ‘active’, once made This may take some time...
  • 17.
  • 18. http://mappingonlinepublics.net/ Image by campoalto @snurb_dot_info @jeanburgess