I hereby claim:
- I am arcktip on github.
- I am arcktip (https://keybase.io/arcktip) on keybase.
- I have a public key ASCnn_VskWgr7jdYc5_N7T9nqLX7FhNDpXj4pfgbHoT4-go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
function HideCategory(id, IsAgent) { | |
// Function hides category | |
$j("div#category_" + id).hide('blind'); | |
SetDownArrow(id, IsAgent); | |
$j.cookie('hide_category_' + id, 'yes', { expires: 180 }); | |
$j("div#category_header_" + id).attr("onclick", "ShowCategory(" + id + "," +IsAgent+ ")"); | |
}; |
library('RCurl') | |
library('RJSONIO') | |
library('igraph') | |
stations.url <- getURL('http://citibikenyc.com/stations/json') | |
dist.url <- getURL('appservices.citibikenyc.com/data2/stations.php') | |
# prep stations for kmeans clustering | |
stations.prep <- function(url) { | |
stations.json2 <- fromJSON(url, method='C') |
/** | |
* A collection of functions responsible for performing translations between | |
* longitude/latitude coordinates and points on a 1/1 square | |
* (which you could then map to pixelspace) | |
* | |
* @author leebyron | |
*/ | |
/** | |
* lon double x coordinate in radians [-PI,PI) |