Skip to content

Instantly share code, notes, and snippets.

View stevendrucker's full-sized avatar

stevendrucker

View GitHub Profile
@stevendrucker
stevendrucker / newdata.txt
Last active June 11, 2018 21:31
some demo data
This file has been truncated, but you can view the full file.
ID Longitude Latitude GeoName StateAbb State County TotalPop MedAge Education Unemployment Income MedHomeValue Obama Zipcodes Winner RealZip ElectoralFraction ZipNumbers
0 -86.396153 32.461513000000004 Prattville city AL Alabama Autauga County 28676 36.2 25.4 8.6 24527 129015 0.2654 36066 Romney 36066 0.08858902 36066.0
1 -86.70866600000001 32.660992 Billingsley town AL Alabama Autauga County 132 36.9 9.3 9.4 17993 59000 0.2654 36006 Romney 36006 0.00040778900000000004 36006.0
2 -86.658236 32.432024 Autaugaville town AL Alabama Autauga County 939 37.3 9.2 10.3 15078 61364 0.2654 36003 Romney 36003 0.002900861 36003.0
3 -87.88420699999999 30.532878999999998 Fairhope city AL Alabama Baldwin County 16442 44.0 36.8 9.7 26966 200000 0.2155 36532 Romney 36532 0.050794415999999995 36532.0
4 -87.591481 30.290025 Orange Beach city AL Alabama Baldwin County 6326 49.5 25.0 9.6 29576 290024 0.2155 36561 Romney 36561 0.019542968 36561.0
5 -87.596406 30.414659000000004 Elberta town AL Alabama Baldwin County 616 39.3 15.7 9
@stevendrucker
stevendrucker / data.txt
Created April 17, 2018 00:00
some data
Latitude,Longitude,County-State,Population (2014),Income/Capita,Poverty Rate,C % Women Owned Firms,C % White,C % Black,C % Hispanic,C % Asian,College Grad %,D: % Dem 08,D: % Dem 12,D: % Dem 16,% Repub 16,MR 1999,MR 2000,MR 2001,MR 2002,MR 2003,MR 2004,MR 2005,MR 2006,MR 2007,MR 2008,MR 2009,MR 2010,MR 2011,MR 2012,MR 2013,MR 2014,MR 2015
24.777558,-81.22849,"Monroe County, FL",77136,33974,13.5 %,0.246976311457811,0.7120602572080481,0.07,0.2056238332296204,0.012315909562331466,62.0 %,0.4968,0.5191,0.447,0.5529999999999999,9.1,11.1,13.1,13.1,13.1,13.1,15.1,15.1,17.1,17.1,19.1,19.1,21.1,23.1,23.1,25.1,27.1
25.756427,-80.30226,"Miami-Dade County, FL",2662874,23174,19.9 %,0.288999484730177,0.17906515291373148,0.19,0.614997555272987,0.015937291813281438,51.0 %,0.6165,0.5789,0.637,0.363,3.1,3.1,5.1,5.1,5.1,5.1,5.1,5.1,5.1,7.1,7.1,7.1,7.1,7.1,9.1,9.1,9.1
26.082987,-97.55744,"Cameron County, TX",420392,14710,34.8 %,0.284998506818861,0.1271029895906678,0.01,0.855166130659004,0.007730879750328265,40.0 %,0.6499,0.6408,0.
@stevendrucker
stevendrucker / TreemapUnit.json
Last active March 13, 2018 21:47
Treemap visualization of titanic
{
"$schema": "https://vega.github.io/schema/vega/v3.json",
"height": 500,
"width": 800,
"signals": [
{
"name": "toplevel",
"value": "Class",
"bind": {
"input": "select",
@stevendrucker
stevendrucker / unitvega.json
Last active March 13, 2018 20:41
Unit Vega 1
{
"$schema": "https://vega.github.io/schema/vega/v3.json",
"height": 500,
"width": 800,
"signals": [
{
"name": "x_padding",
"value": 0.1
},
{
@stevendrucker
stevendrucker / titanicmaster.txt
Created February 16, 2018 22:34
TitanicManifest
Name Class Joined Job TicketCost Age Gender Survived Department
"ALLEN, Miss Elisabeth Walton" 1st Class Passenger Southampton 214.0375 29 Female True
"ALLISON, Mr Hudson Joshua Creighton" 1st Class Passenger Southampton Businessman 151.8 30 Male False
"ALLISON, Mrs Bessie Waldo" 1st Class Passenger Southampton 151.8 25 Female False
"ALLISON, Miss Helen Loraine" 1st Class Passenger Southampton 151.8 2 Female False
"ALLISON, Master Hudson Trevor" 1st Class Passenger Southampton 151.8 0.916666667 Male True
"ANDERSON, Mr Harry" 1st Class Passenger Southampton Stockbroker 26.55 47 Male True
"ANDREWS, Miss Kornelia Theodosia" 1st Class Passenger Cherbourg 77.95833333 62 Female True
"ANDREWS, Mr Thomas" 1st Class Passenger Belfast Shipbuilder 0 39 Male False H&W Guarantee Group
"APPLETON, Mrs Charlotte" 1st Class Passenger Southampton 51.47916667 53 Female True
@stevendrucker
stevendrucker / researchData.json
Created February 13, 2018 00:27
Research JSON File
[
{
"booktitle": "Robotics and Automation, 1989. Proceedings., 1989 IEEE International Conference on",
"id": 95,
"organization": "IEEE",
"pdf": "http://research.microsoft.com/copyright/accept.asp?path=/~sdrucker/papers/tasklevel.pdf&pub=IEEE",
"reference": "Aboaf, E, Drucker, S.M, and Atkeson, C.G. Task Level Learning on a Juggling Task. IEEE Robotics Conference. Scottsdale, AZ. 1989.",
"img": "researchImages/robotlearn.gif",
"bibEntry": "<div class=\"csl-entry\">Aboaf, E. W., Drucker, S. M., and Atkeson, C. G. (1989). Task-level robot learning: Juggling a tennis ball more accurately. In <i>Robotics and Automation, 1989. Proceedings., 1989 IEEE International Conference on</i> (pp. 1290â\u0080\u00931295). IEEE.</div>",
"text": "tasklevel.txt",