Data analysis related to the 2016 presidential elections
DemPrimaryData.csv Dataset containing results of primaries already held, demographic data from the US census, Google search volume, and other information. Primary results were last updated from https://en.wikipedia.org/wiki/Template:2016USDem on 17 Sep 2016.
Rigged.R Analysis script to replicate/critique FiveThirtyEight here:
google.R Code to use the gtrendsR package to download and format Google search volume data
predictions.R Code to run ridge regression with cross-validation, obtain predictions, and generate plots