Monday, May 16, 2016

Tale of Threes...

Groups of Voter per 42nd LD Precinct sorted into groups of threes: 3 Votes for last GEs (2013,2014,2015), Active but no votes for the last 3 GEs, NA for the last three GEs. Click to enlarge. Based on 4/15/2016 WC voterdb.

This code experiments with using data.table to group and select data. Political piece is here.

Tuesday, March 22, 2016

Checking Caucuses

Some tricky, dense political code that reveals information about Precinct Sites based on Voting History.  Ask if you need the spreadsheet. Political post here. Click to enlarge.

Code after the break.

Friday, February 26, 2016

Finding Bernie..

Some experiments in "Finding Bernie" voters. Click Chart to Enlarge.  Political piece to come.

Monday, February 8, 2016


This was quite a project. Learning to show voting results with plot3D in rgl is a breakthrough.

This post (VoterDensity.r) provides the .GlobalEnv for  VoterDensity_000.r, VoterDensity_001.r, VoterDensity_002.r, VoterDensity_003.r. You will need the data files MB.11.24.15.FINAL.txt and 20151103_WhatcomPrecincts.csv. You can email me if you need them.


# VoterDensity_003.r 
# Needs .GlobalEnv derived from VoterDensity.r
# 3D Charts


# VoterDensity_002.r 
# Needs .GlobalEnv derived from VoterDensity.r
# 3D charts with rgl and plot3D


# VoterDensity_001.r 
# Needs .GlobalEnv derived from VoterDensity.r


# VoterDensity_000.r 
# Needs .GlobalEnv derived from VoterDensity.r