Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 2.56 KB

README.md

File metadata and controls

43 lines (24 loc) · 2.56 KB

Learn to Rehydrate a Tweetset

Our tutorial Learn to rehydrate Twitter data using Python: case #hellobrother guides you through the process of (dehydrating and) rehydrating a tweetset. Here, the tweetset represents #hellobrother, one of the emerging themes related to the Christchurch mosque shooting in 2019.

The full analysis process is described in the following publication:

Harju, A. A., & Huhtamäki, J. (2021). ‘#hellobrother needs to trend’: methodological reflections on the digital and emotional afterlife of mediated violence. International Review of Sociology, 31(2), 1–32. https://doi.org/10.1080/03906701.2021.1947951

The full tutorial will be available under SAGE Research Methods and its upcoming collection Doing Research Online. Specifically, this tutorial is part of Datasets, short, very practical and accessible teaching articles, where excerpts of real data are provided and used as an example to teach a particular data analysis method or technique. They are intended to give insight into how an experienced researcher could use a technique to answer a research question.

First and foremost, you need to have a valid Twitter developer account. If you are a scholar, you may qualify for Academic Research access.

The following tutorials and instructions give you the necessary background information to work with the tutorial:

One way to access the necessary tools is to use Anaconda.

In case you prefer to install the tools one by one, ideally, you will set up a virtual environment for the project.

A simple procedure for Linux and MacOS follows.

Create a virtual environment:

python -m venv venv

Activate the environment:

source venv/bin/activate

Install modules using pip:

pip install -r requirements.txt

Start Jupyter server:

jupyter notebook

Open the browser, download the tutorial notebook and start experimenting!