A repo for analysis of political data in the R statistical programming language.
Clone or download
Latest commit 24aec3b Jan 18, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
data files for first post Jan 10, 2019
scripts post jan 18 Jan 18, 2019
.gitignore cleaning up Jan 10, 2019
README.md week 3 w/ links Jan 18, 2019



A repo to provide a central location for the files and data used in my weekly posts on analyzing political data in R, which you can read on my blog. If you're looking for a more guided introduction to the topic, consider taking my course "Analyzing Polling and Election Data in R" at DataCamp.com.

A few housekeeping notes:

  • The /data subdirectory is a list of all the data used in each post, cleaned up and ready to be imported.
  • The /scripts subdirectory contains scripts that analyze the datasets. These scripts are made of all the same code included in the posts, but the commentary is stripped away.

Data and posts

Here is a table of all the posts, data, and scripts in chronological order:

Date Post link Data Script Title
2019-01-04 🔗 🔗 🔗 Polarization in the 115h Congress
2019-01-11 🔗 🔗 🔗 This Early Before 2020, It’s All About Name Recognition
2019-01-18 🔗 🔗 🔗 How Marginal Tax Rates Work