MyNixOS website logo
Description

Methods for Deliberation Analysis.

An implementation of deliberative reasoning index (DRI) and related tools for analysis of deliberation survey data. Calculation of DRI, plot of intersubjective correlations (IC), generation of large-language model (LLM) survey data, and permutation tests are supported. Example datasets and a graphical user interface (GUI) are also available to support analysis. For more information, see Niemeyer and Veri (2022) <doi:10.1093/oso/9780192848925.003.0007>.

deliberr: Deliberation in R

Overview

deliberr is an R package designed for analyzing deliberation data in political science and communication research. The package provides tools for measuring and evaluating deliberative quality, including the Deliberative Reasoning Index (DRI) and other metrics commonly used in deliberation studies.

Whether you're analyzing focus groups, town halls, deliberative polls, or online discussions, deliberr helps you assess the quality of deliberative discourse with both quantitative metrics and visual outputs.

Key Features

  • Deliberative Reasoning Index (DRI) calculation
  • Statistical analysis tools for deliberation data
  • Data visualization capabilities for deliberative metrics
  • User-friendly graphical interface (no coding required!)
  • Support for multiple data formats (CSV, Excel, etc.)

Installation

Requirements

  • R version 3.5 or higher
  • Internet connection for package installation

Install from GitHub

You can install the development version of deliberr directly from GitHub using the devtools package:

# Install devtools if you haven't already
install.packages("devtools")

# Install deliberr
devtools::install_github("gumbelino/deliberr")

Load the Package

After installation, load the package:

library(deliberr)

Usage

For Non-Programmers: Graphical Interface

You don't need to know how to code to use deliberr! The package includes a user-friendly graphical interface that you can access in two ways:

Option 1: From R

library(deliberr)
open_gui()

Option 2: Web Browser (No R Installation Required)

Visit: https://gumbelin.shinyapps.io/deliberr/

The graphical interface allows you to:

  • Upload your data files
  • Select variables for analysis
  • Calculate deliberation metrics
  • Generate visualizations
  • Export results

For R Users: Code-Based Analysis

If you're comfortable with R, you can use the package functions directly in your scripts. Documentation for all functions is available within R:

# View package documentation
?deliberr

# Get help on specific functions
?dri  # Example: Help for DRI calculation

Getting Started Guide for Researchers

Step 1: Prepare Your Data

  • Organize your deliberation data in a spreadsheet (Excel or CSV)
  • Ensure each row represents an observation (e.g., a speaker turn, a participant)
  • Include columns for relevant variables (e.g., speaker ID, statement content, coded categories)

Step 2: Open the Interface

  • If using R: Install the package and run open_gui()
  • If using web browser: Go to https://gumbelin.shinyapps.io/deliberr/

Step 3: Upload and Analyze

  • Upload your data file through the interface
  • Follow the on-screen instructions to select variables
  • Run your analysis and view results
  • Download outputs for your research

Support and Documentation

Getting Help

  • Package documentation: Type ?deliberr in R console
  • Function help: Type ?function_name (e.g., ?open_gui)
  • Issues and bugs: See "Reporting Bugs" section below

Reporting Bugs

If you encounter any issues or bugs while using deliberr, please report them on GitHub:

  1. Go to: https://github.com/gumbelino/deliberr/issues
  2. Click "New Issue"
  3. Provide a clear description of:
    • What you were trying to do
    • What happened (error messages, unexpected behavior)
    • Your R version (type R.version.string in R console)
    • Your package version (type packageVersion("deliberr") in R console)

For questions about usage or interpretation of results, please open a discussion on the GitHub repository.

License

This package is licensed under the MIT License. See the LICENSE file for details.

Author

Gustavo Kreia Umbelino
Email: [email protected]

Dependencies

The package automatically installs all required dependencies, including:

  • dplyr, ggplot2, tidyr (data manipulation and visualization)
  • shiny, DT (graphical interface)
  • stats, rstatix, psych (statistical functions)
  • And other supporting packages

You don't need to install these separately.

Acknowledgments

Thank you to all researchers and practitioners who have contributed feedback and suggestions to improve this package.


Questions? Open an issue on GitHub or contact the package maintainer at [email protected].

Metadata

Version

0.1.0

License

Unknown

Platforms (78)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows