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.
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++.
Tuesday, March 22, 2016
Saturday, March 12, 2016
Wednesday, March 2, 2016
Friday, February 26, 2016
Monday, February 8, 2016
VoterDensity.r
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
# VoterDensity_003.r
# Needs .GlobalEnv derived from VoterDensity.r
# 3D Charts
# Needs .GlobalEnv derived from VoterDensity.r
# 3D Charts
VoterDensity_002.r
# VoterDensity_002.r
# Needs .GlobalEnv derived from VoterDensity.r
# 3D charts with rgl and plot3D
# Needs .GlobalEnv derived from VoterDensity.r
# 3D charts with rgl and plot3D


