This force-directed graph visualizes teams that were formed around various projects. It allows the user to select which projects are displayed, altering the graph appropriately. Compare to this, which allows altering the graph parameters.
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
{ | |
"sidebar": { | |
"search-2": { | |
"title": "" | |
}, | |
"recent-posts-2": { | |
"title": "", | |
"number": 5 | |
}, | |
"recent-comments-2": { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name='viewport' content='initial-scale = 1, minimum-scale = 1, maximum-scale = 1'/> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
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
MatchDate | Competition | Opponent | Crew | OppScore | Result | Venue | Surface | Surface Type | |
---|---|---|---|---|---|---|---|---|---|
3/8/2014 19:00 | MLS League | D.C. United | 3 | 0 | Win | RFK Stadium | Natural Grass | Natural | |
3/29/2014 22:00 | MLS League | Seattle Sounders | 2 | 1 | Win | CenturyLink Field | FieldTurf | Artificial | |
4/13/2014 15:00 | MLS League | San Jose Earthquakes | 1 | 1 | Draw | Buck Shaw Stadium | Natural Grass | Natural | |
5/4/2014 16:00 | MLS League | Sporting Kansas City | 0 | 2 | Loss | Sporting Park | Natural Grass | Natural | |
5/7/2014 20:00 | MLS League | Houston Dynamo | 0 | 1 | Loss | BBVA Compass Stadium | Natural Grass | Natural | |
5/17/2014 22:30 | MLS League | Portland Timbers | 3 | 3 | Draw | Providence Park | FieldTurf | Artificial | |
5/31/2014 17:00 | MLS League | Toronto FC | 2 | 3 | Loss | BMO Field | Natural Grass | Natural | |
6/7/2014 18:30 | MLS League | D.C. United | 0 | 0 | Draw | FedEx Field | Natural Grass | Natural | |
7/4/2014 21:30 | MLS League | Colorado Rapids | 1 | 1 | Draw | Dick's Sporting Goods Park | Natural Grass | Natural |
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
{ | |
"name": "mjbernha/composer-wp", | |
"description": "Composer-deployed Wordpress", | |
"license": "GPL-2.0", | |
"authors": [ | |
{ | |
"name": "Matt Bernhardt", | |
"email": "mjbernha@mit.edu" | |
} | |
], |
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
## Data preparation | |
# Read in data | |
data <- read.csv('data.csv') | |
# Convert Playoffs1 and Playoffs2 to ordered factor | |
data$Playoffs1 <- factor(data$Playoffs1, levels = c("Did Not Qualify", "Octofinals", "Quarterfinalist", "Semifinalist", "Finalist", "Champion")) | |
data$Playoffs2 <- factor(data$Playoffs2, levels = c("Did Not Qualify", "Octofinals", "Quarterfinalist", "Semifinalist", "Finalist", "Champion")) | |
# Add duplicate Year encoding as a factor |
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
#!/bin/bash | |
MUSER="$1" | |
MPASS="$2" | |
MDB="$3" | |
MHOST="$4" | |
# Detect paths | |
MYSQL=$(which mysql) | |
AWK=$(which awk) | |
GREP=$(which grep) |
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
Game Time | Home | Away | Venue | |
---|---|---|---|---|
Sunday, March 6, 2016 1:30PM EST | New York Red Bulls | Toronto FC | Red Bull Arena | |
Sunday, March 6, 2016 2:00PM EST | Orlando City | Real Salt Lake | Orlando Citrus Bowl | |
Sunday, March 6, 2016 2:00PM EST | Chicago Fire | New York City FC | Toyota Park | |
Sunday, March 6, 2016 3:00PM EST | FC Dallas | Philadelphia Union | Toyota Stadium | |
Sunday, March 6, 2016 3:00PM EST | Houston Dynamo | New England Revolution | BBVA Compass Stadium | |
Sunday, March 6, 2016 3:00PM EST | San Jose Earthquakes | Colorado Rapids | Avaya Stadium | |
Sunday, March 6, 2016 4:30PM EST | Portland Timbers | Columbus Crew SC | Providence Park | |
Sunday, March 6, 2016 5:30PM EST | Vancouver Whitecaps FC | Montreal Impact | BC Place | |
Sunday, March 6, 2016 7:00PM EST | Seattle Sounders FC | Sporting Kansas City | CenturyLink Field |
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
# Read in data | |
passing <- read.csv('passing.csv') | |
# Subset | |
Portland <- subset(passing, Team == 'Portland') | |
Portland$Player <- factor(Portland$Player) | |
Portland.Starters <- subset(Portland, Starter == 'Starter') | |
Portland.Starters$Player <- factor(Portland.Starters$Player) |
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
# initial setup | |
foo = "(x,y)" | |
newFoo = foo.replace('(', '').replace(')', '').split(',') | |
print(str(newFoo)) |