Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

74 lines (73 sloc) 2.0 kB
#N canvas 446 51 756 644 10;
#X declare -lib zexy -lib purest_json;
#X obj 188 521 dac~;
#X obj 193 232 fifop;
#X msg 349 170 stop;
#X obj 195 441 *~ 0;
#X msg 368 386 0;
#X msg 406 388 1;
#X obj 12 99 print original-data;
#X obj 193 347 phasor~ 100;
#X obj 194 407 bp~ 200 5;
#X obj 193 260 t f f;
#X obj 253 205 metro 500;
#X obj 193 373 -~ 0.5;
#X obj 193 317 line \$1 20;
#X obj 266 318 line \$1 20;
#X msg 156 -44 GET http://api.scraperwiki.com/api/1.0/datastore/sqlite?format=jsondict&name=daily_bitcoin_prices&query=select%20datetime(Date%2C%20%22unixepoch%22)%20as%20date%2C%20USD%2C%20EUR%20from%20swdata
;
#X obj 156 123 list trim;
#X obj 156 149 route EUR USD;
#X obj 253 150 spigot 1;
#X obj 349 318 t b b b;
#X obj 253 172 t b b b;
#X msg 348 109 0;
#X msg 388 109 1;
#X text 392 143 start metro only once \, as each json object from the
array outputs a bang at the right outlet of rest-json;
#X text 400 230 use a fifo buffer for the values (from zexy);
#X obj 266 291 * 20;
#X obj 193 289 * 10;
#X obj 19 300 import zexy purest_json;
#X obj 196 465 *~ 0;
#X obj 492 301 vsl 15 128 0 1 0 0 empty empty volume 0 -9 0 10 -262144
-1 -1 0 1;
#X obj 156 36 rest;
#X obj 156 71 json-decode;
#X obj 31 183 print decoded-data;
#X connect 1 0 9 0;
#X connect 1 1 18 0;
#X connect 2 0 10 0;
#X connect 3 0 27 0;
#X connect 4 0 3 1;
#X connect 5 0 3 1;
#X connect 7 0 11 0;
#X connect 8 0 3 0;
#X connect 9 0 25 0;
#X connect 9 1 24 0;
#X connect 10 0 1 0;
#X connect 11 0 8 0;
#X connect 12 0 7 0;
#X connect 13 0 8 1;
#X connect 14 0 29 0;
#X connect 15 0 16 0;
#X connect 16 1 1 0;
#X connect 17 0 19 0;
#X connect 18 0 2 0;
#X connect 18 1 4 0;
#X connect 18 2 21 0;
#X connect 19 0 10 0;
#X connect 19 1 5 0;
#X connect 19 2 20 0;
#X connect 20 0 17 1;
#X connect 21 0 17 1;
#X connect 24 0 13 0;
#X connect 25 0 12 0;
#X connect 27 0 0 1;
#X connect 27 0 0 0;
#X connect 28 0 27 1;
#X connect 29 0 6 0;
#X connect 29 0 30 0;
#X connect 30 0 15 0;
#X connect 30 0 31 0;
#X connect 30 1 17 0;
Jump to Line
Something went wrong with that request. Please try again.