Last active
December 11, 2015 23:18
-
-
Save benheb/4675272 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//basic | |
params { | |
sources: { | |
twitter: {keywords: ['snow', 'rain', 'wind']} | |
} | |
period: { | |
start: t1, end: t2 | |
} | |
limit: 300 //for testing purposes, replace with period | |
style: { | |
breaks: null, | |
classificationBreaks: null, | |
colors: null, | |
fill: "rgb(5, 112, 176)", | |
shape: "STYLE_CIRCLE", | |
stroke: { | |
color: "rgb(255, 255, 255)", | |
width: 2 | |
} | |
} | |
} | |
//aggregation and multiple sources | |
params { | |
sources: { | |
twitter: {keywords: ['clouds']}, | |
foursquare: {keywords: ['sunset']} | |
} | |
period: { | |
start: t1, end: t2 | |
} | |
aggregate: { | |
type: 'point', | |
empty_boundaries: true, | |
boundary: '1 km grid cells' | |
} | |
limit: 300 //for testing purposes, replace with period | |
style: { | |
breaks: 5, | |
classificationBreaks: "Quantile", | |
colors: [array of colors], | |
fill: null, | |
shape: "STYLE_CIRCLE", | |
stroke: { | |
color: "rgb(255, 255, 255)", | |
width: 2 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment