Software
Open-source tools for survey experiments, data analysis, and political methodology.
projoint R package
A comprehensive ecosystem for designing and analyzing conjoint choice experiments. Implements the measurement error corrections in Clayton, Horiuchi, Kaufman, King & Komisarchik, with tools for balance testing, marginal mean estimation, and visualization. Joint work with Yusaku Horiuchi and Gary King.
projoint Web Tool web app
A browser-based interface for designing and analyzing conjoint choice experiments, built on the projoint R package. Upload your data, run analyses, and download publication-ready figures โ no R installation required. Joint work with Yusaku Horiuchi and Gary King.
Adaptive Fuzzy String Matching R library
An R implementation of the adaptive fuzzy string matching algorithm developed in Kaufman & Klevs (2022). Learns locally optimal string distance metrics for record linkage problems with a single messy identifier. Substantially outperforms standard Levenshtein/Jaro-Winkler approaches on organizations, places, and names.
Compactness R package
Implements the district compactness model from Kaufman, King & Komisarchik (2021). Measures how compact a legislative district is relative to human intuition, validated against large-scale survey data. Relevant for redistricting litigation and map-drawing.
SeqBlock R Shiny app
An R Shiny application for sequential blocked randomization in survey experiments. Implements stratified assignment on the fly as respondents arrive, ensuring balance on pre-specified covariates without sacrificing statistical power.
TextBias R Shiny app
An R Shiny application that estimates partisan bias in survey question wording using text analysis. Identifies linguistic features associated with leading questions. Useful for pre-testing survey instruments before fielding.
Residual Explorer R Shiny app
An interactive tool for analyzing regression residuals and exploring predictive heterogeneity. Helps researchers identify systematic model misfit and discover subgroup-level patterns in regression residuals.
R Twitterbot R script
A Markov Chain-based text generation bot written in R. Minimal working example for probabilistic text generation from a corpus.
R Shiny Spelling Bee R Shiny app
An interactive web implementation of the NYT Spelling Bee word game, built entirely in R Shiny. Proof of concept for building browser-based games in R.