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)
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.
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")
After installation, load the package:
library(deliberr)
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:
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
open_gui()?deliberr in R console?function_name (e.g., ?open_gui)If you encounter any issues or bugs while using deliberr, please report them on GitHub:
R.version.string in R console)packageVersion("deliberr") in R console)For questions about usage or interpretation of results, please open a discussion on the GitHub repository.
This package is licensed under the MIT License. See the LICENSE file for details.
Gustavo Kreia Umbelino
Email: [email protected]
The package automatically installs all required dependencies, including:
You don't need to install these separately.
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]