Skip to content

Instantly share code, notes, and snippets.

View WillEngler's full-sized avatar
🦔

Will Engler WillEngler

🦔
View GitHub Profile
@WillEngler
WillEngler / asbestos.json
Last active February 18, 2016 23:30
Asbestos-related complaints to the CDPH in 2016, tagged with the zip code the complaint occurred in. (Made with plenar.io)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@WillEngler
WillEngler / nursingHomes.json
Created February 18, 2016 23:09
Number of Chicago nursing homes by community area.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from plenario.models import MetaTable
submission_meta = MetaTable(url='dummy_url',
human_name='Your Dataset Name',
observed_date='col_with_timestamps',
latitude='col_with_lat',
longitude='col_with_lon',
approved_status=True)
etl = PlenarioETL(submission_meta, 'path/on/your/filesystem')
@WillEngler
WillEngler / gist:3f32a459f561d55855ec
Created April 2, 2015 00:03
Parameters for Mercator projection over Chicago in D3 js that kinda work
projection = d3.geo.mercator().center([-87.68398142305401,41.92394041])
.scale([273400]).translate(offset);
path = path.projection(projection);
@WillEngler
WillEngler / gist:5c3407cba91fabf1410b
Created March 31, 2015 20:11
Chicago community areas as Geojson
This file has been truncated, but you can view the full file.
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "GeometryCollection",
"geometries": [
{
"type": "Polygon",
@WillEngler
WillEngler / gist:51fa664745d2db073a81
Created February 3, 2015 00:27
Define alternative file structure in Gradle
sourceSets{
main{
java {
srcDir 'src'
}
}
test{
java {
srcDir 'test'
}