-
-
Save anonymous/73767303ccd0e8fdf826 to your computer and use it in GitHub Desktop.
2015 NFL Schedule
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
{ | |
"49ers": [ | |
{ | |
"location": "49ers", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "49ers", | |
"opponent": "vikings", | |
"type": "home", | |
"week": 1 | |
}, | |
{ | |
"location": "steelers", | |
"opponent": "steelers", | |
"type": "away", | |
"week": 2 | |
}, | |
{ | |
"location": "cardinals", | |
"opponent": "cardinals", | |
"type": "away", | |
"week": 3 | |
}, | |
{ | |
"location": "49ers", | |
"opponent": "packers", | |
"type": "home", | |
"week": 4 | |
}, | |
{ | |
"location": "giants", | |
"opponent": "giants", | |
"type": "away", | |
"week": 5 | |
}, | |
{ | |
"location": "49ers", | |
"opponent": "ravens", | |
"type": "home", | |
"week": 6 | |
}, | |
{ | |
"location": "49ers", | |
"opponent": "seahawks", | |
"type": "home", | |
"week": 7 | |
}, | |
{ | |
"location": "rams", | |
"opponent": "rams", | |
"type": "away", | |
"week": 8 | |
}, | |
{ | |
"location": "49ers", | |
"opponent": "falcons", | |
"type": "home", | |
"week": 9 | |
}, | |
{ | |
"location": "49ers", | |
"type": "bye", | |
"week": 10 | |
}, | |
{ | |
"location": "seahawks", | |
"opponent": "seahawks", | |
"type": "away", | |
"week": 11 | |
}, | |
{ | |
"location": "49ers", | |
"opponent": "cardinals", | |
"type": "home", | |
"week": 12 | |
}, | |
{ | |
"location": "bears", | |
"opponent": "bears", | |
"type": "away", | |
"week": 13 | |
}, | |
{ | |
"location": "browns", | |
"opponent": "browns", | |
"type": "away", | |
"week": 14 | |
}, | |
{ | |
"location": "49ers", | |
"opponent": "bengals", | |
"type": "home", | |
"week": 15 | |
}, | |
{ | |
"location": "lions", | |
"opponent": "lions", | |
"type": "away", | |
"week": 16 | |
}, | |
{ | |
"location": "49ers", | |
"opponent": "rams", | |
"type": "home", | |
"week": 17 | |
} | |
], | |
"bears": [ | |
{ | |
"location": "bears", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "bears", | |
"opponent": "packers", | |
"type": "home", | |
"week": 1 | |
}, | |
{ | |
"location": "bears", | |
"opponent": "cardinals", | |
"type": "home", | |
"week": 2 | |
}, | |
{ | |
"location": "seahawks", | |
"opponent": "seahawks", | |
"type": "away", | |
"week": 3 | |
}, | |
{ | |
"location": "bears", | |
"opponent": "raiders", | |
"type": "home", | |
"week": 4 | |
}, | |
{ | |
"location": "chiefs", | |
"opponent": "chiefs", | |
"type": "away", | |
"week": 5 | |
}, | |
{ | |
"location": "lions", | |
"opponent": "lions", | |
"type": "away", | |
"week": 6 | |
}, | |
{ | |
"location": "bears", | |
"type": "bye", | |
"week": 7 | |
}, | |
{ | |
"location": "bears", | |
"opponent": "vikings", | |
"type": "home", | |
"week": 8 | |
}, | |
{ | |
"location": "chargers", | |
"opponent": "chargers", | |
"type": "away", | |
"week": 9 | |
}, | |
{ | |
"location": "rams", | |
"opponent": "rams", | |
"type": "away", | |
"week": 10 | |
}, | |
{ | |
"location": "bears", | |
"opponent": "broncos", | |
"type": "home", | |
"week": 11 | |
}, | |
{ | |
"location": "packers", | |
"opponent": "packers", | |
"type": "away", | |
"week": 12 | |
}, | |
{ | |
"location": "bears", | |
"opponent": "49ers", | |
"type": "home", | |
"week": 13 | |
}, | |
{ | |
"location": "bears", | |
"opponent": "redskins", | |
"type": "home", | |
"week": 14 | |
}, | |
{ | |
"location": "vikings", | |
"opponent": "vikings", | |
"type": "away", | |
"week": 15 | |
}, | |
{ | |
"location": "buccaneers", | |
"opponent": "buccaneers", | |
"type": "away", | |
"week": 16 | |
}, | |
{ | |
"location": "bears", | |
"opponent": "lions", | |
"type": "home", | |
"week": 17 | |
} | |
], | |
"bengals": [ | |
{ | |
"location": "bengals", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "raiders", | |
"opponent": "raiders", | |
"type": "away", | |
"week": 1 | |
}, | |
{ | |
"location": "bengals", | |
"opponent": "chargers", | |
"type": "home", | |
"week": 2 | |
}, | |
{ | |
"location": "ravens", | |
"opponent": "ravens", | |
"type": "away", | |
"week": 3 | |
}, | |
{ | |
"location": "bengals", | |
"opponent": "chiefs", | |
"type": "home", | |
"week": 4 | |
}, | |
{ | |
"location": "bengals", | |
"opponent": "seahawks", | |
"type": "home", | |
"week": 5 | |
}, | |
{ | |
"location": "bills", | |
"opponent": "bills", | |
"type": "away", | |
"week": 6 | |
}, | |
{ | |
"location": "bengals", | |
"type": "bye", | |
"week": 7 | |
}, | |
{ | |
"location": "steelers", | |
"opponent": "steelers", | |
"type": "away", | |
"week": 8 | |
}, | |
{ | |
"location": "bengals", | |
"opponent": "browns", | |
"type": "home", | |
"week": 9 | |
}, | |
{ | |
"location": "bengals", | |
"opponent": "texans", | |
"type": "home", | |
"week": 10 | |
}, | |
{ | |
"location": "cardinals", | |
"opponent": "cardinals", | |
"type": "away", | |
"week": 11 | |
}, | |
{ | |
"location": "bengals", | |
"opponent": "rams", | |
"type": "home", | |
"week": 12 | |
}, | |
{ | |
"location": "browns", | |
"opponent": "browns", | |
"type": "away", | |
"week": 13 | |
}, | |
{ | |
"location": "bengals", | |
"opponent": "steelers", | |
"type": "home", | |
"week": 14 | |
}, | |
{ | |
"location": "49ers", | |
"opponent": "49ers", | |
"type": "away", | |
"week": 15 | |
}, | |
{ | |
"location": "broncos", | |
"opponent": "broncos", | |
"type": "away", | |
"week": 16 | |
}, | |
{ | |
"location": "bengals", | |
"opponent": "ravens", | |
"type": "home", | |
"week": 17 | |
} | |
], | |
"bills": [ | |
{ | |
"location": "bills", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "bills", | |
"opponent": "colts", | |
"type": "home", | |
"week": 1 | |
}, | |
{ | |
"location": "bills", | |
"opponent": "patriots", | |
"type": "home", | |
"week": 2 | |
}, | |
{ | |
"location": "dolphins", | |
"opponent": "dolphins", | |
"type": "away", | |
"week": 3 | |
}, | |
{ | |
"location": "bills", | |
"opponent": "giants", | |
"type": "home", | |
"week": 4 | |
}, | |
{ | |
"location": "titans", | |
"opponent": "titans", | |
"type": "away", | |
"week": 5 | |
}, | |
{ | |
"location": "bills", | |
"opponent": "bengals", | |
"type": "home", | |
"week": 6 | |
}, | |
{ | |
"location": "london", | |
"opponent": "jaguars", | |
"type": "away", | |
"week": 7 | |
}, | |
{ | |
"location": "bills", | |
"type": "bye", | |
"week": 8 | |
}, | |
{ | |
"location": "bills", | |
"opponent": "dolphins", | |
"type": "home", | |
"week": 9 | |
}, | |
{ | |
"location": "jets", | |
"opponent": "jets", | |
"type": "away", | |
"week": 10 | |
}, | |
{ | |
"location": "patriots", | |
"opponent": "patriots", | |
"type": "away", | |
"week": 11 | |
}, | |
{ | |
"location": "chiefs", | |
"opponent": "chiefs", | |
"type": "away", | |
"week": 12 | |
}, | |
{ | |
"location": "bills", | |
"opponent": "texans", | |
"type": "home", | |
"week": 13 | |
}, | |
{ | |
"location": "eagles", | |
"opponent": "eagles", | |
"type": "away", | |
"week": 14 | |
}, | |
{ | |
"location": "redskins", | |
"opponent": "redskins", | |
"type": "away", | |
"week": 15 | |
}, | |
{ | |
"location": "bills", | |
"opponent": "cowboys", | |
"type": "home", | |
"week": 16 | |
}, | |
{ | |
"location": "bills", | |
"opponent": "jets", | |
"type": "home", | |
"week": 17 | |
} | |
], | |
"broncos": [ | |
{ | |
"location": "broncos", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "broncos", | |
"opponent": "ravens", | |
"type": "home", | |
"week": 1 | |
}, | |
{ | |
"location": "chiefs", | |
"opponent": "chiefs", | |
"type": "away", | |
"week": 2 | |
}, | |
{ | |
"location": "lions", | |
"opponent": "lions", | |
"type": "away", | |
"week": 3 | |
}, | |
{ | |
"location": "broncos", | |
"opponent": "vikings", | |
"type": "home", | |
"week": 4 | |
}, | |
{ | |
"location": "raiders", | |
"opponent": "raiders", | |
"type": "away", | |
"week": 5 | |
}, | |
{ | |
"location": "browns", | |
"opponent": "browns", | |
"type": "away", | |
"week": 6 | |
}, | |
{ | |
"location": "broncos", | |
"type": "bye", | |
"week": 7 | |
}, | |
{ | |
"location": "broncos", | |
"opponent": "packers", | |
"type": "home", | |
"week": 8 | |
}, | |
{ | |
"location": "colts", | |
"opponent": "colts", | |
"type": "away", | |
"week": 9 | |
}, | |
{ | |
"location": "broncos", | |
"opponent": "chiefs", | |
"type": "home", | |
"week": 10 | |
}, | |
{ | |
"location": "bears", | |
"opponent": "bears", | |
"type": "away", | |
"week": 11 | |
}, | |
{ | |
"location": "broncos", | |
"opponent": "patriots", | |
"type": "home", | |
"week": 12 | |
}, | |
{ | |
"location": "chargers", | |
"opponent": "chargers", | |
"type": "away", | |
"week": 13 | |
}, | |
{ | |
"location": "broncos", | |
"opponent": "raiders", | |
"type": "home", | |
"week": 14 | |
}, | |
{ | |
"location": "steelers", | |
"opponent": "steelers", | |
"type": "away", | |
"week": 15 | |
}, | |
{ | |
"location": "broncos", | |
"opponent": "bengals", | |
"type": "home", | |
"week": 16 | |
}, | |
{ | |
"location": "broncos", | |
"opponent": "chargers", | |
"type": "home", | |
"week": 17 | |
} | |
], | |
"browns": [ | |
{ | |
"location": "browns", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "jets", | |
"opponent": "jets", | |
"type": "away", | |
"week": 1 | |
}, | |
{ | |
"location": "browns", | |
"opponent": "titans", | |
"type": "home", | |
"week": 2 | |
}, | |
{ | |
"location": "browns", | |
"opponent": "raiders", | |
"type": "home", | |
"week": 3 | |
}, | |
{ | |
"location": "chargers", | |
"opponent": "chargers", | |
"type": "away", | |
"week": 4 | |
}, | |
{ | |
"location": "ravens", | |
"opponent": "ravens", | |
"type": "away", | |
"week": 5 | |
}, | |
{ | |
"location": "browns", | |
"opponent": "broncos", | |
"type": "home", | |
"week": 6 | |
}, | |
{ | |
"location": "rams", | |
"opponent": "rams", | |
"type": "away", | |
"week": 7 | |
}, | |
{ | |
"location": "browns", | |
"opponent": "cardinals", | |
"type": "home", | |
"week": 8 | |
}, | |
{ | |
"location": "bengals", | |
"opponent": "bengals", | |
"type": "away", | |
"week": 9 | |
}, | |
{ | |
"location": "steelers", | |
"opponent": "steelers", | |
"type": "away", | |
"week": 10 | |
}, | |
{ | |
"location": "browns", | |
"type": "bye", | |
"week": 11 | |
}, | |
{ | |
"location": "browns", | |
"opponent": "ravens", | |
"type": "home", | |
"week": 12 | |
}, | |
{ | |
"location": "browns", | |
"opponent": "bengals", | |
"type": "home", | |
"week": 13 | |
}, | |
{ | |
"location": "browns", | |
"opponent": "49ers", | |
"type": "home", | |
"week": 14 | |
}, | |
{ | |
"location": "seahawks", | |
"opponent": "seahawks", | |
"type": "away", | |
"week": 15 | |
}, | |
{ | |
"location": "chiefs", | |
"opponent": "chiefs", | |
"type": "away", | |
"week": 16 | |
}, | |
{ | |
"location": "browns", | |
"opponent": "steelers", | |
"type": "home", | |
"week": 17 | |
} | |
], | |
"buccaneers": [ | |
{ | |
"location": "buccaneers", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "buccaneers", | |
"opponent": "titans", | |
"type": "home", | |
"week": 1 | |
}, | |
{ | |
"location": "saints", | |
"opponent": "saints", | |
"type": "away", | |
"week": 2 | |
}, | |
{ | |
"location": "texans", | |
"opponent": "texans", | |
"type": "away", | |
"week": 3 | |
}, | |
{ | |
"location": "buccaneers", | |
"opponent": "panthers", | |
"type": "home", | |
"week": 4 | |
}, | |
{ | |
"location": "buccaneers", | |
"opponent": "jaguars", | |
"type": "home", | |
"week": 5 | |
}, | |
{ | |
"location": "buccaneers", | |
"type": "bye", | |
"week": 6 | |
}, | |
{ | |
"location": "redskins", | |
"opponent": "redskins", | |
"type": "away", | |
"week": 7 | |
}, | |
{ | |
"location": "falcons", | |
"opponent": "falcons", | |
"type": "away", | |
"week": 8 | |
}, | |
{ | |
"location": "buccaneers", | |
"opponent": "giants", | |
"type": "home", | |
"week": 9 | |
}, | |
{ | |
"location": "buccaneers", | |
"opponent": "cowboys", | |
"type": "home", | |
"week": 10 | |
}, | |
{ | |
"location": "eagles", | |
"opponent": "eagles", | |
"type": "away", | |
"week": 11 | |
}, | |
{ | |
"location": "colts", | |
"opponent": "colts", | |
"type": "away", | |
"week": 12 | |
}, | |
{ | |
"location": "buccaneers", | |
"opponent": "falcons", | |
"type": "home", | |
"week": 13 | |
}, | |
{ | |
"location": "buccaneers", | |
"opponent": "saints", | |
"type": "home", | |
"week": 14 | |
}, | |
{ | |
"location": "rams", | |
"opponent": "rams", | |
"type": "away", | |
"week": 15 | |
}, | |
{ | |
"location": "buccaneers", | |
"opponent": "bears", | |
"type": "home", | |
"week": 16 | |
}, | |
{ | |
"location": "panthers", | |
"opponent": "panthers", | |
"type": "away", | |
"week": 17 | |
} | |
], | |
"cardinals": [ | |
{ | |
"location": "cardinals", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "cardinals", | |
"opponent": "saints", | |
"type": "home", | |
"week": 1 | |
}, | |
{ | |
"location": "bears", | |
"opponent": "bears", | |
"type": "away", | |
"week": 2 | |
}, | |
{ | |
"location": "cardinals", | |
"opponent": "49ers", | |
"type": "home", | |
"week": 3 | |
}, | |
{ | |
"location": "cardinals", | |
"opponent": "rams", | |
"type": "home", | |
"week": 4 | |
}, | |
{ | |
"location": "lions", | |
"opponent": "lions", | |
"type": "away", | |
"week": 5 | |
}, | |
{ | |
"location": "steelers", | |
"opponent": "steelers", | |
"type": "away", | |
"week": 6 | |
}, | |
{ | |
"location": "cardinals", | |
"opponent": "ravens", | |
"type": "home", | |
"week": 7 | |
}, | |
{ | |
"location": "browns", | |
"opponent": "browns", | |
"type": "away", | |
"week": 8 | |
}, | |
{ | |
"location": "cardinals", | |
"type": "bye", | |
"week": 9 | |
}, | |
{ | |
"location": "seahawks", | |
"opponent": "seahawks", | |
"type": "away", | |
"week": 10 | |
}, | |
{ | |
"location": "cardinals", | |
"opponent": "bengals", | |
"type": "home", | |
"week": 11 | |
}, | |
{ | |
"location": "49ers", | |
"opponent": "49ers", | |
"type": "away", | |
"week": 12 | |
}, | |
{ | |
"location": "rams", | |
"opponent": "rams", | |
"type": "away", | |
"week": 13 | |
}, | |
{ | |
"location": "cardinals", | |
"opponent": "vikings", | |
"type": "home", | |
"week": 14 | |
}, | |
{ | |
"location": "eagles", | |
"opponent": "eagles", | |
"type": "away", | |
"week": 15 | |
}, | |
{ | |
"location": "cardinals", | |
"opponent": "packers", | |
"type": "home", | |
"week": 16 | |
}, | |
{ | |
"location": "cardinals", | |
"opponent": "seahawks", | |
"type": "home", | |
"week": 17 | |
} | |
], | |
"chargers": [ | |
{ | |
"location": "chargers", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "chargers", | |
"opponent": "lions", | |
"type": "home", | |
"week": 1 | |
}, | |
{ | |
"location": "bengals", | |
"opponent": "bengals", | |
"type": "away", | |
"week": 2 | |
}, | |
{ | |
"location": "vikings", | |
"opponent": "vikings", | |
"type": "away", | |
"week": 3 | |
}, | |
{ | |
"location": "chargers", | |
"opponent": "browns", | |
"type": "home", | |
"week": 4 | |
}, | |
{ | |
"location": "chargers", | |
"opponent": "steelers", | |
"type": "home", | |
"week": 5 | |
}, | |
{ | |
"location": "packers", | |
"opponent": "packers", | |
"type": "away", | |
"week": 6 | |
}, | |
{ | |
"location": "chargers", | |
"opponent": "raiders", | |
"type": "home", | |
"week": 7 | |
}, | |
{ | |
"location": "ravens", | |
"opponent": "ravens", | |
"type": "away", | |
"week": 8 | |
}, | |
{ | |
"location": "chargers", | |
"opponent": "bears", | |
"type": "home", | |
"week": 9 | |
}, | |
{ | |
"location": "chargers", | |
"type": "bye", | |
"week": 10 | |
}, | |
{ | |
"location": "chargers", | |
"opponent": "chiefs", | |
"type": "home", | |
"week": 11 | |
}, | |
{ | |
"location": "jaguars", | |
"opponent": "jaguars", | |
"type": "away", | |
"week": 12 | |
}, | |
{ | |
"location": "chargers", | |
"opponent": "broncos", | |
"type": "home", | |
"week": 13 | |
}, | |
{ | |
"location": "chiefs", | |
"opponent": "chiefs", | |
"type": "away", | |
"week": 14 | |
}, | |
{ | |
"location": "chargers", | |
"opponent": "dolphins", | |
"type": "home", | |
"week": 15 | |
}, | |
{ | |
"location": "raiders", | |
"opponent": "raiders", | |
"type": "away", | |
"week": 16 | |
}, | |
{ | |
"location": "broncos", | |
"opponent": "broncos", | |
"type": "away", | |
"week": 17 | |
} | |
], | |
"chiefs": [ | |
{ | |
"location": "chiefs", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "texans", | |
"opponent": "texans", | |
"type": "away", | |
"week": 1 | |
}, | |
{ | |
"location": "chiefs", | |
"opponent": "broncos", | |
"type": "home", | |
"week": 2 | |
}, | |
{ | |
"location": "packers", | |
"opponent": "packers", | |
"type": "away", | |
"week": 3 | |
}, | |
{ | |
"location": "bengals", | |
"opponent": "bengals", | |
"type": "away", | |
"week": 4 | |
}, | |
{ | |
"location": "chiefs", | |
"opponent": "bears", | |
"type": "home", | |
"week": 5 | |
}, | |
{ | |
"location": "vikings", | |
"opponent": "vikings", | |
"type": "away", | |
"week": 6 | |
}, | |
{ | |
"location": "chiefs", | |
"opponent": "steelers", | |
"type": "home", | |
"week": 7 | |
}, | |
{ | |
"location": "london", | |
"opponent": "lions", | |
"type": "home", | |
"week": 8 | |
}, | |
{ | |
"location": "chiefs", | |
"type": "bye", | |
"week": 9 | |
}, | |
{ | |
"location": "broncos", | |
"opponent": "broncos", | |
"type": "away", | |
"week": 10 | |
}, | |
{ | |
"location": "chargers", | |
"opponent": "chargers", | |
"type": "away", | |
"week": 11 | |
}, | |
{ | |
"location": "chiefs", | |
"opponent": "bills", | |
"type": "home", | |
"week": 12 | |
}, | |
{ | |
"location": "raiders", | |
"opponent": "raiders", | |
"type": "away", | |
"week": 13 | |
}, | |
{ | |
"location": "chiefs", | |
"opponent": "chargers", | |
"type": "home", | |
"week": 14 | |
}, | |
{ | |
"location": "ravens", | |
"opponent": "ravens", | |
"type": "away", | |
"week": 15 | |
}, | |
{ | |
"location": "chiefs", | |
"opponent": "browns", | |
"type": "home", | |
"week": 16 | |
}, | |
{ | |
"location": "chiefs", | |
"opponent": "raiders", | |
"type": "home", | |
"week": 17 | |
} | |
], | |
"colts": [ | |
{ | |
"location": "colts", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "bills", | |
"opponent": "bills", | |
"type": "away", | |
"week": 1 | |
}, | |
{ | |
"location": "colts", | |
"opponent": "jets", | |
"type": "home", | |
"week": 2 | |
}, | |
{ | |
"location": "titans", | |
"opponent": "titans", | |
"type": "away", | |
"week": 3 | |
}, | |
{ | |
"location": "colts", | |
"opponent": "jaguars", | |
"type": "home", | |
"week": 4 | |
}, | |
{ | |
"location": "texans", | |
"opponent": "texans", | |
"type": "away", | |
"week": 5 | |
}, | |
{ | |
"location": "colts", | |
"opponent": "patriots", | |
"type": "home", | |
"week": 6 | |
}, | |
{ | |
"location": "colts", | |
"opponent": "saints", | |
"type": "home", | |
"week": 7 | |
}, | |
{ | |
"location": "panthers", | |
"opponent": "panthers", | |
"type": "away", | |
"week": 8 | |
}, | |
{ | |
"location": "colts", | |
"opponent": "broncos", | |
"type": "home", | |
"week": 9 | |
}, | |
{ | |
"location": "colts", | |
"type": "bye", | |
"week": 10 | |
}, | |
{ | |
"location": "falcons", | |
"opponent": "falcons", | |
"type": "away", | |
"week": 11 | |
}, | |
{ | |
"location": "colts", | |
"opponent": "buccaneers", | |
"type": "home", | |
"week": 12 | |
}, | |
{ | |
"location": "steelers", | |
"opponent": "steelers", | |
"type": "away", | |
"week": 13 | |
}, | |
{ | |
"location": "jaguars", | |
"opponent": "jaguars", | |
"type": "away", | |
"week": 14 | |
}, | |
{ | |
"location": "colts", | |
"opponent": "texans", | |
"type": "home", | |
"week": 15 | |
}, | |
{ | |
"location": "dolphins", | |
"opponent": "dolphins", | |
"type": "away", | |
"week": 16 | |
}, | |
{ | |
"location": "colts", | |
"opponent": "titans", | |
"type": "home", | |
"week": 17 | |
} | |
], | |
"cowboys": [ | |
{ | |
"location": "cowboys", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "cowboys", | |
"opponent": "giants", | |
"type": "home", | |
"week": 1 | |
}, | |
{ | |
"location": "eagles", | |
"opponent": "eagles", | |
"type": "away", | |
"week": 2 | |
}, | |
{ | |
"location": "cowboys", | |
"opponent": "falcons", | |
"type": "home", | |
"week": 3 | |
}, | |
{ | |
"location": "saints", | |
"opponent": "saints", | |
"type": "away", | |
"week": 4 | |
}, | |
{ | |
"location": "cowboys", | |
"opponent": "patriots", | |
"type": "home", | |
"week": 5 | |
}, | |
{ | |
"location": "cowboys", | |
"type": "bye", | |
"week": 6 | |
}, | |
{ | |
"location": "giants", | |
"opponent": "giants", | |
"type": "away", | |
"week": 7 | |
}, | |
{ | |
"location": "cowboys", | |
"opponent": "seahawks", | |
"type": "home", | |
"week": 8 | |
}, | |
{ | |
"location": "cowboys", | |
"opponent": "eagles", | |
"type": "home", | |
"week": 9 | |
}, | |
{ | |
"location": "buccaneers", | |
"opponent": "buccaneers", | |
"type": "away", | |
"week": 10 | |
}, | |
{ | |
"location": "dolphins", | |
"opponent": "dolphins", | |
"type": "away", | |
"week": 11 | |
}, | |
{ | |
"location": "cowboys", | |
"opponent": "panthers", | |
"type": "home", | |
"week": 12 | |
}, | |
{ | |
"location": "redskins", | |
"opponent": "redskins", | |
"type": "away", | |
"week": 13 | |
}, | |
{ | |
"location": "packers", | |
"opponent": "packers", | |
"type": "away", | |
"week": 14 | |
}, | |
{ | |
"location": "cowboys", | |
"opponent": "jets", | |
"type": "home", | |
"week": 15 | |
}, | |
{ | |
"location": "bills", | |
"opponent": "bills", | |
"type": "away", | |
"week": 16 | |
}, | |
{ | |
"location": "cowboys", | |
"opponent": "redskins", | |
"type": "home", | |
"week": 17 | |
} | |
], | |
"dolphins": [ | |
{ | |
"location": "dolphins", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "redskins", | |
"opponent": "redskins", | |
"type": "away", | |
"week": 1 | |
}, | |
{ | |
"location": "jaguars", | |
"opponent": "jaguars", | |
"type": "away", | |
"week": 2 | |
}, | |
{ | |
"location": "dolphins", | |
"opponent": "bills", | |
"type": "home", | |
"week": 3 | |
}, | |
{ | |
"location": "london", | |
"opponent": "jets", | |
"type": "home", | |
"week": 4 | |
}, | |
{ | |
"location": "dolphins", | |
"type": "bye", | |
"week": 5 | |
}, | |
{ | |
"location": "titans", | |
"opponent": "titans", | |
"type": "away", | |
"week": 6 | |
}, | |
{ | |
"location": "dolphins", | |
"opponent": "texans", | |
"type": "home", | |
"week": 7 | |
}, | |
{ | |
"location": "patriots", | |
"opponent": "patriots", | |
"type": "away", | |
"week": 8 | |
}, | |
{ | |
"location": "bills", | |
"opponent": "bills", | |
"type": "away", | |
"week": 9 | |
}, | |
{ | |
"location": "eagles", | |
"opponent": "eagles", | |
"type": "away", | |
"week": 10 | |
}, | |
{ | |
"location": "dolphins", | |
"opponent": "cowboys", | |
"type": "home", | |
"week": 11 | |
}, | |
{ | |
"location": "jets", | |
"opponent": "jets", | |
"type": "away", | |
"week": 12 | |
}, | |
{ | |
"location": "dolphins", | |
"opponent": "ravens", | |
"type": "home", | |
"week": 13 | |
}, | |
{ | |
"location": "dolphins", | |
"opponent": "giants", | |
"type": "home", | |
"week": 14 | |
}, | |
{ | |
"location": "chargers", | |
"opponent": "chargers", | |
"type": "away", | |
"week": 15 | |
}, | |
{ | |
"location": "dolphins", | |
"opponent": "colts", | |
"type": "home", | |
"week": 16 | |
}, | |
{ | |
"location": "dolphins", | |
"opponent": "patriots", | |
"type": "home", | |
"week": 17 | |
} | |
], | |
"eagles": [ | |
{ | |
"location": "eagles", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "falcons", | |
"opponent": "falcons", | |
"type": "away", | |
"week": 1 | |
}, | |
{ | |
"location": "eagles", | |
"opponent": "cowboys", | |
"type": "home", | |
"week": 2 | |
}, | |
{ | |
"location": "jets", | |
"opponent": "jets", | |
"type": "away", | |
"week": 3 | |
}, | |
{ | |
"location": "redskins", | |
"opponent": "redskins", | |
"type": "away", | |
"week": 4 | |
}, | |
{ | |
"location": "eagles", | |
"opponent": "saints", | |
"type": "home", | |
"week": 5 | |
}, | |
{ | |
"location": "eagles", | |
"opponent": "giants", | |
"type": "home", | |
"week": 6 | |
}, | |
{ | |
"location": "panthers", | |
"opponent": "panthers", | |
"type": "away", | |
"week": 7 | |
}, | |
{ | |
"location": "eagles", | |
"type": "bye", | |
"week": 8 | |
}, | |
{ | |
"location": "cowboys", | |
"opponent": "cowboys", | |
"type": "away", | |
"week": 9 | |
}, | |
{ | |
"location": "eagles", | |
"opponent": "dolphins", | |
"type": "home", | |
"week": 10 | |
}, | |
{ | |
"location": "eagles", | |
"opponent": "buccaneers", | |
"type": "home", | |
"week": 11 | |
}, | |
{ | |
"location": "lions", | |
"opponent": "lions", | |
"type": "away", | |
"week": 12 | |
}, | |
{ | |
"location": "patriots", | |
"opponent": "patriots", | |
"type": "away", | |
"week": 13 | |
}, | |
{ | |
"location": "eagles", | |
"opponent": "bills", | |
"type": "home", | |
"week": 14 | |
}, | |
{ | |
"location": "eagles", | |
"opponent": "cardinals", | |
"type": "home", | |
"week": 15 | |
}, | |
{ | |
"location": "eagles", | |
"opponent": "redskins", | |
"type": "home", | |
"week": 16 | |
}, | |
{ | |
"location": "giants", | |
"opponent": "giants", | |
"type": "away", | |
"week": 17 | |
} | |
], | |
"falcons": [ | |
{ | |
"location": "falcons", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "falcons", | |
"opponent": "eagles", | |
"type": "home", | |
"week": 1 | |
}, | |
{ | |
"location": "giants", | |
"opponent": "giants", | |
"type": "away", | |
"week": 2 | |
}, | |
{ | |
"location": "cowboys", | |
"opponent": "cowboys", | |
"type": "away", | |
"week": 3 | |
}, | |
{ | |
"location": "falcons", | |
"opponent": "texans", | |
"type": "home", | |
"week": 4 | |
}, | |
{ | |
"location": "falcons", | |
"opponent": "redskins", | |
"type": "home", | |
"week": 5 | |
}, | |
{ | |
"location": "saints", | |
"opponent": "saints", | |
"type": "away", | |
"week": 6 | |
}, | |
{ | |
"location": "titans", | |
"opponent": "titans", | |
"type": "away", | |
"week": 7 | |
}, | |
{ | |
"location": "falcons", | |
"opponent": "buccaneers", | |
"type": "home", | |
"week": 8 | |
}, | |
{ | |
"location": "49ers", | |
"opponent": "49ers", | |
"type": "away", | |
"week": 9 | |
}, | |
{ | |
"location": "falcons", | |
"type": "bye", | |
"week": 10 | |
}, | |
{ | |
"location": "falcons", | |
"opponent": "colts", | |
"type": "home", | |
"week": 11 | |
}, | |
{ | |
"location": "falcons", | |
"opponent": "vikings", | |
"type": "home", | |
"week": 12 | |
}, | |
{ | |
"location": "buccaneers", | |
"opponent": "buccaneers", | |
"type": "away", | |
"week": 13 | |
}, | |
{ | |
"location": "panthers", | |
"opponent": "panthers", | |
"type": "away", | |
"week": 14 | |
}, | |
{ | |
"location": "jaguars", | |
"opponent": "jaguars", | |
"type": "away", | |
"week": 15 | |
}, | |
{ | |
"location": "falcons", | |
"opponent": "panthers", | |
"type": "home", | |
"week": 16 | |
}, | |
{ | |
"location": "falcons", | |
"opponent": "saints", | |
"type": "home", | |
"week": 17 | |
} | |
], | |
"giants": [ | |
{ | |
"location": "giants", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "cowboys", | |
"opponent": "cowboys", | |
"type": "away", | |
"week": 1 | |
}, | |
{ | |
"location": "giants", | |
"opponent": "falcons", | |
"type": "home", | |
"week": 2 | |
}, | |
{ | |
"location": "giants", | |
"opponent": "redskins", | |
"type": "home", | |
"week": 3 | |
}, | |
{ | |
"location": "bills", | |
"opponent": "bills", | |
"type": "away", | |
"week": 4 | |
}, | |
{ | |
"location": "giants", | |
"opponent": "49ers", | |
"type": "home", | |
"week": 5 | |
}, | |
{ | |
"location": "eagles", | |
"opponent": "eagles", | |
"type": "away", | |
"week": 6 | |
}, | |
{ | |
"location": "giants", | |
"opponent": "cowboys", | |
"type": "home", | |
"week": 7 | |
}, | |
{ | |
"location": "saints", | |
"opponent": "saints", | |
"type": "away", | |
"week": 8 | |
}, | |
{ | |
"location": "buccaneers", | |
"opponent": "buccaneers", | |
"type": "away", | |
"week": 9 | |
}, | |
{ | |
"location": "giants", | |
"opponent": "patriots", | |
"type": "home", | |
"week": 10 | |
}, | |
{ | |
"location": "giants", | |
"type": "bye", | |
"week": 11 | |
}, | |
{ | |
"location": "redskins", | |
"opponent": "redskins", | |
"type": "away", | |
"week": 12 | |
}, | |
{ | |
"location": "giants", | |
"opponent": "jets", | |
"type": "home", | |
"week": 13 | |
}, | |
{ | |
"location": "dolphins", | |
"opponent": "dolphins", | |
"type": "away", | |
"week": 14 | |
}, | |
{ | |
"location": "giants", | |
"opponent": "panthers", | |
"type": "home", | |
"week": 15 | |
}, | |
{ | |
"location": "vikings", | |
"opponent": "vikings", | |
"type": "away", | |
"week": 16 | |
}, | |
{ | |
"location": "giants", | |
"opponent": "eagles", | |
"type": "home", | |
"week": 17 | |
} | |
], | |
"jaguars": [ | |
{ | |
"location": "jaguars", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "jaguars", | |
"opponent": "panthers", | |
"type": "home", | |
"week": 1 | |
}, | |
{ | |
"location": "jaguars", | |
"opponent": "dolphins", | |
"type": "home", | |
"week": 2 | |
}, | |
{ | |
"location": "patriots", | |
"opponent": "patriots", | |
"type": "away", | |
"week": 3 | |
}, | |
{ | |
"location": "colts", | |
"opponent": "colts", | |
"type": "away", | |
"week": 4 | |
}, | |
{ | |
"location": "buccaneers", | |
"opponent": "buccaneers", | |
"type": "away", | |
"week": 5 | |
}, | |
{ | |
"location": "jaguars", | |
"opponent": "texans", | |
"type": "home", | |
"week": 6 | |
}, | |
{ | |
"location": "london", | |
"opponent": "bills", | |
"type": "home", | |
"week": 7 | |
}, | |
{ | |
"location": "jaguars", | |
"type": "bye", | |
"week": 8 | |
}, | |
{ | |
"location": "jets", | |
"opponent": "jets", | |
"type": "away", | |
"week": 9 | |
}, | |
{ | |
"location": "ravens", | |
"opponent": "ravens", | |
"type": "away", | |
"week": 10 | |
}, | |
{ | |
"location": "jaguars", | |
"opponent": "titans", | |
"type": "home", | |
"week": 11 | |
}, | |
{ | |
"location": "jaguars", | |
"opponent": "chargers", | |
"type": "home", | |
"week": 12 | |
}, | |
{ | |
"location": "titans", | |
"opponent": "titans", | |
"type": "away", | |
"week": 13 | |
}, | |
{ | |
"location": "jaguars", | |
"opponent": "colts", | |
"type": "home", | |
"week": 14 | |
}, | |
{ | |
"location": "jaguars", | |
"opponent": "falcons", | |
"type": "home", | |
"week": 15 | |
}, | |
{ | |
"location": "saints", | |
"opponent": "saints", | |
"type": "away", | |
"week": 16 | |
}, | |
{ | |
"location": "texans", | |
"opponent": "texans", | |
"type": "away", | |
"week": 17 | |
} | |
], | |
"jets": [ | |
{ | |
"location": "jets", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "jets", | |
"opponent": "browns", | |
"type": "home", | |
"week": 1 | |
}, | |
{ | |
"location": "colts", | |
"opponent": "colts", | |
"type": "away", | |
"week": 2 | |
}, | |
{ | |
"location": "jets", | |
"opponent": "eagles", | |
"type": "home", | |
"week": 3 | |
}, | |
{ | |
"location": "london", | |
"opponent": "dolphins", | |
"type": "away", | |
"week": 4 | |
}, | |
{ | |
"location": "jets", | |
"type": "bye", | |
"week": 5 | |
}, | |
{ | |
"location": "jets", | |
"opponent": "redskins", | |
"type": "home", | |
"week": 6 | |
}, | |
{ | |
"location": "patriots", | |
"opponent": "patriots", | |
"type": "away", | |
"week": 7 | |
}, | |
{ | |
"location": "raiders", | |
"opponent": "raiders", | |
"type": "away", | |
"week": 8 | |
}, | |
{ | |
"location": "jets", | |
"opponent": "jaguars", | |
"type": "home", | |
"week": 9 | |
}, | |
{ | |
"location": "jets", | |
"opponent": "bills", | |
"type": "home", | |
"week": 10 | |
}, | |
{ | |
"location": "texans", | |
"opponent": "texans", | |
"type": "away", | |
"week": 11 | |
}, | |
{ | |
"location": "jets", | |
"opponent": "dolphins", | |
"type": "home", | |
"week": 12 | |
}, | |
{ | |
"location": "giants", | |
"opponent": "giants", | |
"type": "away", | |
"week": 13 | |
}, | |
{ | |
"location": "jets", | |
"opponent": "titans", | |
"type": "home", | |
"week": 14 | |
}, | |
{ | |
"location": "cowboys", | |
"opponent": "cowboys", | |
"type": "away", | |
"week": 15 | |
}, | |
{ | |
"location": "jets", | |
"opponent": "patriots", | |
"type": "home", | |
"week": 16 | |
}, | |
{ | |
"location": "bills", | |
"opponent": "bills", | |
"type": "away", | |
"week": 17 | |
} | |
], | |
"lions": [ | |
{ | |
"location": "lions", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "chargers", | |
"opponent": "chargers", | |
"type": "away", | |
"week": 1 | |
}, | |
{ | |
"location": "vikings", | |
"opponent": "vikings", | |
"type": "away", | |
"week": 2 | |
}, | |
{ | |
"location": "lions", | |
"opponent": "broncos", | |
"type": "home", | |
"week": 3 | |
}, | |
{ | |
"location": "seahawks", | |
"opponent": "seahawks", | |
"type": "away", | |
"week": 4 | |
}, | |
{ | |
"location": "lions", | |
"opponent": "cardinals", | |
"type": "home", | |
"week": 5 | |
}, | |
{ | |
"location": "lions", | |
"opponent": "bears", | |
"type": "home", | |
"week": 6 | |
}, | |
{ | |
"location": "lions", | |
"opponent": "vikings", | |
"type": "home", | |
"week": 7 | |
}, | |
{ | |
"location": "london", | |
"opponent": "chiefs", | |
"type": "away", | |
"week": 8 | |
}, | |
{ | |
"location": "lions", | |
"type": "bye", | |
"week": 9 | |
}, | |
{ | |
"location": "packers", | |
"opponent": "packers", | |
"type": "away", | |
"week": 10 | |
}, | |
{ | |
"location": "lions", | |
"opponent": "raiders", | |
"type": "home", | |
"week": 11 | |
}, | |
{ | |
"location": "lions", | |
"opponent": "eagles", | |
"type": "home", | |
"week": 12 | |
}, | |
{ | |
"location": "lions", | |
"opponent": "packers", | |
"type": "home", | |
"week": 13 | |
}, | |
{ | |
"location": "rams", | |
"opponent": "rams", | |
"type": "away", | |
"week": 14 | |
}, | |
{ | |
"location": "saints", | |
"opponent": "saints", | |
"type": "away", | |
"week": 15 | |
}, | |
{ | |
"location": "lions", | |
"opponent": "49ers", | |
"type": "home", | |
"week": 16 | |
}, | |
{ | |
"location": "bears", | |
"opponent": "bears", | |
"type": "away", | |
"week": 17 | |
} | |
], | |
"packers": [ | |
{ | |
"location": "packers", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "bears", | |
"opponent": "bears", | |
"type": "away", | |
"week": 1 | |
}, | |
{ | |
"location": "packers", | |
"opponent": "seahawks", | |
"type": "home", | |
"week": 2 | |
}, | |
{ | |
"location": "packers", | |
"opponent": "chiefs", | |
"type": "home", | |
"week": 3 | |
}, | |
{ | |
"location": "49ers", | |
"opponent": "49ers", | |
"type": "away", | |
"week": 4 | |
}, | |
{ | |
"location": "packers", | |
"opponent": "rams", | |
"type": "home", | |
"week": 5 | |
}, | |
{ | |
"location": "packers", | |
"opponent": "chargers", | |
"type": "home", | |
"week": 6 | |
}, | |
{ | |
"location": "packers", | |
"type": "bye", | |
"week": 7 | |
}, | |
{ | |
"location": "broncos", | |
"opponent": "broncos", | |
"type": "away", | |
"week": 8 | |
}, | |
{ | |
"location": "panthers", | |
"opponent": "panthers", | |
"type": "away", | |
"week": 9 | |
}, | |
{ | |
"location": "packers", | |
"opponent": "lions", | |
"type": "home", | |
"week": 10 | |
}, | |
{ | |
"location": "vikings", | |
"opponent": "vikings", | |
"type": "away", | |
"week": 11 | |
}, | |
{ | |
"location": "packers", | |
"opponent": "bears", | |
"type": "home", | |
"week": 12 | |
}, | |
{ | |
"location": "lions", | |
"opponent": "lions", | |
"type": "away", | |
"week": 13 | |
}, | |
{ | |
"location": "packers", | |
"opponent": "cowboys", | |
"type": "home", | |
"week": 14 | |
}, | |
{ | |
"location": "raiders", | |
"opponent": "raiders", | |
"type": "away", | |
"week": 15 | |
}, | |
{ | |
"location": "cardinals", | |
"opponent": "cardinals", | |
"type": "away", | |
"week": 16 | |
}, | |
{ | |
"location": "packers", | |
"opponent": "vikings", | |
"type": "home", | |
"week": 17 | |
} | |
], | |
"panthers": [ | |
{ | |
"location": "panthers", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "jaguars", | |
"opponent": "jaguars", | |
"type": "away", | |
"week": 1 | |
}, | |
{ | |
"location": "panthers", | |
"opponent": "texans", | |
"type": "home", | |
"week": 2 | |
}, | |
{ | |
"location": "panthers", | |
"opponent": "saints", | |
"type": "home", | |
"week": 3 | |
}, | |
{ | |
"location": "buccaneers", | |
"opponent": "buccaneers", | |
"type": "away", | |
"week": 4 | |
}, | |
{ | |
"location": "panthers", | |
"type": "bye", | |
"week": 5 | |
}, | |
{ | |
"location": "seahawks", | |
"opponent": "seahawks", | |
"type": "away", | |
"week": 6 | |
}, | |
{ | |
"location": "panthers", | |
"opponent": "eagles", | |
"type": "home", | |
"week": 7 | |
}, | |
{ | |
"location": "panthers", | |
"opponent": "colts", | |
"type": "home", | |
"week": 8 | |
}, | |
{ | |
"location": "panthers", | |
"opponent": "packers", | |
"type": "home", | |
"week": 9 | |
}, | |
{ | |
"location": "titans", | |
"opponent": "titans", | |
"type": "away", | |
"week": 10 | |
}, | |
{ | |
"location": "panthers", | |
"opponent": "redskins", | |
"type": "home", | |
"week": 11 | |
}, | |
{ | |
"location": "cowboys", | |
"opponent": "cowboys", | |
"type": "away", | |
"week": 12 | |
}, | |
{ | |
"location": "saints", | |
"opponent": "saints", | |
"type": "away", | |
"week": 13 | |
}, | |
{ | |
"location": "panthers", | |
"opponent": "falcons", | |
"type": "home", | |
"week": 14 | |
}, | |
{ | |
"location": "giants", | |
"opponent": "giants", | |
"type": "away", | |
"week": 15 | |
}, | |
{ | |
"location": "falcons", | |
"opponent": "falcons", | |
"type": "away", | |
"week": 16 | |
}, | |
{ | |
"location": "panthers", | |
"opponent": "buccaneers", | |
"type": "home", | |
"week": 17 | |
} | |
], | |
"patriots": [ | |
{ | |
"location": "patriots", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "patriots", | |
"opponent": "steelers", | |
"type": "home", | |
"week": 1 | |
}, | |
{ | |
"location": "bills", | |
"opponent": "bills", | |
"type": "away", | |
"week": 2 | |
}, | |
{ | |
"location": "patriots", | |
"opponent": "jaguars", | |
"type": "home", | |
"week": 3 | |
}, | |
{ | |
"location": "patriots", | |
"type": "bye", | |
"week": 4 | |
}, | |
{ | |
"location": "cowboys", | |
"opponent": "cowboys", | |
"type": "away", | |
"week": 5 | |
}, | |
{ | |
"location": "colts", | |
"opponent": "colts", | |
"type": "away", | |
"week": 6 | |
}, | |
{ | |
"location": "patriots", | |
"opponent": "jets", | |
"type": "home", | |
"week": 7 | |
}, | |
{ | |
"location": "patriots", | |
"opponent": "dolphins", | |
"type": "home", | |
"week": 8 | |
}, | |
{ | |
"location": "patriots", | |
"opponent": "redskins", | |
"type": "home", | |
"week": 9 | |
}, | |
{ | |
"location": "giants", | |
"opponent": "giants", | |
"type": "away", | |
"week": 10 | |
}, | |
{ | |
"location": "patriots", | |
"opponent": "bills", | |
"type": "home", | |
"week": 11 | |
}, | |
{ | |
"location": "broncos", | |
"opponent": "broncos", | |
"type": "away", | |
"week": 12 | |
}, | |
{ | |
"location": "patriots", | |
"opponent": "eagles", | |
"type": "home", | |
"week": 13 | |
}, | |
{ | |
"location": "texans", | |
"opponent": "texans", | |
"type": "away", | |
"week": 14 | |
}, | |
{ | |
"location": "patriots", | |
"opponent": "titans", | |
"type": "home", | |
"week": 15 | |
}, | |
{ | |
"location": "jets", | |
"opponent": "jets", | |
"type": "away", | |
"week": 16 | |
}, | |
{ | |
"location": "dolphins", | |
"opponent": "dolphins", | |
"type": "away", | |
"week": 17 | |
} | |
], | |
"raiders": [ | |
{ | |
"location": "raiders", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "raiders", | |
"opponent": "bengals", | |
"type": "home", | |
"week": 1 | |
}, | |
{ | |
"location": "raiders", | |
"opponent": "ravens", | |
"type": "home", | |
"week": 2 | |
}, | |
{ | |
"location": "browns", | |
"opponent": "browns", | |
"type": "away", | |
"week": 3 | |
}, | |
{ | |
"location": "bears", | |
"opponent": "bears", | |
"type": "away", | |
"week": 4 | |
}, | |
{ | |
"location": "raiders", | |
"opponent": "broncos", | |
"type": "home", | |
"week": 5 | |
}, | |
{ | |
"location": "raiders", | |
"type": "bye", | |
"week": 6 | |
}, | |
{ | |
"location": "chargers", | |
"opponent": "chargers", | |
"type": "away", | |
"week": 7 | |
}, | |
{ | |
"location": "raiders", | |
"opponent": "jets", | |
"type": "home", | |
"week": 8 | |
}, | |
{ | |
"location": "steelers", | |
"opponent": "steelers", | |
"type": "away", | |
"week": 9 | |
}, | |
{ | |
"location": "raiders", | |
"opponent": "vikings", | |
"type": "home", | |
"week": 10 | |
}, | |
{ | |
"location": "lions", | |
"opponent": "lions", | |
"type": "away", | |
"week": 11 | |
}, | |
{ | |
"location": "titans", | |
"opponent": "titans", | |
"type": "away", | |
"week": 12 | |
}, | |
{ | |
"location": "raiders", | |
"opponent": "chiefs", | |
"type": "home", | |
"week": 13 | |
}, | |
{ | |
"location": "broncos", | |
"opponent": "broncos", | |
"type": "away", | |
"week": 14 | |
}, | |
{ | |
"location": "raiders", | |
"opponent": "packers", | |
"type": "home", | |
"week": 15 | |
}, | |
{ | |
"location": "raiders", | |
"opponent": "chargers", | |
"type": "home", | |
"week": 16 | |
}, | |
{ | |
"location": "chiefs", | |
"opponent": "chiefs", | |
"type": "away", | |
"week": 17 | |
} | |
], | |
"rams": [ | |
{ | |
"location": "rams", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "rams", | |
"opponent": "seahawks", | |
"type": "home", | |
"week": 1 | |
}, | |
{ | |
"location": "redskins", | |
"opponent": "redskins", | |
"type": "away", | |
"week": 2 | |
}, | |
{ | |
"location": "rams", | |
"opponent": "steelers", | |
"type": "home", | |
"week": 3 | |
}, | |
{ | |
"location": "cardinals", | |
"opponent": "cardinals", | |
"type": "away", | |
"week": 4 | |
}, | |
{ | |
"location": "packers", | |
"opponent": "packers", | |
"type": "away", | |
"week": 5 | |
}, | |
{ | |
"location": "rams", | |
"type": "bye", | |
"week": 6 | |
}, | |
{ | |
"location": "rams", | |
"opponent": "browns", | |
"type": "home", | |
"week": 7 | |
}, | |
{ | |
"location": "rams", | |
"opponent": "49ers", | |
"type": "home", | |
"week": 8 | |
}, | |
{ | |
"location": "vikings", | |
"opponent": "vikings", | |
"type": "away", | |
"week": 9 | |
}, | |
{ | |
"location": "rams", | |
"opponent": "bears", | |
"type": "home", | |
"week": 10 | |
}, | |
{ | |
"location": "ravens", | |
"opponent": "ravens", | |
"type": "away", | |
"week": 11 | |
}, | |
{ | |
"location": "bengals", | |
"opponent": "bengals", | |
"type": "away", | |
"week": 12 | |
}, | |
{ | |
"location": "rams", | |
"opponent": "cardinals", | |
"type": "home", | |
"week": 13 | |
}, | |
{ | |
"location": "rams", | |
"opponent": "lions", | |
"type": "home", | |
"week": 14 | |
}, | |
{ | |
"location": "rams", | |
"opponent": "buccaneers", | |
"type": "home", | |
"week": 15 | |
}, | |
{ | |
"location": "seahawks", | |
"opponent": "seahawks", | |
"type": "away", | |
"week": 16 | |
}, | |
{ | |
"location": "49ers", | |
"opponent": "49ers", | |
"type": "away", | |
"week": 17 | |
} | |
], | |
"ravens": [ | |
{ | |
"location": "ravens", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "broncos", | |
"opponent": "broncos", | |
"type": "away", | |
"week": 1 | |
}, | |
{ | |
"location": "raiders", | |
"opponent": "raiders", | |
"type": "away", | |
"week": 2 | |
}, | |
{ | |
"location": "ravens", | |
"opponent": "bengals", | |
"type": "home", | |
"week": 3 | |
}, | |
{ | |
"location": "steelers", | |
"opponent": "steelers", | |
"type": "away", | |
"week": 4 | |
}, | |
{ | |
"location": "ravens", | |
"opponent": "browns", | |
"type": "home", | |
"week": 5 | |
}, | |
{ | |
"location": "49ers", | |
"opponent": "49ers", | |
"type": "away", | |
"week": 6 | |
}, | |
{ | |
"location": "cardinals", | |
"opponent": "cardinals", | |
"type": "away", | |
"week": 7 | |
}, | |
{ | |
"location": "ravens", | |
"opponent": "chargers", | |
"type": "home", | |
"week": 8 | |
}, | |
{ | |
"location": "ravens", | |
"type": "bye", | |
"week": 9 | |
}, | |
{ | |
"location": "ravens", | |
"opponent": "jaguars", | |
"type": "home", | |
"week": 10 | |
}, | |
{ | |
"location": "ravens", | |
"opponent": "rams", | |
"type": "home", | |
"week": 11 | |
}, | |
{ | |
"location": "browns", | |
"opponent": "browns", | |
"type": "away", | |
"week": 12 | |
}, | |
{ | |
"location": "dolphins", | |
"opponent": "dolphins", | |
"type": "away", | |
"week": 13 | |
}, | |
{ | |
"location": "ravens", | |
"opponent": "seahawks", | |
"type": "home", | |
"week": 14 | |
}, | |
{ | |
"location": "ravens", | |
"opponent": "chiefs", | |
"type": "home", | |
"week": 15 | |
}, | |
{ | |
"location": "ravens", | |
"opponent": "steelers", | |
"type": "home", | |
"week": 16 | |
}, | |
{ | |
"location": "bengals", | |
"opponent": "bengals", | |
"type": "away", | |
"week": 17 | |
} | |
], | |
"redskins": [ | |
{ | |
"location": "redskins", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "redskins", | |
"opponent": "dolphins", | |
"type": "home", | |
"week": 1 | |
}, | |
{ | |
"location": "redskins", | |
"opponent": "rams", | |
"type": "home", | |
"week": 2 | |
}, | |
{ | |
"location": "giants", | |
"opponent": "giants", | |
"type": "away", | |
"week": 3 | |
}, | |
{ | |
"location": "redskins", | |
"opponent": "eagles", | |
"type": "home", | |
"week": 4 | |
}, | |
{ | |
"location": "falcons", | |
"opponent": "falcons", | |
"type": "away", | |
"week": 5 | |
}, | |
{ | |
"location": "jets", | |
"opponent": "jets", | |
"type": "away", | |
"week": 6 | |
}, | |
{ | |
"location": "redskins", | |
"opponent": "buccaneers", | |
"type": "home", | |
"week": 7 | |
}, | |
{ | |
"location": "redskins", | |
"type": "bye", | |
"week": 8 | |
}, | |
{ | |
"location": "patriots", | |
"opponent": "patriots", | |
"type": "away", | |
"week": 9 | |
}, | |
{ | |
"location": "redskins", | |
"opponent": "saints", | |
"type": "home", | |
"week": 10 | |
}, | |
{ | |
"location": "panthers", | |
"opponent": "panthers", | |
"type": "away", | |
"week": 11 | |
}, | |
{ | |
"location": "redskins", | |
"opponent": "giants", | |
"type": "home", | |
"week": 12 | |
}, | |
{ | |
"location": "redskins", | |
"opponent": "cowboys", | |
"type": "home", | |
"week": 13 | |
}, | |
{ | |
"location": "bears", | |
"opponent": "bears", | |
"type": "away", | |
"week": 14 | |
}, | |
{ | |
"location": "redskins", | |
"opponent": "bills", | |
"type": "home", | |
"week": 15 | |
}, | |
{ | |
"location": "eagles", | |
"opponent": "eagles", | |
"type": "away", | |
"week": 16 | |
}, | |
{ | |
"location": "cowboys", | |
"opponent": "cowboys", | |
"type": "away", | |
"week": 17 | |
} | |
], | |
"saints": [ | |
{ | |
"location": "saints", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "cardinals", | |
"opponent": "cardinals", | |
"type": "away", | |
"week": 1 | |
}, | |
{ | |
"location": "saints", | |
"opponent": "buccaneers", | |
"type": "home", | |
"week": 2 | |
}, | |
{ | |
"location": "panthers", | |
"opponent": "panthers", | |
"type": "away", | |
"week": 3 | |
}, | |
{ | |
"location": "saints", | |
"opponent": "cowboys", | |
"type": "home", | |
"week": 4 | |
}, | |
{ | |
"location": "eagles", | |
"opponent": "eagles", | |
"type": "away", | |
"week": 5 | |
}, | |
{ | |
"location": "saints", | |
"opponent": "falcons", | |
"type": "home", | |
"week": 6 | |
}, | |
{ | |
"location": "colts", | |
"opponent": "colts", | |
"type": "away", | |
"week": 7 | |
}, | |
{ | |
"location": "saints", | |
"opponent": "giants", | |
"type": "home", | |
"week": 8 | |
}, | |
{ | |
"location": "saints", | |
"opponent": "titans", | |
"type": "home", | |
"week": 9 | |
}, | |
{ | |
"location": "redskins", | |
"opponent": "redskins", | |
"type": "away", | |
"week": 10 | |
}, | |
{ | |
"location": "saints", | |
"type": "bye", | |
"week": 11 | |
}, | |
{ | |
"location": "texans", | |
"opponent": "texans", | |
"type": "away", | |
"week": 12 | |
}, | |
{ | |
"location": "saints", | |
"opponent": "panthers", | |
"type": "home", | |
"week": 13 | |
}, | |
{ | |
"location": "buccaneers", | |
"opponent": "buccaneers", | |
"type": "away", | |
"week": 14 | |
}, | |
{ | |
"location": "saints", | |
"opponent": "lions", | |
"type": "home", | |
"week": 15 | |
}, | |
{ | |
"location": "saints", | |
"opponent": "jaguars", | |
"type": "home", | |
"week": 16 | |
}, | |
{ | |
"location": "falcons", | |
"opponent": "falcons", | |
"type": "away", | |
"week": 17 | |
} | |
], | |
"seahawks": [ | |
{ | |
"location": "seahawks", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "rams", | |
"opponent": "rams", | |
"type": "away", | |
"week": 1 | |
}, | |
{ | |
"location": "packers", | |
"opponent": "packers", | |
"type": "away", | |
"week": 2 | |
}, | |
{ | |
"location": "seahawks", | |
"opponent": "bears", | |
"type": "home", | |
"week": 3 | |
}, | |
{ | |
"location": "seahawks", | |
"opponent": "lions", | |
"type": "home", | |
"week": 4 | |
}, | |
{ | |
"location": "bengals", | |
"opponent": "bengals", | |
"type": "away", | |
"week": 5 | |
}, | |
{ | |
"location": "seahawks", | |
"opponent": "panthers", | |
"type": "home", | |
"week": 6 | |
}, | |
{ | |
"location": "49ers", | |
"opponent": "49ers", | |
"type": "away", | |
"week": 7 | |
}, | |
{ | |
"location": "cowboys", | |
"opponent": "cowboys", | |
"type": "away", | |
"week": 8 | |
}, | |
{ | |
"location": "seahawks", | |
"type": "bye", | |
"week": 9 | |
}, | |
{ | |
"location": "seahawks", | |
"opponent": "cardinals", | |
"type": "home", | |
"week": 10 | |
}, | |
{ | |
"location": "seahawks", | |
"opponent": "49ers", | |
"type": "home", | |
"week": 11 | |
}, | |
{ | |
"location": "seahawks", | |
"opponent": "steelers", | |
"type": "home", | |
"week": 12 | |
}, | |
{ | |
"location": "vikings", | |
"opponent": "vikings", | |
"type": "away", | |
"week": 13 | |
}, | |
{ | |
"location": "ravens", | |
"opponent": "ravens", | |
"type": "away", | |
"week": 14 | |
}, | |
{ | |
"location": "seahawks", | |
"opponent": "browns", | |
"type": "home", | |
"week": 15 | |
}, | |
{ | |
"location": "seahawks", | |
"opponent": "rams", | |
"type": "home", | |
"week": 16 | |
}, | |
{ | |
"location": "cardinals", | |
"opponent": "cardinals", | |
"type": "away", | |
"week": 17 | |
} | |
], | |
"steelers": [ | |
{ | |
"location": "steelers", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "patriots", | |
"opponent": "patriots", | |
"type": "away", | |
"week": 1 | |
}, | |
{ | |
"location": "steelers", | |
"opponent": "49ers", | |
"type": "home", | |
"week": 2 | |
}, | |
{ | |
"location": "rams", | |
"opponent": "rams", | |
"type": "away", | |
"week": 3 | |
}, | |
{ | |
"location": "steelers", | |
"opponent": "ravens", | |
"type": "home", | |
"week": 4 | |
}, | |
{ | |
"location": "chargers", | |
"opponent": "chargers", | |
"type": "away", | |
"week": 5 | |
}, | |
{ | |
"location": "steelers", | |
"opponent": "cardinals", | |
"type": "home", | |
"week": 6 | |
}, | |
{ | |
"location": "chiefs", | |
"opponent": "chiefs", | |
"type": "away", | |
"week": 7 | |
}, | |
{ | |
"location": "steelers", | |
"opponent": "bengals", | |
"type": "home", | |
"week": 8 | |
}, | |
{ | |
"location": "steelers", | |
"opponent": "raiders", | |
"type": "home", | |
"week": 9 | |
}, | |
{ | |
"location": "steelers", | |
"opponent": "browns", | |
"type": "home", | |
"week": 10 | |
}, | |
{ | |
"location": "steelers", | |
"type": "bye", | |
"week": 11 | |
}, | |
{ | |
"location": "seahawks", | |
"opponent": "seahawks", | |
"type": "away", | |
"week": 12 | |
}, | |
{ | |
"location": "steelers", | |
"opponent": "colts", | |
"type": "home", | |
"week": 13 | |
}, | |
{ | |
"location": "bengals", | |
"opponent": "bengals", | |
"type": "away", | |
"week": 14 | |
}, | |
{ | |
"location": "steelers", | |
"opponent": "broncos", | |
"type": "home", | |
"week": 15 | |
}, | |
{ | |
"location": "ravens", | |
"opponent": "ravens", | |
"type": "away", | |
"week": 16 | |
}, | |
{ | |
"location": "browns", | |
"opponent": "browns", | |
"type": "away", | |
"week": 17 | |
} | |
], | |
"texans": [ | |
{ | |
"location": "texans", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "texans", | |
"opponent": "chiefs", | |
"type": "home", | |
"week": 1 | |
}, | |
{ | |
"location": "panthers", | |
"opponent": "panthers", | |
"type": "away", | |
"week": 2 | |
}, | |
{ | |
"location": "texans", | |
"opponent": "buccaneers", | |
"type": "home", | |
"week": 3 | |
}, | |
{ | |
"location": "falcons", | |
"opponent": "falcons", | |
"type": "away", | |
"week": 4 | |
}, | |
{ | |
"location": "texans", | |
"opponent": "colts", | |
"type": "home", | |
"week": 5 | |
}, | |
{ | |
"location": "jaguars", | |
"opponent": "jaguars", | |
"type": "away", | |
"week": 6 | |
}, | |
{ | |
"location": "dolphins", | |
"opponent": "dolphins", | |
"type": "away", | |
"week": 7 | |
}, | |
{ | |
"location": "texans", | |
"opponent": "titans", | |
"type": "home", | |
"week": 8 | |
}, | |
{ | |
"location": "texans", | |
"type": "bye", | |
"week": 9 | |
}, | |
{ | |
"location": "bengals", | |
"opponent": "bengals", | |
"type": "away", | |
"week": 10 | |
}, | |
{ | |
"location": "texans", | |
"opponent": "jets", | |
"type": "home", | |
"week": 11 | |
}, | |
{ | |
"location": "texans", | |
"opponent": "saints", | |
"type": "home", | |
"week": 12 | |
}, | |
{ | |
"location": "bills", | |
"opponent": "bills", | |
"type": "away", | |
"week": 13 | |
}, | |
{ | |
"location": "texans", | |
"opponent": "patriots", | |
"type": "home", | |
"week": 14 | |
}, | |
{ | |
"location": "colts", | |
"opponent": "colts", | |
"type": "away", | |
"week": 15 | |
}, | |
{ | |
"location": "titans", | |
"opponent": "titans", | |
"type": "away", | |
"week": 16 | |
}, | |
{ | |
"location": "texans", | |
"opponent": "jaguars", | |
"type": "home", | |
"week": 17 | |
} | |
], | |
"titans": [ | |
{ | |
"location": "titans", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "buccaneers", | |
"opponent": "buccaneers", | |
"type": "away", | |
"week": 1 | |
}, | |
{ | |
"location": "browns", | |
"opponent": "browns", | |
"type": "away", | |
"week": 2 | |
}, | |
{ | |
"location": "titans", | |
"opponent": "colts", | |
"type": "home", | |
"week": 3 | |
}, | |
{ | |
"location": "titans", | |
"type": "bye", | |
"week": 4 | |
}, | |
{ | |
"location": "titans", | |
"opponent": "bills", | |
"type": "home", | |
"week": 5 | |
}, | |
{ | |
"location": "titans", | |
"opponent": "dolphins", | |
"type": "home", | |
"week": 6 | |
}, | |
{ | |
"location": "titans", | |
"opponent": "falcons", | |
"type": "home", | |
"week": 7 | |
}, | |
{ | |
"location": "texans", | |
"opponent": "texans", | |
"type": "away", | |
"week": 8 | |
}, | |
{ | |
"location": "saints", | |
"opponent": "saints", | |
"type": "away", | |
"week": 9 | |
}, | |
{ | |
"location": "titans", | |
"opponent": "panthers", | |
"type": "home", | |
"week": 10 | |
}, | |
{ | |
"location": "jaguars", | |
"opponent": "jaguars", | |
"type": "away", | |
"week": 11 | |
}, | |
{ | |
"location": "titans", | |
"opponent": "raiders", | |
"type": "home", | |
"week": 12 | |
}, | |
{ | |
"location": "titans", | |
"opponent": "jaguars", | |
"type": "home", | |
"week": 13 | |
}, | |
{ | |
"location": "jets", | |
"opponent": "jets", | |
"type": "away", | |
"week": 14 | |
}, | |
{ | |
"location": "patriots", | |
"opponent": "patriots", | |
"type": "away", | |
"week": 15 | |
}, | |
{ | |
"location": "titans", | |
"opponent": "texans", | |
"type": "home", | |
"week": 16 | |
}, | |
{ | |
"location": "colts", | |
"opponent": "colts", | |
"type": "away", | |
"week": 17 | |
} | |
], | |
"vikings": [ | |
{ | |
"location": "vikings", | |
"type": "home", | |
"week": 0 | |
}, | |
{ | |
"location": "49ers", | |
"opponent": "49ers", | |
"type": "away", | |
"week": 1 | |
}, | |
{ | |
"location": "vikings", | |
"opponent": "lions", | |
"type": "home", | |
"week": 2 | |
}, | |
{ | |
"location": "vikings", | |
"opponent": "chargers", | |
"type": "home", | |
"week": 3 | |
}, | |
{ | |
"location": "broncos", | |
"opponent": "broncos", | |
"type": "away", | |
"week": 4 | |
}, | |
{ | |
"location": "vikings", | |
"type": "bye", | |
"week": 5 | |
}, | |
{ | |
"location": "vikings", | |
"opponent": "chiefs", | |
"type": "home", | |
"week": 6 | |
}, | |
{ | |
"location": "lions", | |
"opponent": "lions", | |
"type": "away", | |
"week": 7 | |
}, | |
{ | |
"location": "bears", | |
"opponent": "bears", | |
"type": "away", | |
"week": 8 | |
}, | |
{ | |
"location": "vikings", | |
"opponent": "rams", | |
"type": "home", | |
"week": 9 | |
}, | |
{ | |
"location": "raiders", | |
"opponent": "raiders", | |
"type": "away", | |
"week": 10 | |
}, | |
{ | |
"location": "vikings", | |
"opponent": "packers", | |
"type": "home", | |
"week": 11 | |
}, | |
{ | |
"location": "falcons", | |
"opponent": "falcons", | |
"type": "away", | |
"week": 12 | |
}, | |
{ | |
"location": "vikings", | |
"opponent": "seahawks", | |
"type": "home", | |
"week": 13 | |
}, | |
{ | |
"location": "cardinals", | |
"opponent": "cardinals", | |
"type": "away", | |
"week": 14 | |
}, | |
{ | |
"location": "vikings", | |
"opponent": "bears", | |
"type": "home", | |
"week": 15 | |
}, | |
{ | |
"location": "vikings", | |
"opponent": "giants", | |
"type": "home", | |
"week": 16 | |
}, | |
{ | |
"location": "packers", | |
"opponent": "packers", | |
"type": "away", | |
"week": 17 | |
} | |
] | |
} |
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> | |
<title>Animated 2015 NFL Schedule</title> | |
<link href='http://fonts.googleapis.com/css?family=Josefin+Sans' rel='stylesheet' type='text/css'> | |
<style type="text/css"> | |
body{ | |
font-family: "Josefin Sans"; | |
} | |
.controls > *{ | |
margin-right: 25px; | |
} | |
.state path{ | |
fill: #efefef; | |
stroke: #ccc; | |
stroke-width: 1px; | |
} | |
</style> | |
</head> | |
<body> | |
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> | |
<script src="http://d3js.org/topojson.v1.min.js"></script> | |
<script src="http://d3js.org/queue.v1.min.js"></script> | |
<script src="lower48.js" type="text/javascript"></script> | |
<script src="team-schedule.js" type="text/javascript"></script> | |
</body> | |
</html> |
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
/* | |
* Draw a map of the continental United States | |
*/ | |
function usmap(map){ | |
var width = 960; | |
var height = 600; | |
var margin = { | |
top: 75, | |
right: 75, | |
bottom: 75, | |
left: 75 | |
}; | |
var scale = 1200; | |
var svg; | |
var projection = d3.geo.albersUsa() | |
.scale(scale) | |
.translate([width / 2, height / 2]); | |
var path = d3.geo.path() | |
.projection(projection); | |
var stateData = topojson.feature(map, map.objects.states).features; | |
function mapper(holder){ | |
svg = d3.select(holder).append("svg") | |
.attr("width", width + margin.left + margin.right) | |
.attr("height", height + margin.top + margin.bottom) | |
.append("g") | |
.attr("transform", "translate(" + margin.left + "," + margin.top + ")"); | |
projection = projection | |
.scale(scale) | |
.translate([width / 2, height / 2]); | |
path = path.projection(projection); | |
var states = svg.append("g") | |
.classed("country", true) | |
.selectAll("g.state") | |
.data(stateData) | |
.enter().append("g") | |
.classed("state", true) | |
.append("path") | |
.classed("outline", true) | |
.attr("d", path); | |
} | |
/* | |
* setters/getters | |
*/ | |
mapper.width = function(w){ | |
if ( !arguments.length ) { | |
return width; | |
} | |
width = w; | |
return mapper; | |
}; | |
mapper.height = function(h){ | |
if ( !arguments.length ) { | |
return height; | |
} | |
height = h; | |
return mapper; | |
}; | |
mapper.margin = function(m){ | |
if ( !arguments.length ) { | |
return margin; | |
} | |
// make sure that margin has all of the required properties | |
var legit = ["top", "right", "bottom", "left"].every(function(d){ | |
return d in m; | |
}) | |
if ( !legit ) { | |
return; | |
} | |
margin = m; | |
return mapper; | |
}; | |
mapper.scale = function(s){ | |
if ( !arguments.length ) { | |
return scale; | |
} | |
scale = s; | |
return mapper; | |
}; | |
/* | |
* getters | |
*/ | |
mapper.svg = function(){ | |
return svg; | |
}; | |
mapper.projection = function(){ | |
return projection; | |
}; | |
return mapper; | |
} |
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
var map; | |
var svg; | |
var proj; | |
queue() | |
.defer(d3.json, "lower48.json") | |
.defer(d3.json, "teams.json") | |
.defer(d3.json, "games-2015.json") | |
.await(function(error, states, teams, games){ | |
if ( error ) { | |
console.log(error); | |
return; | |
} | |
var teamNames = Object.keys(teams).sort(); | |
var width = 800; | |
var height = 500; | |
var scale = 1200; | |
var radius = 8; | |
// 0-17, 0 meaning the offseason | |
var week = 1; | |
var currentTeam = undefined; | |
var intervalTime = 2500; | |
var scheduleHolder = d3.select("body").append("div") | |
.attr("id", "scheduleHolder"); | |
/* | |
* CONTROLS | |
*/ | |
var controls = scheduleHolder.append("div") | |
.classed({"controls": true}); | |
var select = controls.append("select") | |
.on("change", selectTeamEvent); | |
select.selectAll("option") | |
.data(["all"].concat(teamNames)) | |
.enter().append("option") | |
.text(function(d){ return capitalize(d); }) | |
.attr("value", function(d){ return d; }); | |
function selectTeamEvent(){ | |
currentTeam = select.property("value"); | |
if ( currentTeam === "all" ) { | |
currentTeam = undefined; | |
} | |
week = 0; | |
} | |
var paused = false; | |
var pauseButton = controls.append("button") | |
.text(function(){ return paused ? "Play" : "Pause"; }) | |
.on("click", function(){ | |
paused = !paused; | |
if ( paused ) { | |
clearInterval(animation); | |
} else { | |
animation = animate(); | |
} | |
this.textContent = paused ? "Play" : "Pause"; | |
}) | |
// update the map every "intervalTime" milliseconds | |
function animate(){ | |
return setInterval(function(){ | |
update(week, currentTeam); | |
week = (week+1)%18; | |
}, intervalTime); | |
} | |
var animation = animate(); | |
/* | |
* Continental US Map | |
*/ | |
map = usmap(states) | |
.width(width) | |
.height(height) | |
.scale(scale); | |
map("#scheduleHolder"); | |
svg = map.svg(); | |
proj = map.projection(); | |
// cache projection coordinates (needs projection from the map) | |
var stadiums = {}; | |
for ( var name in teams ) { | |
stadiums[name] = proj([teams[name].coords.long, teams[name].coords.lat]); | |
} | |
// stick london off to the east | |
stadiums["london"] = [width+50, height/2]; | |
/* | |
* SVG | |
*/ | |
var nfl = svg.append("g") | |
.classed({"nfl": true}); | |
var teamLines = nfl.selectAll("line.trip") | |
.data(teamNames) | |
.enter().append("line") | |
.classed({"trip": true}) | |
.attr("x1", function(d){ | |
return stadiums[d][0]; | |
}) | |
.attr("x2", function(d){ | |
return stadiums[d][0]; | |
}) | |
.attr("y1", function(d){ | |
return stadiums[d][1]; | |
}) | |
.attr("y2", function(d){ | |
return stadiums[d][1]; | |
}) | |
.style("stroke", function(d){ | |
return teams[d].colors.secondary; | |
}) | |
.style("stroke-width", 1) | |
.style("stroke-dasharray", "5,5"); | |
var teamCircles = nfl.selectAll("circle.team") | |
.data(teamNames) | |
.enter().append("circle") | |
.classed({"team": true}) | |
.attr("transform", function(d){ | |
var coords = stadiums[d]; | |
return "translate(" + coords[0] + "," + coords[1] + ")"; | |
}) | |
.attr("r", radius) | |
.style("fill", function(d){ | |
return teams[d].colors.primary; | |
}) | |
.style("stroke", function(d){ | |
return teams[d].colors.secondary; | |
}) | |
.style("stroke-width", 2); | |
var weekText = svg.append("g") | |
.attr("transform", function(){ | |
return "translate(400, 0)"; | |
}) | |
.append("text") | |
.text("Offseason") | |
.style("font-size", "36px") | |
.style("text-anchor", "middle"); | |
function update(week, team){ | |
var duration = 1000; | |
teamCircles.transition() | |
.duration(duration) | |
.ease("in-out") | |
.attr("transform", function(d){ | |
var game = games[d][week]; | |
// only animate specified team and its opponent | |
if ( team && d !== team && game.opponent !== team ) { | |
return "translate(" + stadiums[d][0] + "," + stadiums[d][1] + ")"; | |
} | |
var long = stadiums[game.location][0] - (game.type === "away" ? 17 : 0) | |
var lat = stadiums[game.location][1]; | |
return "translate(" + long + "," + lat + ")"; | |
}) | |
.attr("r", function(d){ | |
var game = games[d][week]; | |
// only animate specified team and its opponent | |
if ( team && d !== team && game.opponent !== team ) { | |
return 3; | |
} | |
return radius; | |
}); | |
teamLines.transition() | |
.duration(duration) | |
.ease("in-out") | |
.attr("x2", function(d){ | |
var game = games[d][week]; | |
if ( team && d !== team && game.opponent !== team ) { | |
return stadiums[d][0]; | |
} | |
// prevent overlap for circles of teams playing each other | |
return stadiums[game.location][0] - (game.type === "away" ? 17 : 0); | |
}) | |
.attr("y2", function(d){ | |
var game = games[d][week]; | |
if ( team && d !== team && game.opponent !== team ) { | |
return stadiums[d][1]; | |
} | |
return stadiums[games[d][week].location][1]; | |
}) | |
weekText.text(function(){ | |
if ( week === 0 ){ | |
return "Offseason"; | |
} | |
if ( currentTeam ) { | |
var game = games[currentTeam][week]; | |
if ( game.type === "bye"){ | |
return "Week " + week + ": Bye"; | |
} else { | |
var type = game.type === "home" ? "vs." : "@"; | |
var info = "Week " + week + ": " + type + " " + capitalize(game.opponent); | |
if ( game.location === "london" ) { | |
info += " in London"; | |
} | |
return info; | |
} | |
} else { | |
return "Week " + week; | |
} | |
}); | |
} | |
}); | |
function capitalize(str){ | |
return str.charAt(0).toUpperCase() + str.substr(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
{ | |
"raiders": { | |
"coords": { | |
"long": -122.2, | |
"lat": 37.9 | |
}, | |
"colors": { | |
"primary": "#C4C8CB", | |
"secondary": "#000000" | |
} | |
}, | |
"lions": { | |
"coords": { | |
"long": -83.03, | |
"lat": 42.33 | |
}, | |
"colors": { | |
"primary": "#C5C7CF", | |
"secondary": "#006DB0" | |
} | |
}, | |
"saints": { | |
"coords": { | |
"long": -90.07, | |
"lat": 29.95 | |
}, | |
"colors": { | |
"primary": "#D2B887", | |
"secondary": "#000000" | |
} | |
}, | |
"bills": { | |
"coords": { | |
"long": -78.78, | |
"lat": 42.77 | |
}, | |
"colors": { | |
"primary": "#00338D", | |
"secondary": "#C60C30" | |
} | |
}, | |
"buccaneers": { | |
"coords": { | |
"long": -82.5, | |
"lat": 27.97 | |
}, | |
"colors": { | |
"primary": "#D60A0B", | |
"secondary": "#89765F" | |
} | |
}, | |
"chargers": { | |
"coords": { | |
"long": -117.12, | |
"lat": 32.77 | |
}, | |
"colors": { | |
"primary": "#08214A", | |
"secondary": "#EEC607" | |
} | |
}, | |
"redskins": { | |
"coords": { | |
"long": -76.85, | |
"lat": 38.4 | |
}, | |
"colors": { | |
"primary": "#773141", | |
"secondary": "#FFB612" | |
} | |
}, | |
"broncos": { | |
"coords": { | |
"long": -105.02, | |
"lat": 39.73 | |
}, | |
"colors": { | |
"primary": "#FB4F14", | |
"secondary": "#002244" | |
} | |
}, | |
"steelers": { | |
"coords": { | |
"long": -80.0, | |
"lat": 40.43 | |
}, | |
"colors": { | |
"primary": "#000000", | |
"secondary": "#F2C800" | |
} | |
}, | |
"patriots": { | |
"coords": { | |
"long": -71.25, | |
"lat": 42.08 | |
}, | |
"colors": { | |
"primary": "#0D254C", | |
"secondary": "#C80815" | |
} | |
}, | |
"dolphins": { | |
"coords": { | |
"long": -80.23, | |
"lat": 25.95 | |
}, | |
"colors": { | |
"primary": "#008D97", | |
"secondary": "#F5811F" | |
} | |
}, | |
"falcons": { | |
"coords": { | |
"long": -84.4, | |
"lat": 33.75 | |
}, | |
"colors": { | |
"primary": "#BD0D18", | |
"secondary": "#000000" | |
} | |
}, | |
"cowboys": { | |
"coords": { | |
"long": -97.08, | |
"lat": 32.73 | |
}, | |
"colors": { | |
"primary": "#002244", | |
"secondary": "#8C8B8A" | |
} | |
}, | |
"packers": { | |
"coords": { | |
"long": -88.05, | |
"lat": 44.5 | |
}, | |
"colors": { | |
"primary": "#213D30", | |
"secondary": "#FFCC00" | |
} | |
}, | |
"jaguars": { | |
"coords": { | |
"long": -81.63, | |
"lat": 30.32 | |
}, | |
"colors": { | |
"primary": "#000000", | |
"secondary": "#D0B239" | |
} | |
}, | |
"jets": { | |
"coords": { | |
"long": -74.07, | |
"lat": 41.5 | |
}, | |
"colors": { | |
"primary": "#FFFFFF", | |
"secondary": "#0C371D" | |
} | |
}, | |
"rams": { | |
"coords": { | |
"long": -90.19, | |
"lat": 38.62 | |
}, | |
"colors": { | |
"primary": "#13264B", | |
"secondary": "#C9AF74" | |
} | |
}, | |
"49ers": { | |
"coords": { | |
"long": -121.97, | |
"lat": 37.1 | |
}, | |
"colors": { | |
"primary": "#AF1E2C", | |
"secondary": "#E6BE8A" | |
} | |
}, | |
"eagles": { | |
"coords": { | |
"long": -75.17, | |
"lat": 39.9 | |
}, | |
"colors": { | |
"primary": "#003B48", | |
"secondary": "#000000" | |
} | |
}, | |
"bengals": { | |
"coords": { | |
"long": -84.5, | |
"lat": 39.08 | |
}, | |
"colors": { | |
"primary": "#000000", | |
"secondary": "#FB4F14" | |
} | |
}, | |
"vikings": { | |
"coords": { | |
"long": -93.22, | |
"lat": 44.97 | |
}, | |
"colors": { | |
"primary": "#4F2682", | |
"secondary": "#FFC52F" | |
} | |
}, | |
"panthers": { | |
"coords": { | |
"long": -80.85, | |
"lat": 35.22 | |
}, | |
"colors": { | |
"primary": "#000000", | |
"secondary": "#0088CE" | |
} | |
}, | |
"ravens": { | |
"coords": { | |
"long": -76.62, | |
"lat": 39.27 | |
}, | |
"colors": { | |
"primary": "#280353", | |
"secondary": "#000000" | |
} | |
}, | |
"texans": { | |
"coords": { | |
"long": -95.4, | |
"lat": 29.68 | |
}, | |
"colors": { | |
"primary": "#02253A", | |
"secondary": "#B31B34" | |
} | |
}, | |
"giants": { | |
"coords": { | |
"long": -74.07, | |
"lat": 40.7 | |
}, | |
"colors": { | |
"primary": "#192F6B", | |
"secondary": "#CA001A" | |
} | |
}, | |
"bears": { | |
"coords": { | |
"long": -87.62, | |
"lat": 41.85 | |
}, | |
"colors": { | |
"primary": "#03202F", | |
"secondary": "#DD4814" | |
} | |
}, | |
"browns": { | |
"coords": { | |
"long": -81.68, | |
"lat": 41.5 | |
}, | |
"colors": { | |
"primary": "#26201E", | |
"secondary": "#E34912" | |
} | |
}, | |
"colts": { | |
"coords": { | |
"long": -86.15, | |
"lat": 39.75 | |
}, | |
"colors": { | |
"primary": "#FFFFFF", | |
"secondary": "#003B7B" | |
} | |
}, | |
"seahawks": { | |
"coords": { | |
"long": -122.32, | |
"lat": 47.58 | |
}, | |
"colors": { | |
"primary": "#06192E", | |
"secondary": "#4EAE47" | |
} | |
}, | |
"chiefs": { | |
"coords": { | |
"long": -94.48, | |
"lat": 39.03 | |
}, | |
"colors": { | |
"primary": "#B20032", | |
"secondary": "#F2C800" | |
} | |
}, | |
"titans": { | |
"coords": { | |
"long": -86.77, | |
"lat": 36.15 | |
}, | |
"colors": { | |
"primary": "#648FCC", | |
"secondary": "#000080" | |
} | |
}, | |
"cardinals": { | |
"coords": { | |
"long": -112.25, | |
"lat": 33.52 | |
}, | |
"colors": { | |
"primary": "#870619", | |
"secondary": "#000000" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment