Software

Software, data tools, and open-source projects by Cameron Wimpy.

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")

CRAN GitHub rurality.app

rurality package hex sticker: italic wordmark over topographic contour lines with a bar-chart-and-hills motif at top

rurality hex sticker

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_install

GitHub

slxr (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")

CRAN GitHub Documentation Paper

slxr package hex sticker: three overlapping networks on a shared node set, representing variable-specific weights matrices

slxr hex sticker

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

GitHub rurality.app


Typesetting & Bibliography

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-annote

Import (Typst Universe):

#import "@preview/ab-annotate:0.1.0": annotated-bib

Install (Quarto extension):

quarto add cwimpy/ab-annotate

A working Quarto example lives in examples/quarto/.

GitHub CTAN Typst Universe


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.

Browse all templates GitHub

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-revealjs

GitHub


Have questions about any of these projects? Get in touch.

Back to top