Skip to contents

An R package to facilitate analysis of electoral contestation data.

Updated: June 2025

Introduction

It is now well acknowledged that the American political landscape is now more polarized, more divided, and more fractured than at any point since the US Civil War. Both political parties have grown ideologically extreme and homogeneous. At the heart of democratic politics is an implied trust in the process and institutions by which elections are administered. Yet, relatively little is known about support (or opposition) to behaviors meant to challenge the legitimacy of American elections, what we call “electoral contestation.” E

The 𝚎𝚕𝚎𝚌𝚝𝚘𝚛𝚊𝚕𝙲𝚘𝚗𝚝𝚎𝚜𝚝𝚊𝚝𝚒𝚘𝚗\texttt{electoralContestation} package is a collection of data, code, and documentation that accompanies the book, “Electoral Contestation and the Erosion of Democracy.” The package is designed to be a comprehensive resource for those who are interested in the study of electoral contestation.

library(devtools)

install_github("crweber9874/electoralContestation")

library(electoralContestation)

data("electoral_contestation")

head(electoral_contestation)

To Do:

  • ML estimation, with boostrap
  • Linear model estimation
  • Nominal model estimation