Code Monkey home page Code Monkey logo

gun-narrative-tweets's Introduction

Gun Narrative Across Major Mass Shooting Events

The datasets released here was used in our paper "The Dynamics of Twitter Users' Gun Narratives Across Major Mass Shooting Events."

This study reveals the shift of gun-related narratives from two ideological groups during three high-profile mass shootings across the years from 2016 to 2018.

We collected longitudinal digital traces on Twitter from over 155,000 ideology-identifiable users. This study tracked the shift of gun-related narratives from the two ideological groups during three high-profile mass shootings across the years from 2016 to 2018.

The inclusion criteria of users and mass shooting events was detailed in our paper. For this study, we compiled tweets from the two groups of users for the selected three mass shooting events. Each event set includes users' tweets within a four-week time window centered on the time of incidence, referred as the Event period. To examine whether any measured differences in users' tweeting language are attributable to the incidents, we identify an equivalent period of four weeks for each event during one of its preceding or succeeding years, referred as Control period. Please refer to our paper for details of the study design.

To distinguish tweets relevant to gun violence or policy issues among others in our data collection, we adopt the list of keywords, phrases, and hashtags used in prior work, including several keywords likely to be associated with guns or gun control in the US, and a set of hashtags indicative of support for or opposition to gun control (e.g., 2nd amendment, #guncontrolnow, #gunrights, #protect2a, etc.). We used them as independent seed sets and iteratively extended the list by adding keywords and hashtags mostly likely to co-occur with the chosen words, to capture the related tweets on either side to a great extent while avoiding the bias toward a particular stance. See details about relevance filtering and bot prevention in our paper.

The released datasets includes (1) all tweet IDs of the relevant tweets within a four-week period for the three Event and three Control sets, and (2) the human coding results of the 480 sample tweets.

(1) tweetIDs This include 6 files: contrl_*_tweetIDs.txt and event_*_tweetIDs.txt. This dataset corresponds to Table 1 and Fig 6 in the paper -- the number of relevant non-retweet tweets (i.e., #Relevant) extracted from our collection for the corresponding event and control periods.

(2) human coding results: human_coding.csv. Each row has 12 columns:

  • "tweetID"
  • "event": correspond to one of the mass shooting events
  • "time": one of the four stages in an event
  • "Relevancy": whether the tweet is related to gun policy; all the following columns will be 'N/A' if not relevant
  • "Moral": whether the tweet mentions call-for-action
  • "Stand": stance of the tweet
  • "Rhetoric scheme": corresponds to the scheme in Table 4 in the paper
  • "Victim": whether the tweet mentions a victim
  • "Villain": whether the tweet mentions a villain
  • "Hero": whether the tweet mentions a hero
  • "Problem nature": whether the tweet is about problem nature
  • "Blame target": whether the tweet mentions a blame target (The last 5 columns correspond to Table 3 in the paper.)

Publication

If you make use of these data sets and code, please cite:

Lin, Y.-R., Chung, W.-T. (2020). The Dynamics of Twitter Users' Gun Narratives Across Major Mass Shooting Events, Humanities & Social Sciences Communications 7, 46 (2020). https://doi.org/10.1057/s41599-020-00533-8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.