Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
id | route_short_name | route_long_name | headway_mins | |
---------+------------------+----------------------------------+-------------- | |
1128053 | | Red Line | 5 | |
1127999 | 79 | 79th | 5 | |
1127997 | 77 | Belmont | 6 | |
1128049 | 172 | U. of Chicago/Kenwood | 6 | |
1127945 | 20 | Madison | 6 | |
1128034 | 134 | Stockton/LaSalle Express | 6 | |
1128037 | 143 | Stockton/Michigan Express | 7 | |
1128056 | | Blue Line | 7 |
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
#!/usr/bin/env python | |
import sys | |
import os | |
import json | |
import random | |
MIN_DISTANCE = 0.0 | |
MAX_DISTANCE = 1000000.0 | |
MAX_SAMPLE = 1000000 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
{ | |
"agency.txt": { | |
"agency_name": { | |
"total": 1, | |
"unique": 1, | |
"min": "Caltrain", | |
"max": "Caltrain" | |
}, | |
"agency_url": { | |
"total": 1, |
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
// Inspired by https://github.com/cooperhewitt/py-cooperhewitt-swatchbook | |
RGBColor = function(r, g, b, name) { | |
this.r = r; | |
this.g = g; | |
this.b = b; | |
this.name = name; | |
}; | |
RGBColor.from_hex = function (hex, name) { | |
hex = hex.replace('#',''); | |
return new RGBColor( |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
import json | |
import urllib2 | |
import colorsys | |
import cooperhewitt.swatchbook.crayola | |
palette = cooperhewitt.swatchbook.crayola.palette() | |
url = "http://transit.land/api/v1/routes.json?vehicle_type=metro&per_page=1000" | |
### |
NewerOlder