Package 'stmgui'

Title: Shiny Application for Creating STM Models
Description: Provides an application that acts as a GUI for the 'stm' text analysis package.
Authors: Dan Zangri [aut, cre], Dustin Tingley [ctb], Brandon Stewart [ctb]
Maintainer: Dan Zangri <[email protected]>
License: MIT + file LICENSE
Version: 0.1.6
Built: 2025-02-07 04:43:34 UTC
Source: https://github.com/dzangri/stmgui

Help Index


Shiny Application for Creating STM Models

Description

Provides an application that acts as a GUI for the 'stm' text analysis package.

Details

stmgui is a simple Shiny application that makes it easy to work with the stm text processing package. Simply run runStmGui() to launch the application.

The application intends to make it easy to perform the end-to-end process for creating an stm model with visualizations.

Author(s)

Dan Zangri [aut, cre], Dustin Tingley [ctb], Brandon Stewart [ctb]

Maintainer: Dan Zangri <[email protected]>

References

See the stm documentation for more details and usage


Gadarian and Albertson data

Description

This data set contains variables from Gadarian and Albertson (2014). Taken from the stm package.

The experiment had those in the treatment condition write about what made them anxious about immigration. The control condition just had subjects write about immigration.

Usage

data(gadarian)

Format

A data frame with 351 observations on the following variables.

MetaID

a numeric vector containing identification numbers; not used for analysis

treatment

a numeric vector indicating treatment condition

pid_rep

a numeric vector of party identification

open.ended.response

a character vector of the subject's open ended response

Source

Gadarian, Shana Kushner, and Bethany Albertson. "Anxiety, immigration, and the search for information." Political Psychology 35.2 (2014): 133-164. Roberts, Margaret E., Brandon M. Stewart, Dustin Tingley, Christopher Lucas, Jetson Leder-Luis, Shana Kushner Gadarian, Bethany Albertson, and David G. Rand. "Structural Topic Models for Open-Ended Survey Responses." American Journal of Political Science 58, no 4 (2014): 1064-1082.


Helper function to launch the stm shiny app

Description

runStmGui launches the shiny app to help with walking through the creation of stm models

Usage

runStmGui()