Software
I build tools and packages related to my research on election administration, rural public policy, and political methodology. Most projects use R and are available on GitHub.
R/Stata Packages
rurality (R)
Rurality classification and scoring for U.S. counties and ZIP codes. Provides USDA Rural-Urban Continuum Codes (RUCC 2023), Rural-Urban Commuting Area codes (RUCA 2020), and a composite rurality score for all 3,235 U.S. counties. Built to make rurality data easy to use in research without manually downloading and merging USDA spreadsheets. Now available on CRAN.
Install:
install.packages("rurality")rurality (Stata)
Stata implementation of the rurality package. Merges USDA Rural-Urban Continuum Codes (RUCC 2023) and a composite rurality score onto any dataset by county FIPS code. Includes optional variables for population density, metro distance, median income, and age composition.
Install:
net install rurality, from("https://raw.githubusercontent.com/cwimpy/rurality-stata/main/")
rurality_installslxr (R)
Spatial-X (SLX) regression models for applied researchers. Provides a formula-based interface with first-class support for variable-specific weights matrices, higher-order spatial lags, temporally-lagged spatial variables, and tidy direct/indirect/total effects decomposition with no matrix inversion or simulation required. Built to center SLX rather than treat it as a consolation prize for SAR, and to make the variable-specific-W approach from Wimpy, Whitten, and Williams (2021) easy to actually use. modelsummary-compatible via tidy() and glance() methods. Now available on CRAN.
Install:
install.packages("slxr")spimpacts (R)
Model-agnostic interpretation layer for spatial econometric models. Computes the partial-derivatives matrix, partitions direct, indirect, and total effects by order of the weights matrix, produces simulation-based uncertainty intervals, and generates origin-specific shock maps and per-unit decay plots. Built around the general approach in Whitten, Williams, and Wimpy (2021). Ships with first-class support for slxr SLX fits and spatialreg SAR/SDM fits.
Install:
# install.packages("remotes")
remotes::install_github("cwimpy/spimpacts")certify (R)
Generates branded landscape PDF certificates with configurable color themes, optional logos, decorative borders, laurels, and corner ornaments. Built on base R’s grid graphics with no LaTeX or Quarto dependency required. Suitable for academic awards, professional recognition, and similar uses. Now available on CRAN.
Install:
install.packages("certify")Applications
Rurality App
A web application for computing and exploring rurality scores across U.S. communities. Companion to the rurality R and Stata packages.
Stack: React
Typesetting
ab-annotate
Cross-format package for producing annotated bibliographies that display both abstracts and user-written annotations beneath each citation entry. Provides three independent implementations that share the same .bib file format: a LaTeX biblatex package (available on CTAN as biblatex-abs-annote, shipping with TeX Live and MiKTeX), a Typst module (published on Typst Universe as ab-annotate), and a Quarto extension (Lua filter targeting PDF, HTML, Typst, and Word). Reads standard abstract and annotation/annote BibTeX fields. No custom entry types are required to get started.
Install (LaTeX via CTAN):
tlmgr install biblatex-abs-annoteImport (Typst Universe):
#import "@preview/ab-annotate:0.1.0": annotated-bibInstall (Quarto extension):
quarto add cwimpy/ab-annotateA working Quarto example lives in examples/quarto/.
Templates
typst-templates
A collection of Quarto + Typst templates for common academic documents. Right now I have working papers, CVs, posters, policy briefs, reports, peer reviews, cover letters, and administrative documents. Each downloads as a Quarto extension you can install with one command.
astate-pres
Arkansas State University presentation templates for Beamer (LaTeX) and revealjs (Quarto), available with six installable Quarto extensions: a generic A-State pair plus unit-specific variants for GLP (Government, Law & Policy) and IRI (Institute for Rural Initiatives). All share Inter + Fraunces typography, A-State brand colors, ORCID/affiliation metadata handling, and a Makefile build workflow; variants differ only in logo and contact-slide content.
Install (generic A-State):
quarto use template cwimpy/astate-pres/astate-beamer
quarto use template cwimpy/astate-pres/astate-revealjsHave questions about any of these projects? Get in touch.



