Article view

A guide on extracting and tidying tweets with R

By Julia Bahia Adams, Carlos Augusto Jardim Chiarelli

Article information

Publication
Published 3 December 2021
Institutions at publication
Universidade Estadual de Campinas (UNICAMP)
2 Citations OpenAlex, 3 December 2026 FULL LIST: Citations
1 Countries with citations Where the citing authors were FULL LIST: Countries with citations
Usage Phase 3: not collected yet

Abstract

Social media platforms represent a deep resource for academic research and a wide range of untapped possibilities for linguists (D'ARCY; YOUNG, 2012). This rapidly developing field presents various ethical issues and unique challenges regarding methods to retrieve and analyze data. This tutorial provides a straightforward guide to harvesting and tidying Twitter data, focused mainly on the Tweets' text, by using the R programming language (R CORE TEAM, 2020) via Twitter's APIs. The R code was developed in Adams (2020), based on the rtweet package (KEARNEY, 2018), and successfully resulted in a script for corpora compilation. In this tutorial, we discuss limitations, problems, and solutions in our framework for conducting ethical research on this social networking site. Our ethical concerns go beyond what we "agree to" in terms of use and privacy policies, that is, we argue that their content does not contemplate all the concerns researchers need to attend to. Additionally, our aim is to show that using Twitter as a data source does not require advanced computational skills.

Citations per year

Citations per year
YearCitations
2021 0
2022 1
2023 1
2024 0
2025 0
2026 0

OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.

Works citing this article

The newest works citing this article
Citing workYearPublished in
Computational Resources for Handling Sociolinguistic Corpora 2023 Wiley eBooks
O uso da marcação de gênero neutro no Twitter por uma perspectiva sociolinguística 2022 LA Referencia (Red Federada de Repositorios Institucionales de Publicaciones Científicas)

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • Changes the map only; the tables list the figures.
  • USAGE Phase 3
Authors by country
CountryAuthors
Brazil2
Citations from 1 country
Citations by the country of the citing authors
CountryCitations
Brazil1

Where the authors of the works citing these were, from the citing works OpenAlex lists. A citation whose authors were in several countries counts in each.