Skip to content

Instantly share code, notes, and snippets.

@d--b
Created August 4, 2014 11:36
Show Gist options
  • Save d--b/3882d3bb3bbdade438b5 to your computer and use it in GitHub Desktop.
Save d--b/3882d3bb3bbdade438b5 to your computer and use it in GitHub Desktop.
Created on Spreadboard
{
"tablenames": {
"0": "table_0"
},
"calctree": {
"0": [
["", "", "now", "t+1", "t+2", "t+3", "t+4"],
["lyon", ">yql('select * from weather.bylocation where location = \"' + A2 + '\"')", "=B2.weather.rss.channel.item.condition.temp", "=$B2.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B2.weather.rss.channel.item.forecast[col - 3].high", "=$B2.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B2.weather.rss.channel.item.forecast[col - 3].high", "=$B2.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B2.weather.rss.channel.item.forecast[col - 3].high", "=$B2.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B2.weather.rss.channel.item.forecast[col - 3].high"],
["paris", ">yql('select * from weather.bylocation where location = \"' + A3 + '\"')", "=B3.weather.rss.channel.item.condition.temp", "=$B3.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B3.weather.rss.channel.item.forecast[col - 3].high", "=$B3.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B3.weather.rss.channel.item.forecast[col - 3].high", "=$B3.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B3.weather.rss.channel.item.forecast[col - 3].high", "=$B3.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B3.weather.rss.channel.item.forecast[col - 3].high"],
["luxembourg", ">yql('select * from weather.bylocation where location = \"' + A4 + '\"')", "=B4.weather.rss.channel.item.condition.temp", "=$B4.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B4.weather.rss.channel.item.forecast[col - 3].high", "=$B4.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B4.weather.rss.channel.item.forecast[col - 3].high", "=$B4.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B4.weather.rss.channel.item.forecast[col - 3].high", "=$B4.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B4.weather.rss.channel.item.forecast[col - 3].high"],
["london", ">yql('select * from weather.bylocation where location = \"' + A5 + '\"')", "=B5.weather.rss.channel.item.condition.temp", "=$B5.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B5.weather.rss.channel.item.forecast[col - 3].high", "=$B5.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B5.weather.rss.channel.item.forecast[col - 3].high", "=$B5.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B5.weather.rss.channel.item.forecast[col - 3].high", "=$B5.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B5.weather.rss.channel.item.forecast[col - 3].high"],
["losangeles", ">yql('select * from weather.bylocation where location = \"' + A6 + '\"')", "=B6.weather.rss.channel.item.condition.temp", "=$B6.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B6.weather.rss.channel.item.forecast[col - 3].high", "=$B6.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B6.weather.rss.channel.item.forecast[col - 3].high", "=$B6.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B6.weather.rss.channel.item.forecast[col - 3].high", "=$B6.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B6.weather.rss.channel.item.forecast[col - 3].high"],
["nyc", ">yql('select * from weather.bylocation where location = \"' + A7 + '\"')", "=B7.weather.rss.channel.item.condition.temp", "=$B7.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B7.weather.rss.channel.item.forecast[col - 3].high", "=$B7.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B7.weather.rss.channel.item.forecast[col - 3].high", "=$B7.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B7.weather.rss.channel.item.forecast[col - 3].high", "=$B7.weather.rss.channel.item.forecast[col - 3].low + ' / ' + $B7.weather.rss.channel.item.forecast[col - 3].high"],
["", "", "", "", "", "", ""],
["", "", "", "", "", "", ""],
["", "", "", "", "", "", ""],
["", "", "", "", "", "", ""],
["", "", "", "", "", "", ""],
["", "", "", "", "", "", ""],
["", "", "", "", "", "", ""],
["", "", "", "", "", "", ""]
]
},
"view": {
"TableDetails": {
"0": {
"left": 96,
"top": 48,
"nrows": 15,
"ncols": 7,
"colwidths": [135, 63, 63, 63, 63, 63, 63],
"rowheights": [15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment