Steven V. Miller's repositories
syllabus-template
This is a syllabus template I wrote to highlight use of advdate and datetime to make for easy generation of a week-by-week reading list in a syllabus.
get-some-WB-data
This script will grab four macroeconomic indicators from World Bank for pedagogical purposes.
random-effects-stargazer-R
This script illustrates how to (quasi)-automate the rendering of random effects in stargazer output for LaTeX.
wvs-usa-abortion-attitudes
This data set cobbles together attitudes on the justifiability of abortion in the United States across six waves of World Values Survey data. This data set is meant for classroom instruction on quantitative methods.
clean-greenbook
This R script will clean USAID's Greenbook data for both economic aid and military aid, also converting the data from wide to long
wvs-usa-strong-leader
R code and data to accompany a blog post at svmiller.com
jekyllthemes
A directory of the best-looking themes for Jekyll blogs
reinhart-rogoff
This repo contains replication files for Reinhart and Rogoff (2010) via Herndon et al (2014).
wvs-argentina-defense-attitudes
This data set cobbles together attitudes on the importance of defense as national goal in Argentina across a handful waves of World Values Survey data. This data set is meant for classroom instruction on quantitative methods
2016-trump-shift
Wisconsin county election results for 2012 and 2016.
countrycode
R package: Convert country names and country codes. Assigns region descriptors.
dross
I intend to put junk here, namely for reproducible examples of generic stuff for which I may need help.
hypothetical-university-dtr
This simulates democratic thermometer ratings at a hypothetical 20,000-student university. The idea for this code comes from Pollock III (2012).
imputed-gdp
This script extends Gibler and Miller's (2014) and Fearon and Laitin's (2003) approach to imputing GDP data.
jpr-bst-file
Journal of Peace Research .bst file
lb-sacrifice-personal-interests
R script I created to illustrate workflow to two students of mine for a larger project on political attitudes in Latin America.
millergibler2011dtnc
Script to replicate Table 1 in Miller and Gibler (2011)
PoEdata
R data sets for "Principles of Econometrics" by Hill, Griffiths, and Lim, 4e, Wiley
posc1020-old
POSC 1020 (Introduction to International Relations) is a class I teach at Clemson University.
r-markdown-example
This is an example to illustrate R Markdown
sc-primary-2016
Data on vote share and various background/demographic information for the 2016 South Carolina GOP/Democratic primaries.
soc596_f2016
Computational Social Science (SOC 596), Fall 2016
state-education-turnout
State Education and Turnout