R, Julia, SQL, Octave and others: Personal notes on data analysis, computation, data access most especially for querying voter history, Census, PDC, and other election data. Reader is advised to just paste the code text into Notepad++.
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.