Twitmo: A Twitter Data Topic Modeling and Visualization Package for R

Andreas Buchmüller, Gillian Kant, Christoph Weisser, Benjamin Säfken, Krisztina Kis-Katos +1 more
7/8/2022
3 citations
cs.IRcs.CLcs.LG

Official code: abuchmueller/Twitmo (20 stars, R, last commit 2022-09-10).

Abstract

We present Twitmo, a package that provides a broad range of methods to collect, pre-process, analyze and visualize geo-tagged Twitter data. Twitmo enables the user to collect geo-tagged Tweets from Twitter and and provides a comprehensive and user-friendly toolbox to generate topic distributions from Latent Dirichlet Allocations (LDA), correlated topic models (CTM) and structural topic models (STM).

Show full abstract

Functions are included for pre-processing of text, model building and prediction. In addition, one of the innovations of the package is the automatic pooling of Tweets into longer pseudo-documents using hashtags and cosine similarities for better topic coherence. The package additionally comes with functionality to visualize collected data sets and fitted models in static as well as interactive ways and offers built-in support for model visualizations via LDAvis providing great convenience for researchers in this area. The Twitmo package is an innovative toolbox that can be used to analyze public discourse of various topics, political parties or persons of interest in space and time.

View on arXivView PDF

Code Implementations(1)

Collect Twitter data and create topic models with R

201RApr 7, 20214 years agoNOASSERTION
ctmgeospatialldanlpr+6 more

Similar Papers

Cite this paper

@article{buchmller2022twitmo,
  title  = {Twitmo: A Twitter Data Topic Modeling and Visualization Package for R},
  author = {Andreas Buchmüller and Gillian Kant and Christoph Weisser and Benjamin Säfken and Krisztina Kis-Katos and Thomas Kneib},
  year   = {2022},
  eprint = {2207.11236},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.11236v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.11236.svg)](https://codeofpaper.com/paper/2207.11236)

Discussion