Skip to content

Instantly share code, notes, and snippets.

View dkincaid's full-sized avatar

Dave Kincaid dkincaid

View GitHub Profile
@edw
edw / gist:7138535
Created October 24, 2013 14:43
nREPL Exception on M-c C-j…
java.lang.IllegalAccessError: pp does not exist
at clojure.core$refer.doInvoke (core.clj:3849)
clojure.lang.RestFn.applyTo (RestFn.java:139)
clojure.core$apply.invoke (core.clj:619)
clojure.core$load_lib.doInvoke (core.clj:5394)
clojure.lang.RestFn.applyTo (RestFn.java:142)
clojure.core$apply.invoke (core.clj:619)
clojure.core$load_libs.doInvoke (core.clj:5413)
clojure.lang.RestFn.applyTo (RestFn.java:137)
clojure.core$apply.invoke (core.clj:619)
@dkincaid
dkincaid / infochimps_geo.R
Created September 10, 2011 15:30
Pulling ACS data from Infochimps Geo API in R
library(RJSONIO)
library(ggplot2)
api.uri <- "http://api.infochimps.com/"
acs.topline <- "social/demographics/us_census/topline/search?"
api.key <- "apikey=xxxxxxxxxx" # replace the x's with your Infochimps API key
radius <- 10000 # in meters
lat <- 44.768202
long <- -91.491603