Skip to content

Instantly share code, notes, and snippets.

View jonpage's full-sized avatar

Jon Page jonpage

View GitHub Profile
@jonpage
jonpage / hi_richest_zip.Rmd
Last active April 13, 2018 05:02
Rmd for creating the data file used in the Observable notebook
---
title: "Raking it in: Hawaii's High-Income Zip Codes"
author: "Jonathan Page"
date: "April 11, 2018"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
@jonpage
jonpage / hi_richest_zip.csv
Last active April 13, 2018 05:03
Data combined from Zillow, Census, and IRS
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 20 columns, instead of 7 in line 3.
zipcode,return_count_2015,avg_agi_2015,wage_per_return_2015,wage_per_wreturn_2015,deduct_per_return_2015,deduct_per_dreturn_2015,return_count_5yr,avg_agi_5yr,wage_per_return_5yr,wage_per_wreturn_5yr,deduct_per_return_5yr,deduct_per_dreturn_5yr,prop200k_2015,prop200k_5yr,median_home_2017,median_home_5yr,housing_units,name,island
96701,21480,71.11160639675703,48.1879043585039,60.17884800120138,8.409426664162885,25.228279992488652,1.091867469879518,4.797229288865341,2.162429730842391,3.476057542292669,-12.958224172145306,-8.849465646385797,3.910614525139665,67.86411602054059,0.6860166666666666,21.5124097344088,14008,Aiea,Oahu
96704,2270,51.31549229136271,30.575949092286482,42.8440768145002,5.588825112765187,23.06660546541268,13.5,2.397894757171841,-4.656424881926326,-1.8717450938327083,-23.347780718513995,-8.728808824820412,2.2026431718061676,76.21145374449341,0.41104999999999997,46.569515042601914,2938,Captain Cook,Hawaii
96706,31330,62.10642520442767,52.89932916973452,58.111359848800234,9.640564699699615,25.29
@jonpage
jonpage / .block
Last active June 4, 2016 21:48
Calendar View
license: gpl-3.0
height: 2910
border: no
@jonpage
jonpage / .block
Created June 4, 2016 21:41
Calendar View
license: gpl-3.0
height: 2910
border: no
@jonpage
jonpage / .block
Created June 3, 2016 00:26
Sunburst Partition
license: gpl-3.0
@jonpage
jonpage / README.md
Created November 25, 2015 02:51
Stretched Chord Diagram - From educations to occupations
@jonpage
jonpage / README.md
Created November 25, 2015 02:50
Simple Arc Diagram Layout
@jonpage
jonpage / README.md
Created November 25, 2015 02:50
Final - Voronoi Scatterplot - Life expectancy vs GDP per capita
@jonpage
jonpage / Makefile
Created November 25, 2015 02:45
Multi-Line Voronoi 2015
GENERATED_FILES = \
unemployment.tsv
.PHONY: all clean
all: $(GENERATED_FILES)
clean:
rm -rf -- $(GENERATED_FILES)
@jonpage
jonpage / README.md
Created November 25, 2015 02:43
Earthquake Map