{ "cells": [ { "cell_type": "markdown", "metadata": { "nbpresent": { "id": "49ce477f-0974-4a65-9ba9-617b100c1f58" } }, "source": [ "# Programming Practice using The Blue Alliance API\n", "I don't have spell check at the moment so bear with me.\n", "\n", "## Getting an api key\n", "Make an account on thebluealliance.com. Go to your \"account dashboard\". Scroll down to \"Read API Keys\". Type something into the description box like \"programming-training\" and click \"Add new key\". Copy the big long string you get and keep this secret. \n", "\n", "## Setting up your computer\n", "Instructions for installing python will depend on your operating system. Follow the section that matches yours. If you run into any trouble, ask for help.\n", "\n", "### Windows\n", "Go to python.org, download the executable installer for python3.6, and install it on your computer. *Make sure to check the box that says \"install python to your path\"*.\n", "\n", "Install the tba package for python: `python.exe -m pip install tbapy`\n", "\n", "### Mac OS\n", "If you haven't already, install homebrew: https://brew.sh/\n", "\n", "Use brew to install Python3: `brew install python3`\n", "\n", "Tell MacOS that you installed this cool new program: `brew linkapps python3`\n", "\n", "Use python3 to install the blue alliance package: `python3 -m pip install tbapy`\n", "\n", "### Debian-derived linux (debian, ubuntu, elementalOS, etc)\n", "Install python3 and idle: `sudo apt-get install python3`\n", "\n", "Use python3 to install the blue allinace package: `python3 -m pip install tbapy`\n", "\n", "## Test if it works\n", "Run the program called idle\n", "\n", "Type in `import tbapy`\n", "\n", "If you get no output, this is good news! (no news is good news). If you get an error, ask someone for help.\n", "\n", "To start a new project, click File > new file. The window that pops up is a nice editor for python files. To run the files, type F5 or click Run > Run Module." ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "collapsed": false, "nbpresent": { "id": "ad774cd8-7a87-4b44-94d5-483411ef6a93" } }, "outputs": [], "source": [ "\"\"\"\n", "Have you seen the tripple-quotes before? This is a multi-line string. It's\n", "pretty common to use them for comments. Copy the following lines of code into\n", "your text editor, then check that it runs.\n", "\"\"\"\n", "\n", "import tbapy\n", "\n", "api_key = \"YOUR API KEY HERE\"\n", "\n", "tba = tbapy.TBA(api_key)" ] }, { "cell_type": "code", "execution_count": 24, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Loaded secret solutions successfully\n" ] } ], "source": [ "# Don't copy this cell\n", "%run tba_solutions.py" ] }, { "cell_type": "code", "execution_count": 4, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Status({'backup': {}, 'contbuild_enabled': True, 'max_season': 2018, 'down_events': [], 'is_datafeed_down': False, 'android': {'latest_app_version': 4020399, 'min_app_version': -1}, 'current_season': 2017, 'ios': {'latest_app_version': -1, 'min_app_version': -1}})\n" ] } ], "source": [ "\"\"\"\n", "Let's make our first call into the tba module!\n", "\"\"\"\n", "\n", "print(tba.status())" ] }, { "cell_type": "code", "execution_count": 5, "metadata": { "collapsed": false, "nbpresent": { "id": "87d41d11-9214-426c-9e84-6cec81e3f6a8" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "{'android': {'latest_app_version': 4020399, 'min_app_version': -1},\n", " 'backup': {},\n", " 'contbuild_enabled': True,\n", " 'current_season': 2017,\n", " 'down_events': [],\n", " 'ios': {'latest_app_version': -1, 'min_app_version': -1},\n", " 'is_datafeed_down': False,\n", " 'json': {'android': {'latest_app_version': 4020399, 'min_app_version': -1},\n", " 'backup': {},\n", " 'contbuild_enabled': True,\n", " 'current_season': 2017,\n", " 'down_events': [],\n", " 'ios': {'latest_app_version': -1, 'min_app_version': -1},\n", " 'is_datafeed_down': False,\n", " 'max_season': 2018},\n", " 'max_season': 2018}\n", "'Much better!'\n" ] } ], "source": [ "\"\"\"\n", "If you got output that looks kinda like that, then it's probably working. It's\n", "a little ugly, though. Here's a cool truck for making it easier to read:\n", "\"\"\"\n", "\n", "import pprint\n", "pp = pprint.PrettyPrinter()\n", "\n", "pp.pprint(tba.status())\n", "pp.pprint(\"Much better!\")" ] }, { "cell_type": "code", "execution_count": 5, "metadata": { "collapsed": false, "nbpresent": { "id": "49e5bb5a-7d8a-4e3e-ae1b-121c281b212a" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "{'address': None,\n", " 'city': 'Atascadero',\n", " 'country': 'USA',\n", " 'gmaps_place_id': None,\n", " 'gmaps_url': None,\n", " 'home_championship': {'2017': 'Houston', '2018': 'Houston'},\n", " 'json': {'address': None,\n", " 'city': 'Atascadero',\n", " 'country': 'USA',\n", " 'gmaps_place_id': None,\n", " 'gmaps_url': None,\n", " 'home_championship': {'2017': 'Houston', '2018': 'Houston'},\n", " 'key': 'frc973',\n", " 'lat': None,\n", " 'lng': None,\n", " 'location_name': None,\n", " 'motto': 'DESIGN,BUILD,COMPETE',\n", " 'name': 'Apple/Centers for Applied Competitive Technologies, College '\n", " 'of the Canyon/IQMS/JLP Enterprises LLC/Janssen Youth and '\n", " 'Youth Sports Fund/Pacific Gas & Electric/Atascadero AAUW, '\n", " 'Inc./Oak Country Lumber & Ranch/Cal Poly San Luis '\n", " 'Obispo/SuperCharged Science/Google&Atascadero '\n", " 'High&Atascadero Education Foundation, Inc.',\n", " 'nickname': 'Greybots',\n", " 'postal_code': '93422',\n", " 'rookie_year': 2002,\n", " 'state_prov': 'California',\n", " 'team_number': 973,\n", " 'website': 'http://www.greybots.com'},\n", " 'key': 'frc973',\n", " 'lat': None,\n", " 'lng': None,\n", " 'location_name': None,\n", " 'motto': 'DESIGN,BUILD,COMPETE',\n", " 'name': 'Apple/Centers for Applied Competitive Technologies, College of the '\n", " 'Canyon/IQMS/JLP Enterprises LLC/Janssen Youth and Youth Sports '\n", " 'Fund/Pacific Gas & Electric/Atascadero AAUW, Inc./Oak Country Lumber '\n", " '& Ranch/Cal Poly San Luis Obispo/SuperCharged '\n", " 'Science/Google&Atascadero High&Atascadero Education Foundation, Inc.',\n", " 'nickname': 'Greybots',\n", " 'postal_code': '93422',\n", " 'rookie_year': 2002,\n", " 'state_prov': 'California',\n", " 'team_number': 973,\n", " 'website': 'http://www.greybots.com'}\n" ] } ], "source": [ "\"\"\"\n", "Take a look at the output of tba.status(). What type is it? What type are each\n", "of the fields? What type are all the fields of all the fields?\n", "\n", "Let's try a different function call. Check out the output of the following command:\n", "\"\"\"\n", "\n", "pp.pprint(tba.team(\"frc973\"))" ] }, { "cell_type": "code", "execution_count": 6, "metadata": { "collapsed": false, "nbpresent": { "id": "8904ca6a-bc26-47b5-af1d-bed60dca60f6" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "{'address': None,\n", " 'city': 'Hell',\n", " 'country': 'USA',\n", " 'gmaps_place_id': None,\n", " 'gmaps_url': None,\n", " 'home_championship': {'2017': 'St. Louis', '2018': 'Detroit'},\n", " 'json': {'address': None,\n", " 'city': 'Hell',\n", " 'country': 'USA',\n", " 'gmaps_place_id': None,\n", " 'gmaps_url': None,\n", " 'home_championship': {'2017': 'St. Louis', '2018': 'Detroit'},\n", " 'key': 'frc666',\n", " 'lat': None,\n", " 'lng': None,\n", " 'location_name': None,\n", " 'motto': None,\n", " 'name': 'The TorMentors',\n", " 'nickname': 'The TorMentors',\n", " 'postal_code': None,\n", " 'rookie_year': 2008,\n", " 'state_prov': 'CT',\n", " 'team_number': 666,\n", " 'website': None},\n", " 'key': 'frc666',\n", " 'lat': None,\n", " 'lng': None,\n", " 'location_name': None,\n", " 'motto': None,\n", " 'name': 'The TorMentors',\n", " 'nickname': 'The TorMentors',\n", " 'postal_code': None,\n", " 'rookie_year': 2008,\n", " 'state_prov': 'CT',\n", " 'team_number': 666,\n", " 'website': None}\n" ] } ], "source": [ "\"\"\"\n", "That's a huge dictionary! How many keys are there? \n", "\n", "On your own machines, try looking for your favorite teams. Don't\n", "have a favorite team yet? Take a look at some of my favorites:\n", "1678, 254, 492, 2046, 971.\n", "\"\"\"\n", "pp.pprint(tba.team(\"frc666\"))" ] }, { "cell_type": "code", "execution_count": 7, "metadata": { "collapsed": false, "nbpresent": { "id": "40e4223f-d1f7-49c5-8dfc-3594a36b1c26" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Atascadero\n", "Bellevue\n", "Davis\n" ] } ], "source": [ "\"\"\"\n", "Write a function called `where_is` that takes in a team name (for \n", "example \"frc360\", \"frc399\") and returns the name of the city that\n", "the team is from. Here's some examples of how I want it to work;\n", "you can use these examples to test your function.\n", "\"\"\"\n", "\n", "print(where_is(\"frc973\"))\n", "print(where_is(\"frc492\"))\n", "print(where_is(\"frc1678\"))" ] }, { "cell_type": "code", "execution_count": 8, "metadata": { "collapsed": false, "nbpresent": { "id": "8fdefde8-8b7a-433c-8e63-6f82a2dfb6c6" }, "scrolled": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[{'address': '15871 Springdale St, Huntington Beach, CA 92649, USA',\n", " 'city': 'Huntington Beach',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-10-08',\n", " 'event_code': 'cabl',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJcbt7U-cl3YARqMpik6hHr5s',\n", " 'gmaps_url': 'https://maps.google.com/?cid=11218263986155997864',\n", " 'json': {'address': '15871 Springdale St, Huntington Beach, CA 92649, USA',\n", " 'city': 'Huntington Beach',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-10-08',\n", " 'event_code': 'cabl',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJcbt7U-cl3YARqMpik6hHr5s',\n", " 'gmaps_url': 'https://maps.google.com/?cid=11218263986155997864',\n", " 'key': '2017cabl',\n", " 'lat': 33.7315081,\n", " 'lng': -118.0271876,\n", " 'location_name': 'Marina High School',\n", " 'name': 'Beach Blitz',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '92649',\n", " 'short_name': 'Beach Blitz',\n", " 'start_date': '2017-10-07',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'robosportsnetwork', 'type': 'twitch'}],\n", " 'website': 'http://beachblitz.ocra.io',\n", " 'week': None,\n", " 'year': 2017},\n", " 'key': '2017cabl',\n", " 'lat': 33.7315081,\n", " 'lng': -118.0271876,\n", " 'location_name': 'Marina High School',\n", " 'name': 'Beach Blitz',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '92649',\n", " 'short_name': 'Beach Blitz',\n", " 'start_date': '2017-10-07',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'robosportsnetwork', 'type': 'twitch'}],\n", " 'website': 'http://beachblitz.ocra.io',\n", " 'week': None,\n", " 'year': 2017},\n", " {'address': None,\n", " 'city': 'Elk Grove',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-10-29',\n", " 'event_code': 'cacc',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': None,\n", " 'gmaps_url': None,\n", " 'json': {'address': None,\n", " 'city': 'Elk Grove',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-10-29',\n", " 'event_code': 'cacc',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': None,\n", " 'gmaps_url': None,\n", " 'key': '2017cacc',\n", " 'lat': None,\n", " 'lng': None,\n", " 'location_name': None,\n", " 'name': 'Capital City Classic',\n", " 'parent_event_key': None,\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': None,\n", " 'short_name': 'Capital City Classic',\n", " 'start_date': '2017-10-28',\n", " 'state_prov': 'CA',\n", " 'timezone': None,\n", " 'webcasts': [],\n", " 'website': 'http://www.wolfpackrobotics.org/capitalcityclassic/',\n", " 'week': None,\n", " 'year': 2017},\n", " 'key': '2017cacc',\n", " 'lat': None,\n", " 'lng': None,\n", " 'location_name': None,\n", " 'name': 'Capital City Classic',\n", " 'parent_event_key': None,\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': None,\n", " 'short_name': 'Capital City Classic',\n", " 'start_date': '2017-10-28',\n", " 'state_prov': 'CA',\n", " 'timezone': None,\n", " 'webcasts': [],\n", " 'website': 'http://www.wolfpackrobotics.org/capitalcityclassic/',\n", " 'week': None,\n", " 'year': 2017},\n", " {'address': 'Davis, CA 95616, USA',\n", " 'city': 'Davis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-03-25',\n", " 'event_code': 'cada',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '22521',\n", " 'gmaps_place_id': 'ChIJJZCDygAphYAR99rkDPNfqgY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=480301807766395639',\n", " 'json': {'address': 'Davis, CA 95616, USA',\n", " 'city': 'Davis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-03-25',\n", " 'event_code': 'cada',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '22521',\n", " 'gmaps_place_id': 'ChIJJZCDygAphYAR99rkDPNfqgY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=480301807766395639',\n", " 'key': '2017cada',\n", " 'lat': 38.5418888,\n", " 'lng': -121.7595864,\n", " 'location_name': 'The Pavilion',\n", " 'name': 'Sacramento Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95616',\n", " 'short_name': 'Sacramento',\n", " 'start_date': '2017-03-22',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'firstinspires3', 'type': 'twitch'},\n", " {'channel': 'firstinspires4', 'type': 'twitch'}],\n", " 'website': 'http://www.firstsac.org',\n", " 'week': 3,\n", " 'year': 2017},\n", " 'key': '2017cada',\n", " 'lat': 38.5418888,\n", " 'lng': -121.7595864,\n", " 'location_name': 'The Pavilion',\n", " 'name': 'Sacramento Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95616',\n", " 'short_name': 'Sacramento',\n", " 'start_date': '2017-03-22',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'firstinspires3', 'type': 'twitch'},\n", " {'channel': 'firstinspires4', 'type': 'twitch'}],\n", " 'website': 'http://www.firstsac.org',\n", " 'week': 3,\n", " 'year': 2017},\n", " {'address': '705 W Pecan Ave, Madera, CA 93637, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-03-12',\n", " 'event_code': 'cama',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '22583',\n", " 'gmaps_place_id': 'ChIJB92n55gMlIARfbtz_iWwAfY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=17726643285536258941',\n", " 'json': {'address': '705 W Pecan Ave, Madera, CA 93637, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-03-12',\n", " 'event_code': 'cama',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '22583',\n", " 'gmaps_place_id': 'ChIJB92n55gMlIARfbtz_iWwAfY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=17726643285536258941',\n", " 'key': '2017cama',\n", " 'lat': 36.9393999,\n", " 'lng': -120.0664811,\n", " 'location_name': 'Madera South High School',\n", " 'name': 'Central Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '93637',\n", " 'short_name': 'Central Valley',\n", " 'start_date': '2017-03-09',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'firstinspires3', 'type': 'twitch'},\n", " {'channel': 'firstinspires4', 'type': 'twitch'}],\n", " 'website': 'http://www.cvrobotics.org/frc/regional.html',\n", " 'week': 1,\n", " 'year': 2017},\n", " 'key': '2017cama',\n", " 'lat': 36.9393999,\n", " 'lng': -120.0664811,\n", " 'location_name': 'Madera South High School',\n", " 'name': 'Central Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '93637',\n", " 'short_name': 'Central Valley',\n", " 'start_date': '2017-03-09',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'firstinspires3', 'type': 'twitch'},\n", " {'channel': 'firstinspires4', 'type': 'twitch'}],\n", " 'website': 'http://www.cvrobotics.org/frc/regional.html',\n", " 'week': 1,\n", " 'year': 2017},\n", " {'address': '960 W Hedding St, San Jose, CA 95126, USA',\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-09-17',\n", " 'event_code': 'cc',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJ9ZRunXHLj4AROaffNl5ZWeY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16598396162833098553',\n", " 'json': {'address': '960 W Hedding St, San Jose, CA 95126, USA',\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-09-17',\n", " 'event_code': 'cc',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJ9ZRunXHLj4AROaffNl5ZWeY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16598396162833098553',\n", " 'key': '2017cc',\n", " 'lat': 37.342483,\n", " 'lng': -121.917904,\n", " 'location_name': 'Bellarmine College Preparatory',\n", " 'name': 'Chezy Champs',\n", " 'parent_event_key': None,\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '95126',\n", " 'short_name': 'Chezy Champs',\n", " 'start_date': '2017-09-16',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'robosportsnetwork', 'type': 'twitch'},\n", " {'channel': '254chezychamps', 'type': 'twitch'}],\n", " 'website': 'https://www.chezychamps.com',\n", " 'week': None,\n", " 'year': 2017},\n", " 'key': '2017cc',\n", " 'lat': 37.342483,\n", " 'lng': -121.917904,\n", " 'location_name': 'Bellarmine College Preparatory',\n", " 'name': 'Chezy Champs',\n", " 'parent_event_key': None,\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '95126',\n", " 'short_name': 'Chezy Champs',\n", " 'start_date': '2017-09-16',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'robosportsnetwork', 'type': 'twitch'},\n", " {'channel': '254chezychamps', 'type': 'twitch'}],\n", " 'website': 'https://www.chezychamps.com',\n", " 'week': None,\n", " 'year': 2017},\n", " {'address': '1001 Avenida De Las Americas, Houston, TX 77010, USA',\n", " 'city': 'Houston',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': ['2017carv',\n", " '2017gal',\n", " '2017hop',\n", " '2017new',\n", " '2017roe',\n", " '2017tur'],\n", " 'end_date': '2017-04-22',\n", " 'event_code': 'cmptx',\n", " 'event_type': 4,\n", " 'event_type_string': 'Championship Finals',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJux2LIyW_QIYR2T4aJ0P5MBw',\n", " 'gmaps_url': 'https://maps.google.com/?cid=2031397498758250201',\n", " 'json': {'address': '1001 Avenida De Las Americas, Houston, TX 77010, USA',\n", " 'city': 'Houston',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': ['2017carv',\n", " '2017gal',\n", " '2017hop',\n", " '2017new',\n", " '2017roe',\n", " '2017tur'],\n", " 'end_date': '2017-04-22',\n", " 'event_code': 'cmptx',\n", " 'event_type': 4,\n", " 'event_type_string': 'Championship Finals',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJux2LIyW_QIYR2T4aJ0P5MBw',\n", " 'gmaps_url': 'https://maps.google.com/?cid=2031397498758250201',\n", " 'key': '2017cmptx',\n", " 'lat': 29.75209569999999,\n", " 'lng': -95.3579544,\n", " 'location_name': 'GRB Convention Center',\n", " 'name': 'Einstein Field (Houston)',\n", " 'parent_event_key': None,\n", " 'playoff_type': 4,\n", " 'playoff_type_string': 'Round Robin (6 Alliances)',\n", " 'postal_code': '77010',\n", " 'short_name': 'Einstein (Houston)',\n", " 'start_date': '2017-04-22',\n", " 'state_prov': 'TX',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [{'channel': 'firstinspires', 'type': 'twitch'}],\n", " 'website': None,\n", " 'week': None,\n", " 'year': 2017},\n", " 'key': '2017cmptx',\n", " 'lat': 29.75209569999999,\n", " 'lng': -95.3579544,\n", " 'location_name': 'GRB Convention Center',\n", " 'name': 'Einstein Field (Houston)',\n", " 'parent_event_key': None,\n", " 'playoff_type': 4,\n", " 'playoff_type_string': 'Round Robin (6 Alliances)',\n", " 'postal_code': '77010',\n", " 'short_name': 'Einstein (Houston)',\n", " 'start_date': '2017-04-22',\n", " 'state_prov': 'TX',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [{'channel': 'firstinspires', 'type': 'twitch'}],\n", " 'website': None,\n", " 'week': None,\n", " 'year': 2017},\n", " {'address': '555 Elm St, Manchester, NH 03101, USA',\n", " 'city': 'Manchester',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-07-29',\n", " 'event_code': 'nhfoc',\n", " 'event_type': 6,\n", " 'event_type_string': 'Festival of Champions',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJA5HlUNhO4okRkKaYcM2sorI',\n", " 'gmaps_url': 'https://maps.google.com/?cid=12872040683335624336',\n", " 'json': {'address': '555 Elm St, Manchester, NH 03101, USA',\n", " 'city': 'Manchester',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-07-29',\n", " 'event_code': 'nhfoc',\n", " 'event_type': 6,\n", " 'event_type_string': 'Festival of Champions',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJA5HlUNhO4okRkKaYcM2sorI',\n", " 'gmaps_url': 'https://maps.google.com/?cid=12872040683335624336',\n", " 'key': '2017nhfoc',\n", " 'lat': 42.9867265,\n", " 'lng': -71.4616607,\n", " 'location_name': 'SNHU Arena',\n", " 'name': 'FIRST Festival of Champions',\n", " 'parent_event_key': None,\n", " 'playoff_type': 6,\n", " 'playoff_type_string': 'Best of 5 Finals',\n", " 'postal_code': '03101',\n", " 'short_name': 'FIRST Festival of Champions',\n", " 'start_date': '2017-07-29',\n", " 'state_prov': 'NH',\n", " 'timezone': 'America/New_York',\n", " 'webcasts': [{'channel': 'firstinspires', 'type': 'twitch'},\n", " {'channel': 'firstinspires1', 'type': 'twitch'}],\n", " 'website': 'https://www.firstchampionship.org/festival-of-champions',\n", " 'week': None,\n", " 'year': 2017},\n", " 'key': '2017nhfoc',\n", " 'lat': 42.9867265,\n", " 'lng': -71.4616607,\n", " 'location_name': 'SNHU Arena',\n", " 'name': 'FIRST Festival of Champions',\n", " 'parent_event_key': None,\n", " 'playoff_type': 6,\n", " 'playoff_type_string': 'Best of 5 Finals',\n", " 'postal_code': '03101',\n", " 'short_name': 'FIRST Festival of Champions',\n", " 'start_date': '2017-07-29',\n", " 'state_prov': 'NH',\n", " 'timezone': 'America/New_York',\n", " 'webcasts': [{'channel': 'firstinspires', 'type': 'twitch'},\n", " {'channel': 'firstinspires1', 'type': 'twitch'}],\n", " 'website': 'https://www.firstchampionship.org/festival-of-champions',\n", " 'week': None,\n", " 'year': 2017},\n", " {'address': '1001 Avenida De Las Americas, Houston, TX 77010, USA',\n", " 'city': 'Houston',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-04-22',\n", " 'event_code': 'roe',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJux2LIyW_QIYR2T4aJ0P5MBw',\n", " 'gmaps_url': 'https://maps.google.com/?cid=2031397498758250201',\n", " 'json': {'address': '1001 Avenida De Las Americas, Houston, TX 77010, USA',\n", " 'city': 'Houston',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-04-22',\n", " 'event_code': 'roe',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJux2LIyW_QIYR2T4aJ0P5MBw',\n", " 'gmaps_url': 'https://maps.google.com/?cid=2031397498758250201',\n", " 'key': '2017roe',\n", " 'lat': 29.7521422,\n", " 'lng': -95.3578364,\n", " 'location_name': 'George R. Brown Convention Center',\n", " 'name': 'Roebling Division',\n", " 'parent_event_key': '2017cmptx',\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '77010',\n", " 'short_name': 'Roebling',\n", " 'start_date': '2017-04-19',\n", " 'state_prov': 'TX',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [{'channel': 'FIRSTInspires_Roebling',\n", " 'type': 'twitch'}],\n", " 'website': None,\n", " 'week': None,\n", " 'year': 2017},\n", " 'key': '2017roe',\n", " 'lat': 29.7521422,\n", " 'lng': -95.3578364,\n", " 'location_name': 'George R. Brown Convention Center',\n", " 'name': 'Roebling Division',\n", " 'parent_event_key': '2017cmptx',\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '77010',\n", " 'short_name': 'Roebling',\n", " 'start_date': '2017-04-19',\n", " 'state_prov': 'TX',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [{'channel': 'FIRSTInspires_Roebling', 'type': 'twitch'}],\n", " 'website': None,\n", " 'week': None,\n", " 'year': 2017}]\n" ] } ], "source": [ "\"\"\"\n", "Got your function written? Awesome! That was a warm-up. Let's\n", "do something more useful.\n", "\n", "Check out the output of this nifty function here:\n", "\"\"\"\n", "\n", "pp.pprint(tba.team_events(\"frc973\", 2017))" ] }, { "cell_type": "code", "execution_count": 9, "metadata": { "collapsed": false, "nbpresent": { "id": "57ecec8f-36ee-43d4-a780-3ed178ba5ab2" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "973's events:\n", "['Los Angeles', 'Einstein', 'Galileo Division', 'MadTown', 'San Diego']\n", "1678's events:\n", "['Central Valley', 'CalGames', 'Curie Division', 'Sacramento']\n", "972's events:\n", "['Central Valley', 'Silicon Valley', 'Chezy Champs']\n" ] }, { "data": { "text/plain": [ "\"Don't worry about what order these show up in, just that the contents match\"" ] }, "execution_count": 9, "metadata": {}, "output_type": "execute_result" } ], "source": [ "\"\"\"\n", "Geeze that's a huge object! What type is it? What type is each element?\n", "What order are they in? Are they in any order? I'm pretty sure they're\n", "random but I haven't really checked. \n", "\n", "Let's cut out the noise and get to what matters. Write a function\n", "called `which_events` that takes in 2 parameters: the team name\n", "and the year, and returns a list the names of each event that team\n", "went to that year. Use the \"short_name\" field for this. Try it out on\n", "your favorite frc teams! Here's some examples below:\n", "\"\"\"\n", "\n", "print(\"973's events:\")\n", "pp.pprint(which_events(\"frc973\", 2011))\n", "\n", "print(\"1678's events:\")\n", "pp.pprint(which_events(\"frc1678\", 2012))\n", "\n", "print(\"972's events:\")\n", "pp.pprint(which_events(\"frc972\", 2016))\n", "\n", "\"Don't worry about what order these show up in, just that the contents match\"" ] }, { "cell_type": "code", "execution_count": 10, "metadata": { "collapsed": false, "nbpresent": { "id": "fc395cda-8c36-4f9e-be2e-07114ce5d2d2" }, "scrolled": true }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[{'address': '8250 Exchange Dr # 100, Orlando, FL 32809, USA',\n", " 'city': 'Orlando',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2002-03-30',\n", " 'event_code': 'sj',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '1232',\n", " 'gmaps_place_id': 'ChIJkSYbtc1954gReueQd78UUuc',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16668407983428921210',\n", " 'json': {'address': '8250 Exchange Dr # 100, Orlando, FL 32809, USA',\n", " 'city': 'Orlando',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2002-03-30',\n", " 'event_code': 'sj',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '1232',\n", " 'gmaps_place_id': 'ChIJkSYbtc1954gReueQd78UUuc',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16668407983428921210',\n", " 'key': '2002sj',\n", " 'lat': 28.444323,\n", " 'lng': -81.414287,\n", " 'location_name': 'USA Today',\n", " 'name': 'Silicon Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '32809',\n", " 'short_name': 'Silicon Valley',\n", " 'start_date': '2002-03-28',\n", " 'state_prov': 'FL',\n", " 'timezone': 'America/New_York',\n", " 'webcasts': [],\n", " 'website': None,\n", " 'week': 3,\n", " 'year': 2002},\n", " 'key': '2002sj',\n", " 'lat': 28.444323,\n", " 'lng': -81.414287,\n", " 'location_name': 'USA Today',\n", " 'name': 'Silicon Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '32809',\n", " 'short_name': 'Silicon Valley',\n", " 'start_date': '2002-03-28',\n", " 'state_prov': 'FL',\n", " 'timezone': 'America/New_York',\n", " 'webcasts': [],\n", " 'website': None,\n", " 'week': 3,\n", " 'year': 2002},\n", " {'address': '3939 S Figueroa St, Los Angeles, CA 90037, USA',\n", " 'city': 'Los Angeles',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2003-04-05',\n", " 'event_code': 'ca',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '1259',\n", " 'gmaps_place_id': 'ChIJEVsg2AfIwoARTyWG5WczlhI',\n", " 'gmaps_url': 'https://maps.google.com/?cid=1339314460514723151',\n", " 'json': {'address': '3939 S Figueroa St, Los Angeles, CA 90037, USA',\n", " 'city': 'Los Angeles',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2003-04-05',\n", " 'event_code': 'ca',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '1259',\n", " 'gmaps_place_id': 'ChIJEVsg2AfIwoARTyWG5WczlhI',\n", " 'gmaps_url': 'https://maps.google.com/?cid=1339314460514723151',\n", " 'key': '2003ca',\n", " 'lat': 34.0127625,\n", " 'lng': -118.2845485,\n", " 'location_name': 'Los Angeles Memorial Sports Arena',\n", " 'name': 'Southern California Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '90037',\n", " 'short_name': 'Southern California',\n", " 'start_date': '2003-04-03',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': '',\n", " 'week': 4,\n", " 'year': 2003},\n", " 'key': '2003ca',\n", " 'lat': 34.0127625,\n", " 'lng': -118.2845485,\n", " 'location_name': 'Los Angeles Memorial Sports Arena',\n", " 'name': 'Southern California Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '90037',\n", " 'short_name': 'Southern California',\n", " 'start_date': '2003-04-03',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': '',\n", " 'week': 4,\n", " 'year': 2003},\n", " {'address': None,\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2003-03-29',\n", " 'event_code': 'sj',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '1258',\n", " 'gmaps_place_id': None,\n", " 'gmaps_url': None,\n", " 'json': {'address': None,\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2003-03-29',\n", " 'event_code': 'sj',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '1258',\n", " 'gmaps_place_id': None,\n", " 'gmaps_url': None,\n", " 'key': '2003sj',\n", " 'lat': None,\n", " 'lng': None,\n", " 'location_name': None,\n", " 'name': 'Silicon Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': 'Silicon Valley',\n", " 'start_date': '2003-03-27',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.firstsv.org/',\n", " 'week': 3,\n", " 'year': 2003},\n", " 'key': '2003sj',\n", " 'lat': None,\n", " 'lng': None,\n", " 'location_name': None,\n", " 'name': 'Silicon Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': 'Silicon Valley',\n", " 'start_date': '2003-03-27',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.firstsv.org/',\n", " 'week': 3,\n", " 'year': 2003},\n", " {'address': '2122 E Highland Ave, Phoenix, AZ 85016, USA',\n", " 'city': 'Phoenix',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2004-03-13',\n", " 'event_code': 'az',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '1285',\n", " 'gmaps_place_id': 'ChIJpcRyyrMPK4cRHWpPPLijd_0',\n", " 'gmaps_url': 'https://maps.google.com/?cid=18264246825505483293',\n", " 'json': {'address': '2122 E Highland Ave, Phoenix, AZ 85016, USA',\n", " 'city': 'Phoenix',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2004-03-13',\n", " 'event_code': 'az',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '1285',\n", " 'gmaps_place_id': 'ChIJpcRyyrMPK4cRHWpPPLijd_0',\n", " 'gmaps_url': 'https://maps.google.com/?cid=18264246825505483293',\n", " 'key': '2004az',\n", " 'lat': 33.5059667,\n", " 'lng': -112.0356002,\n", " 'location_name': 'Securitas Security Services USA',\n", " 'name': 'Arizona Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '85016',\n", " 'short_name': 'Arizona',\n", " 'start_date': '2004-03-11',\n", " 'state_prov': 'AZ',\n", " 'timezone': 'America/Phoenix',\n", " 'webcasts': [],\n", " 'website': 'http://www.azfirst.org/',\n", " 'week': 1,\n", " 'year': 2004},\n", " 'key': '2004az',\n", " 'lat': 33.5059667,\n", " 'lng': -112.0356002,\n", " 'location_name': 'Securitas Security Services USA',\n", " 'name': 'Arizona Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '85016',\n", " 'short_name': 'Arizona',\n", " 'start_date': '2004-03-11',\n", " 'state_prov': 'AZ',\n", " 'timezone': 'America/Phoenix',\n", " 'webcasts': [],\n", " 'website': 'http://www.azfirst.org/',\n", " 'week': 1,\n", " 'year': 2004},\n", " {'address': '1750 Lundy Ave, San Jose, CA 95101, USA',\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2004-04-03',\n", " 'event_code': 'sj',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '1282',\n", " 'gmaps_place_id': 'ChIJLyNnWRrMj4ARqd-8NrL9kO8',\n", " 'gmaps_url': 'https://maps.google.com/?cid=17262576313575464873',\n", " 'json': {'address': '1750 Lundy Ave, San Jose, CA 95101, USA',\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2004-04-03',\n", " 'event_code': 'sj',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '1282',\n", " 'gmaps_place_id': 'ChIJLyNnWRrMj4ARqd-8NrL9kO8',\n", " 'gmaps_url': 'https://maps.google.com/?cid=17262576313575464873',\n", " 'key': '2004sj',\n", " 'lat': 37.3897018,\n", " 'lng': -121.8870556,\n", " 'location_name': 'US Post Office',\n", " 'name': 'Silicon Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95101',\n", " 'short_name': 'Silicon Valley',\n", " 'start_date': '2004-04-01',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.firstsv.org/',\n", " 'week': 4,\n", " 'year': 2004},\n", " 'key': '2004sj',\n", " 'lat': 37.3897018,\n", " 'lng': -121.8870556,\n", " 'location_name': 'US Post Office',\n", " 'name': 'Silicon Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95101',\n", " 'short_name': 'Silicon Valley',\n", " 'start_date': '2004-04-01',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.firstsv.org/',\n", " 'week': 4,\n", " 'year': 2004},\n", " {'address': '1 Shields Ave, Davis, CA 95616, USA',\n", " 'city': 'Davis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2005-03-05',\n", " 'event_code': 'sac',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '1313',\n", " 'gmaps_place_id': 'ChIJP_qJdH_T6oARNIN-CCS7v-w',\n", " 'gmaps_url': 'https://maps.google.com/?cid=17059559676938453812',\n", " 'json': {'address': '1 Shields Ave, Davis, CA 95616, USA',\n", " 'city': 'Davis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2005-03-05',\n", " 'event_code': 'sac',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '1313',\n", " 'gmaps_place_id': 'ChIJP_qJdH_T6oARNIN-CCS7v-w',\n", " 'gmaps_url': 'https://maps.google.com/?cid=17059559676938453812',\n", " 'key': '2005sac',\n", " 'lat': 38.5382322,\n", " 'lng': -121.7617125,\n", " 'location_name': 'University of California, Davis',\n", " 'name': 'Sacramento Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95616',\n", " 'short_name': 'Sacramento',\n", " 'start_date': '2005-03-03',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://firstsac.engineering.ucdavis.edu',\n", " 'week': 0,\n", " 'year': 2005},\n", " 'key': '2005sac',\n", " 'lat': 38.5382322,\n", " 'lng': -121.7617125,\n", " 'location_name': 'University of California, Davis',\n", " 'name': 'Sacramento Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95616',\n", " 'short_name': 'Sacramento',\n", " 'start_date': '2005-03-03',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://firstsac.engineering.ucdavis.edu',\n", " 'week': 0,\n", " 'year': 2005},\n", " {'address': 'Atlanta, GA, USA',\n", " 'city': 'Atlanta',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2006-04-14',\n", " 'event_code': 'arc',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJjQmTaV0E9YgRC2MLmS_e_mY',\n", " 'gmaps_url': 'https://maps.google.com/?q=Atlanta,+GA,+USA&ftid=0x88f5045d6993098d:0x66fede2f990b630b',\n", " 'json': {'address': 'Atlanta, GA, USA',\n", " 'city': 'Atlanta',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2006-04-14',\n", " 'event_code': 'arc',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJjQmTaV0E9YgRC2MLmS_e_mY',\n", " 'gmaps_url': 'https://maps.google.com/?q=Atlanta,+GA,+USA&ftid=0x88f5045d6993098d:0x66fede2f990b630b',\n", " 'key': '2006arc',\n", " 'lat': 33.7489954,\n", " 'lng': -84.3879824,\n", " 'location_name': None,\n", " 'name': 'Archimedes Division',\n", " 'parent_event_key': '2006cmp',\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': None,\n", " 'short_name': 'Archimedes',\n", " 'start_date': '2006-04-12',\n", " 'state_prov': 'GA',\n", " 'timezone': 'America/New_York',\n", " 'webcasts': [],\n", " 'website': 'http://www.usfirst.org',\n", " 'week': None,\n", " 'year': 2006},\n", " 'key': '2006arc',\n", " 'lat': 33.7489954,\n", " 'lng': -84.3879824,\n", " 'location_name': None,\n", " 'name': 'Archimedes Division',\n", " 'parent_event_key': '2006cmp',\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': None,\n", " 'short_name': 'Archimedes',\n", " 'start_date': '2006-04-12',\n", " 'state_prov': 'GA',\n", " 'timezone': 'America/New_York',\n", " 'webcasts': [],\n", " 'website': 'http://www.usfirst.org',\n", " 'week': None,\n", " 'year': 2006},\n", " {'address': '3710 Stevens Creek Blvd, San Jose, CA 95117, USA',\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2006-03-18',\n", " 'event_code': 'sj',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '1351',\n", " 'gmaps_place_id': 'ChIJqRAZQAzKj4ARvgUiD9YbwBg',\n", " 'gmaps_url': 'https://maps.google.com/?cid=1783456058629555646',\n", " 'json': {'address': '3710 Stevens Creek Blvd, San Jose, CA 95117, USA',\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2006-03-18',\n", " 'event_code': 'sj',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '1351',\n", " 'gmaps_place_id': 'ChIJqRAZQAzKj4ARvgUiD9YbwBg',\n", " 'gmaps_url': 'https://maps.google.com/?cid=1783456058629555646',\n", " 'key': '2006sj',\n", " 'lat': 37.3229199,\n", " 'lng': -121.9663472,\n", " 'location_name': 'Gulliver USA, San jose',\n", " 'name': 'Silicon Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95117',\n", " 'short_name': 'SVR',\n", " 'start_date': '2006-03-16',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.firstsv.org/',\n", " 'week': 2,\n", " 'year': 2006},\n", " 'key': '2006sj',\n", " 'lat': 37.3229199,\n", " 'lng': -121.9663472,\n", " 'location_name': 'Gulliver USA, San jose',\n", " 'name': 'Silicon Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95117',\n", " 'short_name': 'SVR',\n", " 'start_date': '2006-03-16',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.firstsv.org/',\n", " 'week': 2,\n", " 'year': 2006},\n", " {'address': 'Howard Way, Davis, CA 95616, USA',\n", " 'city': 'Davis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2007-03-31',\n", " 'event_code': 'sac',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '1416',\n", " 'gmaps_place_id': 'ChIJ7extpwkphYAR0Km3MPGf670',\n", " 'gmaps_url': 'https://maps.google.com/?cid=13685207750948661712',\n", " 'json': {'address': 'Howard Way, Davis, CA 95616, USA',\n", " 'city': 'Davis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2007-03-31',\n", " 'event_code': 'sac',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '1416',\n", " 'gmaps_place_id': 'ChIJ7extpwkphYAR0Km3MPGf670',\n", " 'gmaps_url': 'https://maps.google.com/?cid=13685207750948661712',\n", " 'key': '2007sac',\n", " 'lat': 38.543872,\n", " 'lng': -121.7500387,\n", " 'location_name': 'Memorial Union (Q Line) & Howard Way (NB)',\n", " 'name': 'Davis Sacramento Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95616',\n", " 'short_name': 'Sacramento',\n", " 'start_date': '2007-03-29',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://firstsac.engineering.ucdavis.edu',\n", " 'week': 4,\n", " 'year': 2007},\n", " 'key': '2007sac',\n", " 'lat': 38.543872,\n", " 'lng': -121.7500387,\n", " 'location_name': 'Memorial Union (Q Line) & Howard Way (NB)',\n", " 'name': 'Davis Sacramento Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95616',\n", " 'short_name': 'Sacramento',\n", " 'start_date': '2007-03-29',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://firstsac.engineering.ucdavis.edu',\n", " 'week': 4,\n", " 'year': 2007},\n", " {'address': '1750 Lundy Ave, San Jose, CA 95101, USA',\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2007-03-17',\n", " 'event_code': 'sj',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '1436',\n", " 'gmaps_place_id': 'ChIJLyNnWRrMj4ARqd-8NrL9kO8',\n", " 'gmaps_url': 'https://maps.google.com/?cid=17262576313575464873',\n", " 'json': {'address': '1750 Lundy Ave, San Jose, CA 95101, USA',\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2007-03-17',\n", " 'event_code': 'sj',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '1436',\n", " 'gmaps_place_id': 'ChIJLyNnWRrMj4ARqd-8NrL9kO8',\n", " 'gmaps_url': 'https://maps.google.com/?cid=17262576313575464873',\n", " 'key': '2007sj',\n", " 'lat': 37.3897018,\n", " 'lng': -121.8870556,\n", " 'location_name': 'US Post Office',\n", " 'name': 'Silicon Valley Regional ',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95101',\n", " 'short_name': 'Silicon Valley',\n", " 'start_date': '2007-03-15',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.firstsv.org',\n", " 'week': 2,\n", " 'year': 2007},\n", " 'key': '2007sj',\n", " 'lat': 37.3897018,\n", " 'lng': -121.8870556,\n", " 'location_name': 'US Post Office',\n", " 'name': 'Silicon Valley Regional ',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95101',\n", " 'short_name': 'Silicon Valley',\n", " 'start_date': '2007-03-15',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.firstsv.org',\n", " 'week': 2,\n", " 'year': 2007},\n", " {'address': 'Las Vegas, NV, USA',\n", " 'city': 'Las Vegas',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2008-03-29',\n", " 'event_code': 'nv',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJ0X31pIK3voARo3mz1ebVzDo',\n", " 'gmaps_url': 'https://maps.google.com/?q=Las+Vegas,+NV,+USA&ftid=0x80beb782a4f57dd1:0x3accd5e6d5b379a3',\n", " 'json': {'address': 'Las Vegas, NV, USA',\n", " 'city': 'Las Vegas',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2008-03-29',\n", " 'event_code': 'nv',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJ0X31pIK3voARo3mz1ebVzDo',\n", " 'gmaps_url': 'https://maps.google.com/?q=Las+Vegas,+NV,+USA&ftid=0x80beb782a4f57dd1:0x3accd5e6d5b379a3',\n", " 'key': '2008nv',\n", " 'lat': 36.1699412,\n", " 'lng': -115.1398296,\n", " 'location_name': None,\n", " 'name': 'Las Vegas Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': 'Las Vegas',\n", " 'start_date': '2008-03-27',\n", " 'state_prov': 'NV',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.lvfirst.org/',\n", " 'week': 4,\n", " 'year': 2008},\n", " 'key': '2008nv',\n", " 'lat': 36.1699412,\n", " 'lng': -115.1398296,\n", " 'location_name': None,\n", " 'name': 'Las Vegas Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': 'Las Vegas',\n", " 'start_date': '2008-03-27',\n", " 'state_prov': 'NV',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.lvfirst.org/',\n", " 'week': 4,\n", " 'year': 2008},\n", " {'address': 'San Jose, CA, USA',\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2008-03-15',\n", " 'event_code': 'sj',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJ9T_5iuTKj4ARe3GfygqMnbk',\n", " 'gmaps_url': 'https://maps.google.com/?q=San+Jose,+CA,+USA&ftid=0x808fcae48af93ff5:0xb99d8c0aca9f717b',\n", " 'json': {'address': 'San Jose, CA, USA',\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2008-03-15',\n", " 'event_code': 'sj',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJ9T_5iuTKj4ARe3GfygqMnbk',\n", " 'gmaps_url': 'https://maps.google.com/?q=San+Jose,+CA,+USA&ftid=0x808fcae48af93ff5:0xb99d8c0aca9f717b',\n", " 'key': '2008sj',\n", " 'lat': 37.3382082,\n", " 'lng': -121.8863286,\n", " 'location_name': None,\n", " 'name': 'Silicon Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': 'SVR',\n", " 'start_date': '2008-03-13',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.firstsv.org/',\n", " 'week': 2,\n", " 'year': 2008},\n", " 'key': '2008sj',\n", " 'lat': 37.3382082,\n", " 'lng': -121.8863286,\n", " 'location_name': None,\n", " 'name': 'Silicon Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': 'SVR',\n", " 'start_date': '2008-03-13',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.firstsv.org/',\n", " 'week': 2,\n", " 'year': 2008},\n", " {'address': '300 E Ocean Blvd, Long Beach, CA 90802, USA',\n", " 'city': 'Long Beach',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2009-03-14',\n", " 'event_code': 'ca',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '2373',\n", " 'gmaps_place_id': 'ChIJ5-rEaDsx3YARQo1Qy_P_8Wk',\n", " 'gmaps_url': 'https://maps.google.com/?cid=7634164265922891074',\n", " 'json': {'address': '300 E Ocean Blvd, Long Beach, CA 90802, USA',\n", " 'city': 'Long Beach',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2009-03-14',\n", " 'event_code': 'ca',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '2373',\n", " 'gmaps_place_id': 'ChIJ5-rEaDsx3YARQo1Qy_P_8Wk',\n", " 'gmaps_url': 'https://maps.google.com/?cid=7634164265922891074',\n", " 'key': '2009ca',\n", " 'lat': 33.7652636,\n", " 'lng': -118.1893385,\n", " 'location_name': 'Long Beach Convention & Entertainment Center',\n", " 'name': 'Los Angeles Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '90802',\n", " 'short_name': 'Los Angeles',\n", " 'start_date': '2009-03-12',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.longbeachcc.com/',\n", " 'week': 2,\n", " 'year': 2009},\n", " 'key': '2009ca',\n", " 'lat': 33.7652636,\n", " 'lng': -118.1893385,\n", " 'location_name': 'Long Beach Convention & Entertainment Center',\n", " 'name': 'Los Angeles Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '90802',\n", " 'short_name': 'Los Angeles',\n", " 'start_date': '2009-03-12',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.longbeachcc.com/',\n", " 'week': 2,\n", " 'year': 2009},\n", " {'address': '1 Georgia Dome Dr, Atlanta, GA 30313, USA',\n", " 'city': 'Atlanta',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2009-04-18',\n", " 'event_code': 'gal',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJo0JlC34D9YgRcOAdejCWeBU',\n", " 'gmaps_url': 'https://maps.google.com/?cid=1547151606953140336',\n", " 'json': {'address': '1 Georgia Dome Dr, Atlanta, GA 30313, USA',\n", " 'city': 'Atlanta',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2009-04-18',\n", " 'event_code': 'gal',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJo0JlC34D9YgRcOAdejCWeBU',\n", " 'gmaps_url': 'https://maps.google.com/?cid=1547151606953140336',\n", " 'key': '2009gal',\n", " 'lat': 33.7576897,\n", " 'lng': -84.40082850000002,\n", " 'location_name': 'Georgia Dome',\n", " 'name': 'Galileo Division',\n", " 'parent_event_key': '2009cmp',\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '30313',\n", " 'short_name': 'Galileo',\n", " 'start_date': '2009-04-16',\n", " 'state_prov': 'GA',\n", " 'timezone': 'America/New_York',\n", " 'webcasts': [],\n", " 'website': 'http://www.usfirst.org',\n", " 'week': None,\n", " 'year': 2009},\n", " 'key': '2009gal',\n", " 'lat': 33.7576897,\n", " 'lng': -84.40082850000002,\n", " 'location_name': 'Georgia Dome',\n", " 'name': 'Galileo Division',\n", " 'parent_event_key': '2009cmp',\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '30313',\n", " 'short_name': 'Galileo',\n", " 'start_date': '2009-04-16',\n", " 'state_prov': 'GA',\n", " 'timezone': 'America/New_York',\n", " 'webcasts': [],\n", " 'website': 'http://www.usfirst.org',\n", " 'week': None,\n", " 'year': 2009},\n", " {'address': '4505 S Maryland Pkwy, Las Vegas, NV 89154, USA',\n", " 'city': 'Las Vegas',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2009-03-28',\n", " 'event_code': 'nv',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '2413',\n", " 'gmaps_place_id': 'ChIJKW_xX1XEyIARGe57HLQXBg4',\n", " 'gmaps_url': 'https://maps.google.com/?cid=1010521228730691097',\n", " 'json': {'address': '4505 S Maryland Pkwy, Las Vegas, NV 89154, USA',\n", " 'city': 'Las Vegas',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2009-03-28',\n", " 'event_code': 'nv',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '2413',\n", " 'gmaps_place_id': 'ChIJKW_xX1XEyIARGe57HLQXBg4',\n", " 'gmaps_url': 'https://maps.google.com/?cid=1010521228730691097',\n", " 'key': '2009nv',\n", " 'lat': 36.1049243,\n", " 'lng': -115.1442517,\n", " 'location_name': 'Thomas & Mack Center',\n", " 'name': 'Las Vegas Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '89154',\n", " 'short_name': 'Las Vegas',\n", " 'start_date': '2009-03-26',\n", " 'state_prov': 'NV',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://lvfirst.egr.unlv.edu',\n", " 'week': 4,\n", " 'year': 2009},\n", " 'key': '2009nv',\n", " 'lat': 36.1049243,\n", " 'lng': -115.1442517,\n", " 'location_name': 'Thomas & Mack Center',\n", " 'name': 'Las Vegas Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '89154',\n", " 'short_name': 'Las Vegas',\n", " 'start_date': '2009-03-26',\n", " 'state_prov': 'NV',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://lvfirst.egr.unlv.edu',\n", " 'week': 4,\n", " 'year': 2009},\n", " {'address': '4505 S Maryland Pkwy, Las Vegas, NV 89154, USA',\n", " 'city': 'Las Vegas',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2010-04-03',\n", " 'event_code': 'nv',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '3797',\n", " 'gmaps_place_id': 'ChIJKW_xX1XEyIARGe57HLQXBg4',\n", " 'gmaps_url': 'https://maps.google.com/?cid=1010521228730691097',\n", " 'json': {'address': '4505 S Maryland Pkwy, Las Vegas, NV 89154, USA',\n", " 'city': 'Las Vegas',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2010-04-03',\n", " 'event_code': 'nv',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '3797',\n", " 'gmaps_place_id': 'ChIJKW_xX1XEyIARGe57HLQXBg4',\n", " 'gmaps_url': 'https://maps.google.com/?cid=1010521228730691097',\n", " 'key': '2010nv',\n", " 'lat': 36.1049243,\n", " 'lng': -115.1442517,\n", " 'location_name': 'Thomas & Mack Center',\n", " 'name': 'Las Vegas Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '89154',\n", " 'short_name': 'Las Vegas',\n", " 'start_date': '2010-04-01',\n", " 'state_prov': 'NV',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://engineering.unlv.edu/first/',\n", " 'week': 4,\n", " 'year': 2010},\n", " 'key': '2010nv',\n", " 'lat': 36.1049243,\n", " 'lng': -115.1442517,\n", " 'location_name': 'Thomas & Mack Center',\n", " 'name': 'Las Vegas Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '89154',\n", " 'short_name': 'Las Vegas',\n", " 'start_date': '2010-04-01',\n", " 'state_prov': 'NV',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://engineering.unlv.edu/first/',\n", " 'week': 4,\n", " 'year': 2010},\n", " {'address': None,\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2010-03-20',\n", " 'event_code': 'sj',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '3777',\n", " 'gmaps_place_id': None,\n", " 'gmaps_url': None,\n", " 'json': {'address': None,\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2010-03-20',\n", " 'event_code': 'sj',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '3777',\n", " 'gmaps_place_id': None,\n", " 'gmaps_url': None,\n", " 'key': '2010sj',\n", " 'lat': None,\n", " 'lng': None,\n", " 'location_name': None,\n", " 'name': 'Silicon Valley Regional sponsored by Google and BAE '\n", " 'Systems',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': 'Silicon Valley',\n", " 'start_date': '2010-03-18',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.firstsv.org',\n", " 'week': 2,\n", " 'year': 2010},\n", " 'key': '2010sj',\n", " 'lat': None,\n", " 'lng': None,\n", " 'location_name': None,\n", " 'name': 'Silicon Valley Regional sponsored by Google and BAE Systems',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': 'Silicon Valley',\n", " 'start_date': '2010-03-18',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.firstsv.org',\n", " 'week': 2,\n", " 'year': 2010},\n", " {'address': '300 E Ocean Blvd, Long Beach, CA 90802, USA',\n", " 'city': 'Long Beach',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2011-03-26',\n", " 'event_code': 'ca',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '5539',\n", " 'gmaps_place_id': 'ChIJ5-rEaDsx3YARQo1Qy_P_8Wk',\n", " 'gmaps_url': 'https://maps.google.com/?cid=7634164265922891074',\n", " 'json': {'address': '300 E Ocean Blvd, Long Beach, CA 90802, USA',\n", " 'city': 'Long Beach',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2011-03-26',\n", " 'event_code': 'ca',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '5539',\n", " 'gmaps_place_id': 'ChIJ5-rEaDsx3YARQo1Qy_P_8Wk',\n", " 'gmaps_url': 'https://maps.google.com/?cid=7634164265922891074',\n", " 'key': '2011ca',\n", " 'lat': 33.7652636,\n", " 'lng': -118.1893385,\n", " 'location_name': 'Long Beach Convention & Entertainment Center',\n", " 'name': 'Los Angeles Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '90802',\n", " 'short_name': 'Los Angeles',\n", " 'start_date': '2011-03-24',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.firstlaregional.com',\n", " 'week': 3,\n", " 'year': 2011},\n", " 'key': '2011ca',\n", " 'lat': 33.7652636,\n", " 'lng': -118.1893385,\n", " 'location_name': 'Long Beach Convention & Entertainment Center',\n", " 'name': 'Los Angeles Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '90802',\n", " 'short_name': 'Los Angeles',\n", " 'start_date': '2011-03-24',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.firstlaregional.com',\n", " 'week': 3,\n", " 'year': 2011},\n", " {'address': '901 N Broadway, St. Louis, MO 63101, USA',\n", " 'city': 'St. Louis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': ['2011arc', '2011cur', '2011gal', '2011new'],\n", " 'end_date': '2011-04-30',\n", " 'event_code': 'cmp',\n", " 'event_type': 4,\n", " 'event_type_string': 'Championship Finals',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJwcWeSx-z2IcR7shA7mBLmOA',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16183768140642044142',\n", " 'json': {'address': '901 N Broadway, St. Louis, MO 63101, USA',\n", " 'city': 'St. Louis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': ['2011arc', '2011cur', '2011gal', '2011new'],\n", " 'end_date': '2011-04-30',\n", " 'event_code': 'cmp',\n", " 'event_type': 4,\n", " 'event_type_string': 'Championship Finals',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJwcWeSx-z2IcR7shA7mBLmOA',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16183768140642044142',\n", " 'key': '2011cmp',\n", " 'lat': 38.6328287,\n", " 'lng': -90.1885095,\n", " 'location_name': \"The Dome at America's Center\",\n", " 'name': 'Einstein Field',\n", " 'parent_event_key': None,\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '63101',\n", " 'short_name': 'Einstein',\n", " 'start_date': '2011-04-30',\n", " 'state_prov': 'MO',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [],\n", " 'website': 'http://www.usfirst.org',\n", " 'week': None,\n", " 'year': 2011},\n", " 'key': '2011cmp',\n", " 'lat': 38.6328287,\n", " 'lng': -90.1885095,\n", " 'location_name': \"The Dome at America's Center\",\n", " 'name': 'Einstein Field',\n", " 'parent_event_key': None,\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '63101',\n", " 'short_name': 'Einstein',\n", " 'start_date': '2011-04-30',\n", " 'state_prov': 'MO',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [],\n", " 'website': 'http://www.usfirst.org',\n", " 'week': None,\n", " 'year': 2011},\n", " {'address': '901 N Broadway, St. Louis, MO 63101, USA',\n", " 'city': 'St. Louis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2011-04-30',\n", " 'event_code': 'gal',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJwcWeSx-z2IcR7shA7mBLmOA',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16183768140642044142',\n", " 'json': {'address': '901 N Broadway, St. Louis, MO 63101, USA',\n", " 'city': 'St. Louis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2011-04-30',\n", " 'event_code': 'gal',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJwcWeSx-z2IcR7shA7mBLmOA',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16183768140642044142',\n", " 'key': '2011gal',\n", " 'lat': 38.6328287,\n", " 'lng': -90.1885095,\n", " 'location_name': \"The Dome at America's Center\",\n", " 'name': 'Galileo Division',\n", " 'parent_event_key': '2011cmp',\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '63101',\n", " 'short_name': 'Galileo Division',\n", " 'start_date': '2011-04-27',\n", " 'state_prov': 'MO',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [],\n", " 'website': 'http://www.usfirst.org',\n", " 'week': None,\n", " 'year': 2011},\n", " 'key': '2011gal',\n", " 'lat': 38.6328287,\n", " 'lng': -90.1885095,\n", " 'location_name': \"The Dome at America's Center\",\n", " 'name': 'Galileo Division',\n", " 'parent_event_key': '2011cmp',\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '63101',\n", " 'short_name': 'Galileo Division',\n", " 'start_date': '2011-04-27',\n", " 'state_prov': 'MO',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [],\n", " 'website': 'http://www.usfirst.org',\n", " 'week': None,\n", " 'year': 2011},\n", " {'address': 'Madera, CA, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2011-11-12',\n", " 'event_code': 'mttd',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJA9vG_ZILlIAREGnnItpCwzY',\n", " 'gmaps_url': 'https://maps.google.com/?q=Madera,+CA,+USA&ftid=0x80940b92fdc6db03:0x36c342da22e76910',\n", " 'json': {'address': 'Madera, CA, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2011-11-12',\n", " 'event_code': 'mttd',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJA9vG_ZILlIAREGnnItpCwzY',\n", " 'gmaps_url': 'https://maps.google.com/?q=Madera,+CA,+USA&ftid=0x80940b92fdc6db03:0x36c342da22e76910',\n", " 'key': '2011mttd',\n", " 'lat': 36.9613356,\n", " 'lng': -120.0607176,\n", " 'location_name': None,\n", " 'name': 'MadTown Throwdown',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': 'MadTown',\n", " 'start_date': '2011-11-11',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.chiefdelphi.com/forums/showthread.php?p=1079498',\n", " 'week': None,\n", " 'year': 2011},\n", " 'key': '2011mttd',\n", " 'lat': 36.9613356,\n", " 'lng': -120.0607176,\n", " 'location_name': None,\n", " 'name': 'MadTown Throwdown',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': 'MadTown',\n", " 'start_date': '2011-11-11',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.chiefdelphi.com/forums/showthread.php?p=1079498',\n", " 'week': None,\n", " 'year': 2011},\n", " {'address': '3500 Sports Arena Blvd, San Diego, CA 92110, USA',\n", " 'city': 'San Diego',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2011-03-12',\n", " 'event_code': 'sdc',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '5567',\n", " 'gmaps_place_id': 'ChIJVXfmf_qq3oARqh7FB1SxyN4',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16053275846227861162',\n", " 'json': {'address': '3500 Sports Arena Blvd, San Diego, CA 92110, USA',\n", " 'city': 'San Diego',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2011-03-12',\n", " 'event_code': 'sdc',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '5567',\n", " 'gmaps_place_id': 'ChIJVXfmf_qq3oARqh7FB1SxyN4',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16053275846227861162',\n", " 'key': '2011sdc',\n", " 'lat': 32.755274,\n", " 'lng': -117.212196,\n", " 'location_name': 'Valley View Casino Center',\n", " 'name': 'San Diego Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '92110',\n", " 'short_name': 'San Diego',\n", " 'start_date': '2011-03-10',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://sandiegoregional.com/',\n", " 'week': 1,\n", " 'year': 2011},\n", " 'key': '2011sdc',\n", " 'lat': 32.755274,\n", " 'lng': -117.212196,\n", " 'location_name': 'Valley View Casino Center',\n", " 'name': 'San Diego Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '92110',\n", " 'short_name': 'San Diego',\n", " 'start_date': '2011-03-10',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://sandiegoregional.com/',\n", " 'week': 1,\n", " 'year': 2011},\n", " {'address': '901 N Broadway, St. Louis, MO 63101, USA',\n", " 'city': 'St. Louis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2012-04-28',\n", " 'event_code': 'arc',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJwcWeSx-z2IcR7shA7mBLmOA',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16183768140642044142',\n", " 'json': {'address': '901 N Broadway, St. Louis, MO 63101, USA',\n", " 'city': 'St. Louis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2012-04-28',\n", " 'event_code': 'arc',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJwcWeSx-z2IcR7shA7mBLmOA',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16183768140642044142',\n", " 'key': '2012arc',\n", " 'lat': 38.6328287,\n", " 'lng': -90.1885095,\n", " 'location_name': \"The Dome at America's Center\",\n", " 'name': 'Archimedes Division',\n", " 'parent_event_key': '2012cmp',\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '63101',\n", " 'short_name': 'Archimedes Division',\n", " 'start_date': '2012-04-25',\n", " 'state_prov': 'MO',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [],\n", " 'website': 'http://www.usfirst.org',\n", " 'week': None,\n", " 'year': 2012},\n", " 'key': '2012arc',\n", " 'lat': 38.6328287,\n", " 'lng': -90.1885095,\n", " 'location_name': \"The Dome at America's Center\",\n", " 'name': 'Archimedes Division',\n", " 'parent_event_key': '2012cmp',\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '63101',\n", " 'short_name': 'Archimedes Division',\n", " 'start_date': '2012-04-25',\n", " 'state_prov': 'MO',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [],\n", " 'website': 'http://www.usfirst.org',\n", " 'week': None,\n", " 'year': 2012},\n", " {'address': '300 E Ocean Blvd, Long Beach, CA 90802, USA',\n", " 'city': 'Long Beach',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2012-03-17',\n", " 'event_code': 'ca',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '7605',\n", " 'gmaps_place_id': 'ChIJ5-rEaDsx3YARQo1Qy_P_8Wk',\n", " 'gmaps_url': 'https://maps.google.com/?cid=7634164265922891074',\n", " 'json': {'address': '300 E Ocean Blvd, Long Beach, CA 90802, USA',\n", " 'city': 'Long Beach',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2012-03-17',\n", " 'event_code': 'ca',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '7605',\n", " 'gmaps_place_id': 'ChIJ5-rEaDsx3YARQo1Qy_P_8Wk',\n", " 'gmaps_url': 'https://maps.google.com/?cid=7634164265922891074',\n", " 'key': '2012ca',\n", " 'lat': 33.7652636,\n", " 'lng': -118.1893385,\n", " 'location_name': 'Long Beach Convention & Entertainment Center',\n", " 'name': 'Los Angeles Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '90802',\n", " 'short_name': 'Los Angeles',\n", " 'start_date': '2012-03-15',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.firstlaregional.com',\n", " 'week': 2,\n", " 'year': 2012},\n", " 'key': '2012ca',\n", " 'lat': 33.7652636,\n", " 'lng': -118.1893385,\n", " 'location_name': 'Long Beach Convention & Entertainment Center',\n", " 'name': 'Los Angeles Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '90802',\n", " 'short_name': 'Los Angeles',\n", " 'start_date': '2012-03-15',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.firstlaregional.com',\n", " 'week': 2,\n", " 'year': 2012},\n", " {'address': '705 W Pecan Ave, Madera, CA 93637, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2012-04-07',\n", " 'event_code': 'caf',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '7793',\n", " 'gmaps_place_id': 'ChIJB92n55gMlIARfbtz_iWwAfY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=17726643285536258941',\n", " 'json': {'address': '705 W Pecan Ave, Madera, CA 93637, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2012-04-07',\n", " 'event_code': 'caf',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '7793',\n", " 'gmaps_place_id': 'ChIJB92n55gMlIARfbtz_iWwAfY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=17726643285536258941',\n", " 'key': '2012caf',\n", " 'lat': 36.9393999,\n", " 'lng': -120.0664811,\n", " 'location_name': 'Madera South High School',\n", " 'name': 'Central Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '93637',\n", " 'short_name': 'Central Valley',\n", " 'start_date': '2012-04-05',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://cvregional.com',\n", " 'week': 5,\n", " 'year': 2012},\n", " 'key': '2012caf',\n", " 'lat': 36.9393999,\n", " 'lng': -120.0664811,\n", " 'location_name': 'Madera South High School',\n", " 'name': 'Central Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '93637',\n", " 'short_name': 'Central Valley',\n", " 'start_date': '2012-04-05',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://cvregional.com',\n", " 'week': 5,\n", " 'year': 2012},\n", " {'address': '901 N Broadway, St. Louis, MO 63101, USA',\n", " 'city': 'St. Louis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': ['2012arc', '2012cur', '2012gal', '2012new'],\n", " 'end_date': '2012-04-28',\n", " 'event_code': 'cmp',\n", " 'event_type': 4,\n", " 'event_type_string': 'Championship Finals',\n", " 'first_event_id': '7583',\n", " 'gmaps_place_id': 'ChIJwcWeSx-z2IcR7shA7mBLmOA',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16183768140642044142',\n", " 'json': {'address': '901 N Broadway, St. Louis, MO 63101, USA',\n", " 'city': 'St. Louis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': ['2012arc', '2012cur', '2012gal', '2012new'],\n", " 'end_date': '2012-04-28',\n", " 'event_code': 'cmp',\n", " 'event_type': 4,\n", " 'event_type_string': 'Championship Finals',\n", " 'first_event_id': '7583',\n", " 'gmaps_place_id': 'ChIJwcWeSx-z2IcR7shA7mBLmOA',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16183768140642044142',\n", " 'key': '2012cmp',\n", " 'lat': 38.6328287,\n", " 'lng': -90.1885095,\n", " 'location_name': \"The Dome at America's Center\",\n", " 'name': 'Einstein Field',\n", " 'parent_event_key': None,\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '63101',\n", " 'short_name': 'Einstein',\n", " 'start_date': '2012-04-28',\n", " 'state_prov': 'MO',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [],\n", " 'website': 'http://www.usfirst.org',\n", " 'week': None,\n", " 'year': 2012},\n", " 'key': '2012cmp',\n", " 'lat': 38.6328287,\n", " 'lng': -90.1885095,\n", " 'location_name': \"The Dome at America's Center\",\n", " 'name': 'Einstein Field',\n", " 'parent_event_key': None,\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '63101',\n", " 'short_name': 'Einstein',\n", " 'start_date': '2012-04-28',\n", " 'state_prov': 'MO',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [],\n", " 'website': 'http://www.usfirst.org',\n", " 'week': None,\n", " 'year': 2012},\n", " {'address': 'Indianapolis, IN, USA',\n", " 'city': 'Indianapolis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2012-07-21',\n", " 'event_code': 'iri',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJA2p5p_9Qa4gRfOq5QPadjtY',\n", " 'gmaps_url': 'https://maps.google.com/?q=Indianapolis,+IN,+USA&ftid=0x886b50ffa7796a03:0xd68e9df640b9ea7c',\n", " 'json': {'address': 'Indianapolis, IN, USA',\n", " 'city': 'Indianapolis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2012-07-21',\n", " 'event_code': 'iri',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJA2p5p_9Qa4gRfOq5QPadjtY',\n", " 'gmaps_url': 'https://maps.google.com/?q=Indianapolis,+IN,+USA&ftid=0x886b50ffa7796a03:0xd68e9df640b9ea7c',\n", " 'key': '2012iri',\n", " 'lat': 39.768403,\n", " 'lng': -86.158068,\n", " 'location_name': None,\n", " 'name': 'Indiana Robotics Invitational',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': 'IRI',\n", " 'start_date': '2012-07-20',\n", " 'state_prov': 'IN',\n", " 'timezone': 'America/New_York',\n", " 'webcasts': [],\n", " 'website': 'http://www.indianaroboticsinvitational.org',\n", " 'week': None,\n", " 'year': 2012},\n", " 'key': '2012iri',\n", " 'lat': 39.768403,\n", " 'lng': -86.158068,\n", " 'location_name': None,\n", " 'name': 'Indiana Robotics Invitational',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': 'IRI',\n", " 'start_date': '2012-07-20',\n", " 'state_prov': 'IN',\n", " 'timezone': 'America/New_York',\n", " 'webcasts': [],\n", " 'website': 'http://www.indianaroboticsinvitational.org',\n", " 'week': None,\n", " 'year': 2012},\n", " {'address': 'Madera, CA, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2012-11-10',\n", " 'event_code': 'mttd',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJA9vG_ZILlIAREGnnItpCwzY',\n", " 'gmaps_url': 'https://maps.google.com/?q=Madera,+CA,+USA&ftid=0x80940b92fdc6db03:0x36c342da22e76910',\n", " 'json': {'address': 'Madera, CA, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2012-11-10',\n", " 'event_code': 'mttd',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJA9vG_ZILlIAREGnnItpCwzY',\n", " 'gmaps_url': 'https://maps.google.com/?q=Madera,+CA,+USA&ftid=0x80940b92fdc6db03:0x36c342da22e76910',\n", " 'key': '2012mttd',\n", " 'lat': 36.9613356,\n", " 'lng': -120.0607176,\n", " 'location_name': None,\n", " 'name': 'MadTown Throwdown',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': 'MadTown Throwdown',\n", " 'start_date': '2012-11-09',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'tbacast', 'type': 'twitch'}],\n", " 'website': 'http://www.team1323.com/site/index.php/throwdown',\n", " 'week': None,\n", " 'year': 2012},\n", " 'key': '2012mttd',\n", " 'lat': 36.9613356,\n", " 'lng': -120.0607176,\n", " 'location_name': None,\n", " 'name': 'MadTown Throwdown',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': 'MadTown Throwdown',\n", " 'start_date': '2012-11-09',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'tbacast', 'type': 'twitch'}],\n", " 'website': 'http://www.team1323.com/site/index.php/throwdown',\n", " 'week': None,\n", " 'year': 2012},\n", " {'address': '901 N Broadway, St. Louis, MO 63101, USA',\n", " 'city': 'St. Louis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2013-04-27',\n", " 'event_code': 'arc',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJwcWeSx-z2IcR7shA7mBLmOA',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16183768140642044142',\n", " 'json': {'address': '901 N Broadway, St. Louis, MO 63101, USA',\n", " 'city': 'St. Louis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2013-04-27',\n", " 'event_code': 'arc',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJwcWeSx-z2IcR7shA7mBLmOA',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16183768140642044142',\n", " 'key': '2013arc',\n", " 'lat': 38.6328287,\n", " 'lng': -90.1885095,\n", " 'location_name': \"The Dome at America's Center\",\n", " 'name': 'Archimedes Division',\n", " 'parent_event_key': '2013cmp',\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '63101',\n", " 'short_name': 'Archimedes',\n", " 'start_date': '2013-04-24',\n", " 'state_prov': 'MO',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [{'channel': 'http://mfile.akamai.com/18569/live/reflector:55832.asx',\n", " 'type': 'mms'}],\n", " 'website': 'http://www.usfirst.org',\n", " 'week': None,\n", " 'year': 2013},\n", " 'key': '2013arc',\n", " 'lat': 38.6328287,\n", " 'lng': -90.1885095,\n", " 'location_name': \"The Dome at America's Center\",\n", " 'name': 'Archimedes Division',\n", " 'parent_event_key': '2013cmp',\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '63101',\n", " 'short_name': 'Archimedes',\n", " 'start_date': '2013-04-24',\n", " 'state_prov': 'MO',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [{'channel': 'http://mfile.akamai.com/18569/live/reflector:55832.asx',\n", " 'type': 'mms'}],\n", " 'website': 'http://www.usfirst.org',\n", " 'week': None,\n", " 'year': 2013},\n", " {'address': '300 E Ocean Blvd, Long Beach, CA 90802, USA',\n", " 'city': 'Long Beach',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2013-03-23',\n", " 'event_code': 'calb',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '8963',\n", " 'gmaps_place_id': 'ChIJ5-rEaDsx3YARQo1Qy_P_8Wk',\n", " 'gmaps_url': 'https://maps.google.com/?cid=7634164265922891074',\n", " 'json': {'address': '300 E Ocean Blvd, Long Beach, CA 90802, USA',\n", " 'city': 'Long Beach',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2013-03-23',\n", " 'event_code': 'calb',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '8963',\n", " 'gmaps_place_id': 'ChIJ5-rEaDsx3YARQo1Qy_P_8Wk',\n", " 'gmaps_url': 'https://maps.google.com/?cid=7634164265922891074',\n", " 'key': '2013calb',\n", " 'lat': 33.7652636,\n", " 'lng': -118.1893385,\n", " 'location_name': 'Long Beach Convention & Entertainment Center',\n", " 'name': 'Los Angeles Regional sponsored by The Roddenberry '\n", " 'Foundation',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '90802',\n", " 'short_name': 'Los Angeles',\n", " 'start_date': '2013-03-21',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': '10628434', 'type': 'ustream'}],\n", " 'website': 'http://www.firstlaregional.com',\n", " 'week': 3,\n", " 'year': 2013},\n", " 'key': '2013calb',\n", " 'lat': 33.7652636,\n", " 'lng': -118.1893385,\n", " 'location_name': 'Long Beach Convention & Entertainment Center',\n", " 'name': 'Los Angeles Regional sponsored by The Roddenberry Foundation',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '90802',\n", " 'short_name': 'Los Angeles',\n", " 'start_date': '2013-03-21',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': '10628434', 'type': 'ustream'}],\n", " 'website': 'http://www.firstlaregional.com',\n", " 'week': 3,\n", " 'year': 2013},\n", " {'address': '705 W Pecan Ave, Madera, CA 93637, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2013-03-03',\n", " 'event_code': 'cama',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '9063',\n", " 'gmaps_place_id': 'ChIJB92n55gMlIARfbtz_iWwAfY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=17726643285536258941',\n", " 'json': {'address': '705 W Pecan Ave, Madera, CA 93637, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2013-03-03',\n", " 'event_code': 'cama',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '9063',\n", " 'gmaps_place_id': 'ChIJB92n55gMlIARfbtz_iWwAfY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=17726643285536258941',\n", " 'key': '2013cama',\n", " 'lat': 36.9393999,\n", " 'lng': -120.0664811,\n", " 'location_name': 'Madera South High School',\n", " 'name': 'Central Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '93637',\n", " 'short_name': 'Central Valley',\n", " 'start_date': '2013-03-01',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'tbacast', 'type': 'justin'}],\n", " 'website': 'http://cvregional.com',\n", " 'week': 0,\n", " 'year': 2013},\n", " 'key': '2013cama',\n", " 'lat': 36.9393999,\n", " 'lng': -120.0664811,\n", " 'location_name': 'Madera South High School',\n", " 'name': 'Central Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '93637',\n", " 'short_name': 'Central Valley',\n", " 'start_date': '2013-03-01',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'tbacast', 'type': 'justin'}],\n", " 'website': 'http://cvregional.com',\n", " 'week': 0,\n", " 'year': 2013},\n", " {'address': None,\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2013-04-06',\n", " 'event_code': 'casj',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '8983',\n", " 'gmaps_place_id': None,\n", " 'gmaps_url': None,\n", " 'json': {'address': None,\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2013-04-06',\n", " 'event_code': 'casj',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '8983',\n", " 'gmaps_place_id': None,\n", " 'gmaps_url': None,\n", " 'key': '2013casj',\n", " 'lat': None,\n", " 'lng': None,\n", " 'location_name': None,\n", " 'name': 'Silicon Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': 'Silicon Valley',\n", " 'start_date': '2013-04-04',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'frc604', 'type': 'justin'}],\n", " 'website': 'http://www.firstsv.org',\n", " 'week': 5,\n", " 'year': 2013},\n", " 'key': '2013casj',\n", " 'lat': None,\n", " 'lng': None,\n", " 'location_name': None,\n", " 'name': 'Silicon Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': 'Silicon Valley',\n", " 'start_date': '2013-04-04',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'frc604', 'type': 'justin'}],\n", " 'website': 'http://www.firstsv.org',\n", " 'week': 5,\n", " 'year': 2013},\n", " {'address': '300 E Ocean Blvd, Long Beach, CA 90802, USA',\n", " 'city': 'Long Beach',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2014-03-22',\n", " 'event_code': 'calb',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '10769',\n", " 'gmaps_place_id': 'ChIJ5-rEaDsx3YARQo1Qy_P_8Wk',\n", " 'gmaps_url': 'https://maps.google.com/?cid=7634164265922891074',\n", " 'json': {'address': '300 E Ocean Blvd, Long Beach, CA 90802, USA',\n", " 'city': 'Long Beach',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2014-03-22',\n", " 'event_code': 'calb',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '10769',\n", " 'gmaps_place_id': 'ChIJ5-rEaDsx3YARQo1Qy_P_8Wk',\n", " 'gmaps_url': 'https://maps.google.com/?cid=7634164265922891074',\n", " 'key': '2014calb',\n", " 'lat': 33.7652636,\n", " 'lng': -118.1893385,\n", " 'location_name': 'Long Beach Convention & Entertainment Center',\n", " 'name': 'Los Angeles Regional sponsored by The Roddenberry '\n", " 'Foundation',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '90802',\n", " 'short_name': 'Los Angeles',\n", " 'start_date': '2014-03-20',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': '17513649', 'type': 'ustream'},\n", " {'channel': 'themilkenknights', 'type': 'twitch'}],\n", " 'website': 'http://www.firstlaregional.com',\n", " 'week': 3,\n", " 'year': 2014},\n", " 'key': '2014calb',\n", " 'lat': 33.7652636,\n", " 'lng': -118.1893385,\n", " 'location_name': 'Long Beach Convention & Entertainment Center',\n", " 'name': 'Los Angeles Regional sponsored by The Roddenberry Foundation',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '90802',\n", " 'short_name': 'Los Angeles',\n", " 'start_date': '2014-03-20',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': '17513649', 'type': 'ustream'},\n", " {'channel': 'themilkenknights', 'type': 'twitch'}],\n", " 'website': 'http://www.firstlaregional.com',\n", " 'week': 3,\n", " 'year': 2014},\n", " {'address': '705 W Pecan Ave, Madera, CA 93637, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2014-03-09',\n", " 'event_code': 'cama',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '10867',\n", " 'gmaps_place_id': 'ChIJB92n55gMlIARfbtz_iWwAfY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=17726643285536258941',\n", " 'json': {'address': '705 W Pecan Ave, Madera, CA 93637, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2014-03-09',\n", " 'event_code': 'cama',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '10867',\n", " 'gmaps_place_id': 'ChIJB92n55gMlIARfbtz_iWwAfY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=17726643285536258941',\n", " 'key': '2014cama',\n", " 'lat': 36.9393999,\n", " 'lng': -120.0664811,\n", " 'location_name': 'Madera South High School',\n", " 'name': 'Central Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '93637',\n", " 'short_name': 'Central Valley',\n", " 'start_date': '2014-03-07',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'tbacast', 'type': 'twitch'}],\n", " 'website': 'http://www.cvrobotics.org/frc/regional.html',\n", " 'week': 1,\n", " 'year': 2014},\n", " 'key': '2014cama',\n", " 'lat': 36.9393999,\n", " 'lng': -120.0664811,\n", " 'location_name': 'Madera South High School',\n", " 'name': 'Central Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '93637',\n", " 'short_name': 'Central Valley',\n", " 'start_date': '2014-03-07',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'tbacast', 'type': 'twitch'}],\n", " 'website': 'http://www.cvrobotics.org/frc/regional.html',\n", " 'week': 1,\n", " 'year': 2014},\n", " {'address': '960 W Hedding St, San Jose, CA 95126, USA',\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2014-08-31',\n", " 'event_code': 'cc',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': 'off-season-chezy-champs-2014',\n", " 'gmaps_place_id': 'ChIJ9ZRunXHLj4AROaffNl5ZWeY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16598396162833098553',\n", " 'json': {'address': '960 W Hedding St, San Jose, CA 95126, USA',\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2014-08-31',\n", " 'event_code': 'cc',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': 'off-season-chezy-champs-2014',\n", " 'gmaps_place_id': 'ChIJ9ZRunXHLj4AROaffNl5ZWeY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16598396162833098553',\n", " 'key': '2014cc',\n", " 'lat': 37.342483,\n", " 'lng': -121.917904,\n", " 'location_name': 'Bellarmine College Preparatory',\n", " 'name': 'Chezy Champs',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95126',\n", " 'short_name': 'Chezy Champs',\n", " 'start_date': '2014-08-30',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'FRCGameSense', 'type': 'twitch'}],\n", " 'website': 'http://www.team254.com/chezychamps/',\n", " 'week': None,\n", " 'year': 2014},\n", " 'key': '2014cc',\n", " 'lat': 37.342483,\n", " 'lng': -121.917904,\n", " 'location_name': 'Bellarmine College Preparatory',\n", " 'name': 'Chezy Champs',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95126',\n", " 'short_name': 'Chezy Champs',\n", " 'start_date': '2014-08-30',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'FRCGameSense', 'type': 'twitch'}],\n", " 'website': 'http://www.team254.com/chezychamps/',\n", " 'week': None,\n", " 'year': 2014},\n", " {'address': 'St. Louis, MO, USA',\n", " 'city': 'St. Louis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': ['2014arc', '2014cur', '2014gal', '2014new'],\n", " 'end_date': '2014-04-26',\n", " 'event_code': 'cmp',\n", " 'event_type': 4,\n", " 'event_type_string': 'Championship Finals',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJ-Y7t-qm02IcRW-C7IsrqOb4',\n", " 'gmaps_url': 'https://maps.google.com/?q=St.+Louis,+MO,+USA&ftid=0x87d8b4a9faed8ef9:0xbe39eaca22bbe05b',\n", " 'json': {'address': 'St. Louis, MO, USA',\n", " 'city': 'St. Louis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': ['2014arc', '2014cur', '2014gal', '2014new'],\n", " 'end_date': '2014-04-26',\n", " 'event_code': 'cmp',\n", " 'event_type': 4,\n", " 'event_type_string': 'Championship Finals',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJ-Y7t-qm02IcRW-C7IsrqOb4',\n", " 'gmaps_url': 'https://maps.google.com/?q=St.+Louis,+MO,+USA&ftid=0x87d8b4a9faed8ef9:0xbe39eaca22bbe05b',\n", " 'key': '2014cmp',\n", " 'lat': 38.6270025,\n", " 'lng': -90.19940419999999,\n", " 'location_name': None,\n", " 'name': 'Einstein Field',\n", " 'parent_event_key': None,\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': None,\n", " 'short_name': 'Einstein',\n", " 'start_date': '2014-04-26',\n", " 'state_prov': 'MO',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [{'channel': '',\n", " 'type': 'iframe'}],\n", " 'website': '',\n", " 'week': None,\n", " 'year': 2014},\n", " 'key': '2014cmp',\n", " 'lat': 38.6270025,\n", " 'lng': -90.19940419999999,\n", " 'location_name': None,\n", " 'name': 'Einstein Field',\n", " 'parent_event_key': None,\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': None,\n", " 'short_name': 'Einstein',\n", " 'start_date': '2014-04-26',\n", " 'state_prov': 'MO',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [{'channel': '',\n", " 'type': 'iframe'}],\n", " 'website': '',\n", " 'week': None,\n", " 'year': 2014},\n", " {'address': 'St. Louis, MO, USA',\n", " 'city': 'St. Louis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2014-04-26',\n", " 'event_code': 'gal',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJ-Y7t-qm02IcRW-C7IsrqOb4',\n", " 'gmaps_url': 'https://maps.google.com/?q=St.+Louis,+MO,+USA&ftid=0x87d8b4a9faed8ef9:0xbe39eaca22bbe05b',\n", " 'json': {'address': 'St. Louis, MO, USA',\n", " 'city': 'St. Louis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2014-04-26',\n", " 'event_code': 'gal',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJ-Y7t-qm02IcRW-C7IsrqOb4',\n", " 'gmaps_url': 'https://maps.google.com/?q=St.+Louis,+MO,+USA&ftid=0x87d8b4a9faed8ef9:0xbe39eaca22bbe05b',\n", " 'key': '2014gal',\n", " 'lat': 38.6270025,\n", " 'lng': -90.19940419999999,\n", " 'location_name': None,\n", " 'name': 'Galileo Division',\n", " 'parent_event_key': '2014cmp',\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': None,\n", " 'short_name': 'Galileo',\n", " 'start_date': '2014-04-24',\n", " 'state_prov': 'MO',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [{'channel': '',\n", " 'type': 'iframe'}],\n", " 'website': '',\n", " 'week': None,\n", " 'year': 2014},\n", " 'key': '2014gal',\n", " 'lat': 38.6270025,\n", " 'lng': -90.19940419999999,\n", " 'location_name': None,\n", " 'name': 'Galileo Division',\n", " 'parent_event_key': '2014cmp',\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': None,\n", " 'short_name': 'Galileo',\n", " 'start_date': '2014-04-24',\n", " 'state_prov': 'MO',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [{'channel': '',\n", " 'type': 'iframe'}],\n", " 'website': '',\n", " 'week': None,\n", " 'year': 2014},\n", " {'address': 'Madera, CA, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2014-11-09',\n", " 'event_code': 'mttd',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJA9vG_ZILlIAREGnnItpCwzY',\n", " 'gmaps_url': 'https://maps.google.com/?q=Madera,+CA,+USA&ftid=0x80940b92fdc6db03:0x36c342da22e76910',\n", " 'json': {'address': 'Madera, CA, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2014-11-09',\n", " 'event_code': 'mttd',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJA9vG_ZILlIAREGnnItpCwzY',\n", " 'gmaps_url': 'https://maps.google.com/?q=Madera,+CA,+USA&ftid=0x80940b92fdc6db03:0x36c342da22e76910',\n", " 'key': '2014mttd',\n", " 'lat': 36.9613356,\n", " 'lng': -120.0607176,\n", " 'location_name': None,\n", " 'name': 'MadTown ThrowDown',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': 'MadTown ThrowDown',\n", " 'start_date': '2014-11-07',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'jg6QkBdbaEU', 'type': 'youtube'},\n", " {'channel': 'lLK4Kmvp21w', 'type': 'youtube'}],\n", " 'website': 'http://www.chiefdelphi.com/forums/showthread.php?t=130454',\n", " 'week': None,\n", " 'year': 2014},\n", " 'key': '2014mttd',\n", " 'lat': 36.9613356,\n", " 'lng': -120.0607176,\n", " 'location_name': None,\n", " 'name': 'MadTown ThrowDown',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': 'MadTown ThrowDown',\n", " 'start_date': '2014-11-07',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'jg6QkBdbaEU', 'type': 'youtube'},\n", " {'channel': 'lLK4Kmvp21w', 'type': 'youtube'}],\n", " 'website': 'http://www.chiefdelphi.com/forums/showthread.php?t=130454',\n", " 'week': None,\n", " 'year': 2014},\n", " {'address': '300 E Ocean Blvd, Long Beach, CA 90802, USA',\n", " 'city': 'Long Beach',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2015-03-14',\n", " 'event_code': 'calb',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '13323',\n", " 'gmaps_place_id': 'ChIJ5-rEaDsx3YARQo1Qy_P_8Wk',\n", " 'gmaps_url': 'https://maps.google.com/?cid=7634164265922891074',\n", " 'json': {'address': '300 E Ocean Blvd, Long Beach, CA 90802, USA',\n", " 'city': 'Long Beach',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2015-03-14',\n", " 'event_code': 'calb',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '13323',\n", " 'gmaps_place_id': 'ChIJ5-rEaDsx3YARQo1Qy_P_8Wk',\n", " 'gmaps_url': 'https://maps.google.com/?cid=7634164265922891074',\n", " 'key': '2015calb',\n", " 'lat': 33.7652636,\n", " 'lng': -118.1893385,\n", " 'location_name': 'Long Beach Convention & Entertainment Center',\n", " 'name': 'Los Angeles Regional sponsored by The Roddenberry '\n", " 'Foundation',\n", " 'parent_event_key': None,\n", " 'playoff_type': 3,\n", " 'playoff_type_string': 'Average Score (8 Alliances)',\n", " 'postal_code': '90802',\n", " 'short_name': 'Los Angeles',\n", " 'start_date': '2015-03-11',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': '12224997',\n", " 'file': '3881043',\n", " 'type': 'livestream'}],\n", " 'website': 'http://www.firstlaregional.com',\n", " 'week': 2,\n", " 'year': 2015},\n", " 'key': '2015calb',\n", " 'lat': 33.7652636,\n", " 'lng': -118.1893385,\n", " 'location_name': 'Long Beach Convention & Entertainment Center',\n", " 'name': 'Los Angeles Regional sponsored by The Roddenberry Foundation',\n", " 'parent_event_key': None,\n", " 'playoff_type': 3,\n", " 'playoff_type_string': 'Average Score (8 Alliances)',\n", " 'postal_code': '90802',\n", " 'short_name': 'Los Angeles',\n", " 'start_date': '2015-03-11',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': '12224997',\n", " 'file': '3881043',\n", " 'type': 'livestream'}],\n", " 'website': 'http://www.firstlaregional.com',\n", " 'week': 2,\n", " 'year': 2015},\n", " {'address': '31001 Rattler Rd, Rancho Mirage, CA 92270, USA',\n", " 'city': 'Rancho Mirage',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2015-03-01',\n", " 'event_code': 'carm',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '13441',\n", " 'gmaps_place_id': 'ChIJey_Lf0Id24ARzuXvpfVAKmo',\n", " 'gmaps_url': 'https://maps.google.com/?cid=7649998340837336526',\n", " 'json': {'address': '31001 Rattler Rd, Rancho Mirage, CA 92270, USA',\n", " 'city': 'Rancho Mirage',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2015-03-01',\n", " 'event_code': 'carm',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '13441',\n", " 'gmaps_place_id': 'ChIJey_Lf0Id24ARzuXvpfVAKmo',\n", " 'gmaps_url': 'https://maps.google.com/?cid=7649998340837336526',\n", " 'key': '2015carm',\n", " 'lat': 33.8206339,\n", " 'lng': -116.4326175,\n", " 'location_name': 'Rancho Mirage High School',\n", " 'name': 'Inland Empire Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': 3,\n", " 'playoff_type_string': 'Average Score (8 Alliances)',\n", " 'postal_code': '92270',\n", " 'short_name': 'Inland Empire',\n", " 'start_date': '2015-02-26',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'ieregional', 'type': 'twitch'}],\n", " 'website': 'http://ieregional.com/',\n", " 'week': 0,\n", " 'year': 2015},\n", " 'key': '2015carm',\n", " 'lat': 33.8206339,\n", " 'lng': -116.4326175,\n", " 'location_name': 'Rancho Mirage High School',\n", " 'name': 'Inland Empire Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': 3,\n", " 'playoff_type_string': 'Average Score (8 Alliances)',\n", " 'postal_code': '92270',\n", " 'short_name': 'Inland Empire',\n", " 'start_date': '2015-02-26',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'ieregional', 'type': 'twitch'}],\n", " 'website': 'http://ieregional.com/',\n", " 'week': 0,\n", " 'year': 2015},\n", " {'address': 'St. Louis, MO, USA',\n", " 'city': 'St. Louis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2015-04-25',\n", " 'event_code': 'cars',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJ-Y7t-qm02IcRW-C7IsrqOb4',\n", " 'gmaps_url': 'https://maps.google.com/?q=St.+Louis,+MO,+USA&ftid=0x87d8b4a9faed8ef9:0xbe39eaca22bbe05b',\n", " 'json': {'address': 'St. Louis, MO, USA',\n", " 'city': 'St. Louis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2015-04-25',\n", " 'event_code': 'cars',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJ-Y7t-qm02IcRW-C7IsrqOb4',\n", " 'gmaps_url': 'https://maps.google.com/?q=St.+Louis,+MO,+USA&ftid=0x87d8b4a9faed8ef9:0xbe39eaca22bbe05b',\n", " 'key': '2015cars',\n", " 'lat': 38.6270025,\n", " 'lng': -90.19940419999999,\n", " 'location_name': None,\n", " 'name': 'Carson Division',\n", " 'parent_event_key': '2015cmp',\n", " 'playoff_type': 3,\n", " 'playoff_type_string': 'Average Score (8 Alliances)',\n", " 'postal_code': None,\n", " 'short_name': 'Carson',\n", " 'start_date': '2015-04-22',\n", " 'state_prov': 'MO',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [{'channel': 'http://ksc-event2.infozen.cshls.lldns.net/infozen/ksc-event2/ksc-event2.m3u8',\n", " 'type': 'html5'}],\n", " 'website': '',\n", " 'week': None,\n", " 'year': 2015},\n", " 'key': '2015cars',\n", " 'lat': 38.6270025,\n", " 'lng': -90.19940419999999,\n", " 'location_name': None,\n", " 'name': 'Carson Division',\n", " 'parent_event_key': '2015cmp',\n", " 'playoff_type': 3,\n", " 'playoff_type_string': 'Average Score (8 Alliances)',\n", " 'postal_code': None,\n", " 'short_name': 'Carson',\n", " 'start_date': '2015-04-22',\n", " 'state_prov': 'MO',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [{'channel': 'http://ksc-event2.infozen.cshls.lldns.net/infozen/ksc-event2/ksc-event2.m3u8',\n", " 'type': 'html5'}],\n", " 'website': '',\n", " 'week': None,\n", " 'year': 2015},\n", " {'address': '960 W Hedding St, San Jose, CA 95126, USA',\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2015-09-20',\n", " 'event_code': 'cc',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': 'off-season-chezy-champs-2015',\n", " 'gmaps_place_id': 'ChIJ9ZRunXHLj4AROaffNl5ZWeY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16598396162833098553',\n", " 'json': {'address': '960 W Hedding St, San Jose, CA 95126, USA',\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2015-09-20',\n", " 'event_code': 'cc',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': 'off-season-chezy-champs-2015',\n", " 'gmaps_place_id': 'ChIJ9ZRunXHLj4AROaffNl5ZWeY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16598396162833098553',\n", " 'key': '2015cc',\n", " 'lat': 37.342483,\n", " 'lng': -121.917904,\n", " 'location_name': 'Bellarmine College Preparatory',\n", " 'name': 'Chezy Champs',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95126',\n", " 'short_name': 'Chezy Champs',\n", " 'start_date': '2015-09-18',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': '1062732', 'type': 'stemtv'}],\n", " 'website': 'http://chezychamps.com/',\n", " 'week': None,\n", " 'year': 2015},\n", " 'key': '2015cc',\n", " 'lat': 37.342483,\n", " 'lng': -121.917904,\n", " 'location_name': 'Bellarmine College Preparatory',\n", " 'name': 'Chezy Champs',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95126',\n", " 'short_name': 'Chezy Champs',\n", " 'start_date': '2015-09-18',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': '1062732', 'type': 'stemtv'}],\n", " 'website': 'http://chezychamps.com/',\n", " 'week': None,\n", " 'year': 2015},\n", " {'address': 'California, USA',\n", " 'city': 'California',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2016-10-23',\n", " 'event_code': 'cacc',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': '11236',\n", " 'gmaps_place_id': 'ChIJPV4oX_65j4ARVW8IJ6IJUYs',\n", " 'gmaps_url': 'https://maps.google.com/?q=California,+USA&ftid=0x808fb9fe5f285e3d:0x8b5109a227086f55',\n", " 'json': {'address': 'California, USA',\n", " 'city': 'California',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2016-10-23',\n", " 'event_code': 'cacc',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': '11236',\n", " 'gmaps_place_id': 'ChIJPV4oX_65j4ARVW8IJ6IJUYs',\n", " 'gmaps_url': 'https://maps.google.com/?q=California,+USA&ftid=0x808fb9fe5f285e3d:0x8b5109a227086f55',\n", " 'key': '2016cacc',\n", " 'lat': 36.778261,\n", " 'lng': -119.4179324,\n", " 'location_name': None,\n", " 'name': 'Capital City Classic',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': None,\n", " 'start_date': '2016-10-21',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'iZr5bpCvPwc', 'type': 'youtube'}],\n", " 'website': None,\n", " 'week': None,\n", " 'year': 2016},\n", " 'key': '2016cacc',\n", " 'lat': 36.778261,\n", " 'lng': -119.4179324,\n", " 'location_name': None,\n", " 'name': 'Capital City Classic',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': None,\n", " 'short_name': None,\n", " 'start_date': '2016-10-21',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'iZr5bpCvPwc', 'type': 'youtube'}],\n", " 'website': None,\n", " 'week': None,\n", " 'year': 2016},\n", " {'address': '705 W Pecan Ave, Madera, CA 93637, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2016-03-13',\n", " 'event_code': 'cama',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '17415',\n", " 'gmaps_place_id': 'ChIJB92n55gMlIARfbtz_iWwAfY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=17726643285536258941',\n", " 'json': {'address': '705 W Pecan Ave, Madera, CA 93637, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2016-03-13',\n", " 'event_code': 'cama',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '17415',\n", " 'gmaps_place_id': 'ChIJB92n55gMlIARfbtz_iWwAfY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=17726643285536258941',\n", " 'key': '2016cama',\n", " 'lat': 36.9393999,\n", " 'lng': -120.0664811,\n", " 'location_name': 'Madera South High School',\n", " 'name': 'Central Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '93637',\n", " 'short_name': 'Central Valley',\n", " 'start_date': '2016-03-10',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'sLWEHiyoALE', 'type': 'youtube'},\n", " {'channel': '4tDQ4Od0LyE', 'type': 'youtube'},\n", " {'channel': 'JVhqrYOIKxg', 'type': 'youtube'},\n", " {'channel': 'rKRrDlNJxkc', 'type': 'youtube'}],\n", " 'website': 'http://www.cvrobotics.org/frc/regional.html',\n", " 'week': 2,\n", " 'year': 2016},\n", " 'key': '2016cama',\n", " 'lat': 36.9393999,\n", " 'lng': -120.0664811,\n", " 'location_name': 'Madera South High School',\n", " 'name': 'Central Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '93637',\n", " 'short_name': 'Central Valley',\n", " 'start_date': '2016-03-10',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'sLWEHiyoALE', 'type': 'youtube'},\n", " {'channel': '4tDQ4Od0LyE', 'type': 'youtube'},\n", " {'channel': 'JVhqrYOIKxg', 'type': 'youtube'},\n", " {'channel': 'rKRrDlNJxkc', 'type': 'youtube'}],\n", " 'website': 'http://www.cvrobotics.org/frc/regional.html',\n", " 'week': 2,\n", " 'year': 2016},\n", " {'address': '901 N Broadway, St. Louis, MO 63101, USA',\n", " 'city': 'St. Louis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2016-04-30',\n", " 'event_code': 'cars',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJwcWeSx-z2IcR7shA7mBLmOA',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16183768140642044142',\n", " 'json': {'address': '901 N Broadway, St. Louis, MO 63101, USA',\n", " 'city': 'St. Louis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2016-04-30',\n", " 'event_code': 'cars',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJwcWeSx-z2IcR7shA7mBLmOA',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16183768140642044142',\n", " 'key': '2016cars',\n", " 'lat': 38.6328287,\n", " 'lng': -90.1885095,\n", " 'location_name': \"The Dome at America's Center\",\n", " 'name': 'Carson Division',\n", " 'parent_event_key': '2016cmp',\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '63101',\n", " 'short_name': 'Carson',\n", " 'start_date': '2016-04-27',\n", " 'state_prov': 'MO',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [{'channel': 'first_carson', 'type': 'twitch'}],\n", " 'website': None,\n", " 'week': None,\n", " 'year': 2016},\n", " 'key': '2016cars',\n", " 'lat': 38.6328287,\n", " 'lng': -90.1885095,\n", " 'location_name': \"The Dome at America's Center\",\n", " 'name': 'Carson Division',\n", " 'parent_event_key': '2016cmp',\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '63101',\n", " 'short_name': 'Carson',\n", " 'start_date': '2016-04-27',\n", " 'state_prov': 'MO',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [{'channel': 'first_carson', 'type': 'twitch'}],\n", " 'website': None,\n", " 'week': None,\n", " 'year': 2016},\n", " {'address': '4667 Telegraph Rd, Ventura, CA 93003, USA',\n", " 'city': 'Ventura',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2016-03-26',\n", " 'event_code': 'cave',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '17507',\n", " 'gmaps_place_id': 'ChIJq-upZFit6YAReo8NU_4Tqq4',\n", " 'gmaps_url': 'https://maps.google.com/?cid=12585894091676290938',\n", " 'json': {'address': '4667 Telegraph Rd, Ventura, CA 93003, USA',\n", " 'city': 'Ventura',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2016-03-26',\n", " 'event_code': 'cave',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '17507',\n", " 'gmaps_place_id': 'ChIJq-upZFit6YAReo8NU_4Tqq4',\n", " 'gmaps_url': 'https://maps.google.com/?cid=12585894091676290938',\n", " 'key': '2016cave',\n", " 'lat': 34.2769754,\n", " 'lng': -119.2316244,\n", " 'location_name': 'Ventura College',\n", " 'name': 'Ventura Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '93003',\n", " 'short_name': 'Ventura',\n", " 'start_date': '2016-03-23',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'thebagelbytes', 'type': 'twitch'}],\n", " 'website': 'http://www.frcventuraregional.com/',\n", " 'week': 4,\n", " 'year': 2016},\n", " 'key': '2016cave',\n", " 'lat': 34.2769754,\n", " 'lng': -119.2316244,\n", " 'location_name': 'Ventura College',\n", " 'name': 'Ventura Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '93003',\n", " 'short_name': 'Ventura',\n", " 'start_date': '2016-03-23',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'thebagelbytes', 'type': 'twitch'}],\n", " 'website': 'http://www.frcventuraregional.com/',\n", " 'week': 4,\n", " 'year': 2016},\n", " {'address': '960 W Hedding St, San Jose, CA 95126, USA',\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2016-09-25',\n", " 'event_code': 'cc',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJ9ZRunXHLj4AROaffNl5ZWeY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16598396162833098553',\n", " 'json': {'address': '960 W Hedding St, San Jose, CA 95126, USA',\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2016-09-25',\n", " 'event_code': 'cc',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJ9ZRunXHLj4AROaffNl5ZWeY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16598396162833098553',\n", " 'key': '2016cc',\n", " 'lat': 37.342483,\n", " 'lng': -121.917904,\n", " 'location_name': 'Bellarmine College Preparatory',\n", " 'name': 'Chezy Champs',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95126',\n", " 'short_name': 'Chezy Champs',\n", " 'start_date': '2016-09-24',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'frcgamesense', 'type': 'twitch'}],\n", " 'website': '',\n", " 'week': None,\n", " 'year': 2016},\n", " 'key': '2016cc',\n", " 'lat': 37.342483,\n", " 'lng': -121.917904,\n", " 'location_name': 'Bellarmine College Preparatory',\n", " 'name': 'Chezy Champs',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95126',\n", " 'short_name': 'Chezy Champs',\n", " 'start_date': '2016-09-24',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'frcgamesense', 'type': 'twitch'}],\n", " 'website': '',\n", " 'week': None,\n", " 'year': 2016},\n", " {'address': '200 S L St, Madera, CA 93637, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2016-11-12',\n", " 'event_code': 'mttd',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJQUM1hX8MlIARQAR44wGadBo',\n", " 'gmaps_url': 'https://maps.google.com/?cid=1906317875186500672',\n", " 'json': {'address': '200 S L St, Madera, CA 93637, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2016-11-12',\n", " 'event_code': 'mttd',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJQUM1hX8MlIARQAR44wGadBo',\n", " 'gmaps_url': 'https://maps.google.com/?cid=1906317875186500672',\n", " 'key': '2016mttd',\n", " 'lat': 36.9553597,\n", " 'lng': -120.065666,\n", " 'location_name': 'Madera High School',\n", " 'name': 'MadTown ThrowDown',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '93637',\n", " 'short_name': 'MadTown ThrowDown',\n", " 'start_date': '2016-11-11',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'cvrobotics', 'type': 'twitch'}],\n", " 'website': 'https://www.chiefdelphi.com/forums/showthread.php?t=151333',\n", " 'week': None,\n", " 'year': 2016},\n", " 'key': '2016mttd',\n", " 'lat': 36.9553597,\n", " 'lng': -120.065666,\n", " 'location_name': 'Madera High School',\n", " 'name': 'MadTown ThrowDown',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '93637',\n", " 'short_name': 'MadTown ThrowDown',\n", " 'start_date': '2016-11-11',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'cvrobotics', 'type': 'twitch'}],\n", " 'website': 'https://www.chiefdelphi.com/forums/showthread.php?t=151333',\n", " 'week': None,\n", " 'year': 2016},\n", " {'address': '15871 Springdale St, Huntington Beach, CA 92649, USA',\n", " 'city': 'Huntington Beach',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-10-08',\n", " 'event_code': 'cabl',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJcbt7U-cl3YARqMpik6hHr5s',\n", " 'gmaps_url': 'https://maps.google.com/?cid=11218263986155997864',\n", " 'json': {'address': '15871 Springdale St, Huntington Beach, CA 92649, USA',\n", " 'city': 'Huntington Beach',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-10-08',\n", " 'event_code': 'cabl',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJcbt7U-cl3YARqMpik6hHr5s',\n", " 'gmaps_url': 'https://maps.google.com/?cid=11218263986155997864',\n", " 'key': '2017cabl',\n", " 'lat': 33.7315081,\n", " 'lng': -118.0271876,\n", " 'location_name': 'Marina High School',\n", " 'name': 'Beach Blitz',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '92649',\n", " 'short_name': 'Beach Blitz',\n", " 'start_date': '2017-10-07',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'robosportsnetwork', 'type': 'twitch'}],\n", " 'website': 'http://beachblitz.ocra.io',\n", " 'week': None,\n", " 'year': 2017},\n", " 'key': '2017cabl',\n", " 'lat': 33.7315081,\n", " 'lng': -118.0271876,\n", " 'location_name': 'Marina High School',\n", " 'name': 'Beach Blitz',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '92649',\n", " 'short_name': 'Beach Blitz',\n", " 'start_date': '2017-10-07',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'robosportsnetwork', 'type': 'twitch'}],\n", " 'website': 'http://beachblitz.ocra.io',\n", " 'week': None,\n", " 'year': 2017},\n", " {'address': None,\n", " 'city': 'Elk Grove',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-10-29',\n", " 'event_code': 'cacc',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': None,\n", " 'gmaps_url': None,\n", " 'json': {'address': None,\n", " 'city': 'Elk Grove',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-10-29',\n", " 'event_code': 'cacc',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': None,\n", " 'gmaps_url': None,\n", " 'key': '2017cacc',\n", " 'lat': None,\n", " 'lng': None,\n", " 'location_name': None,\n", " 'name': 'Capital City Classic',\n", " 'parent_event_key': None,\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': None,\n", " 'short_name': 'Capital City Classic',\n", " 'start_date': '2017-10-28',\n", " 'state_prov': 'CA',\n", " 'timezone': None,\n", " 'webcasts': [],\n", " 'website': 'http://www.wolfpackrobotics.org/capitalcityclassic/',\n", " 'week': None,\n", " 'year': 2017},\n", " 'key': '2017cacc',\n", " 'lat': None,\n", " 'lng': None,\n", " 'location_name': None,\n", " 'name': 'Capital City Classic',\n", " 'parent_event_key': None,\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': None,\n", " 'short_name': 'Capital City Classic',\n", " 'start_date': '2017-10-28',\n", " 'state_prov': 'CA',\n", " 'timezone': None,\n", " 'webcasts': [],\n", " 'website': 'http://www.wolfpackrobotics.org/capitalcityclassic/',\n", " 'week': None,\n", " 'year': 2017},\n", " {'address': 'Davis, CA 95616, USA',\n", " 'city': 'Davis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-03-25',\n", " 'event_code': 'cada',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '22521',\n", " 'gmaps_place_id': 'ChIJJZCDygAphYAR99rkDPNfqgY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=480301807766395639',\n", " 'json': {'address': 'Davis, CA 95616, USA',\n", " 'city': 'Davis',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-03-25',\n", " 'event_code': 'cada',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '22521',\n", " 'gmaps_place_id': 'ChIJJZCDygAphYAR99rkDPNfqgY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=480301807766395639',\n", " 'key': '2017cada',\n", " 'lat': 38.5418888,\n", " 'lng': -121.7595864,\n", " 'location_name': 'The Pavilion',\n", " 'name': 'Sacramento Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95616',\n", " 'short_name': 'Sacramento',\n", " 'start_date': '2017-03-22',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'firstinspires3', 'type': 'twitch'},\n", " {'channel': 'firstinspires4', 'type': 'twitch'}],\n", " 'website': 'http://www.firstsac.org',\n", " 'week': 3,\n", " 'year': 2017},\n", " 'key': '2017cada',\n", " 'lat': 38.5418888,\n", " 'lng': -121.7595864,\n", " 'location_name': 'The Pavilion',\n", " 'name': 'Sacramento Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '95616',\n", " 'short_name': 'Sacramento',\n", " 'start_date': '2017-03-22',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'firstinspires3', 'type': 'twitch'},\n", " {'channel': 'firstinspires4', 'type': 'twitch'}],\n", " 'website': 'http://www.firstsac.org',\n", " 'week': 3,\n", " 'year': 2017},\n", " {'address': '705 W Pecan Ave, Madera, CA 93637, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-03-12',\n", " 'event_code': 'cama',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '22583',\n", " 'gmaps_place_id': 'ChIJB92n55gMlIARfbtz_iWwAfY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=17726643285536258941',\n", " 'json': {'address': '705 W Pecan Ave, Madera, CA 93637, USA',\n", " 'city': 'Madera',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-03-12',\n", " 'event_code': 'cama',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '22583',\n", " 'gmaps_place_id': 'ChIJB92n55gMlIARfbtz_iWwAfY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=17726643285536258941',\n", " 'key': '2017cama',\n", " 'lat': 36.9393999,\n", " 'lng': -120.0664811,\n", " 'location_name': 'Madera South High School',\n", " 'name': 'Central Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '93637',\n", " 'short_name': 'Central Valley',\n", " 'start_date': '2017-03-09',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'firstinspires3', 'type': 'twitch'},\n", " {'channel': 'firstinspires4', 'type': 'twitch'}],\n", " 'website': 'http://www.cvrobotics.org/frc/regional.html',\n", " 'week': 1,\n", " 'year': 2017},\n", " 'key': '2017cama',\n", " 'lat': 36.9393999,\n", " 'lng': -120.0664811,\n", " 'location_name': 'Madera South High School',\n", " 'name': 'Central Valley Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '93637',\n", " 'short_name': 'Central Valley',\n", " 'start_date': '2017-03-09',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'firstinspires3', 'type': 'twitch'},\n", " {'channel': 'firstinspires4', 'type': 'twitch'}],\n", " 'website': 'http://www.cvrobotics.org/frc/regional.html',\n", " 'week': 1,\n", " 'year': 2017},\n", " {'address': '960 W Hedding St, San Jose, CA 95126, USA',\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-09-17',\n", " 'event_code': 'cc',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJ9ZRunXHLj4AROaffNl5ZWeY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16598396162833098553',\n", " 'json': {'address': '960 W Hedding St, San Jose, CA 95126, USA',\n", " 'city': 'San Jose',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-09-17',\n", " 'event_code': 'cc',\n", " 'event_type': 99,\n", " 'event_type_string': 'Offseason',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJ9ZRunXHLj4AROaffNl5ZWeY',\n", " 'gmaps_url': 'https://maps.google.com/?cid=16598396162833098553',\n", " 'key': '2017cc',\n", " 'lat': 37.342483,\n", " 'lng': -121.917904,\n", " 'location_name': 'Bellarmine College Preparatory',\n", " 'name': 'Chezy Champs',\n", " 'parent_event_key': None,\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '95126',\n", " 'short_name': 'Chezy Champs',\n", " 'start_date': '2017-09-16',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'robosportsnetwork', 'type': 'twitch'},\n", " {'channel': '254chezychamps', 'type': 'twitch'}],\n", " 'website': 'https://www.chezychamps.com',\n", " 'week': None,\n", " 'year': 2017},\n", " 'key': '2017cc',\n", " 'lat': 37.342483,\n", " 'lng': -121.917904,\n", " 'location_name': 'Bellarmine College Preparatory',\n", " 'name': 'Chezy Champs',\n", " 'parent_event_key': None,\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '95126',\n", " 'short_name': 'Chezy Champs',\n", " 'start_date': '2017-09-16',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [{'channel': 'robosportsnetwork', 'type': 'twitch'},\n", " {'channel': '254chezychamps', 'type': 'twitch'}],\n", " 'website': 'https://www.chezychamps.com',\n", " 'week': None,\n", " 'year': 2017},\n", " {'address': '1001 Avenida De Las Americas, Houston, TX 77010, USA',\n", " 'city': 'Houston',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': ['2017carv',\n", " '2017gal',\n", " '2017hop',\n", " '2017new',\n", " '2017roe',\n", " '2017tur'],\n", " 'end_date': '2017-04-22',\n", " 'event_code': 'cmptx',\n", " 'event_type': 4,\n", " 'event_type_string': 'Championship Finals',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJux2LIyW_QIYR2T4aJ0P5MBw',\n", " 'gmaps_url': 'https://maps.google.com/?cid=2031397498758250201',\n", " 'json': {'address': '1001 Avenida De Las Americas, Houston, TX 77010, USA',\n", " 'city': 'Houston',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': ['2017carv',\n", " '2017gal',\n", " '2017hop',\n", " '2017new',\n", " '2017roe',\n", " '2017tur'],\n", " 'end_date': '2017-04-22',\n", " 'event_code': 'cmptx',\n", " 'event_type': 4,\n", " 'event_type_string': 'Championship Finals',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJux2LIyW_QIYR2T4aJ0P5MBw',\n", " 'gmaps_url': 'https://maps.google.com/?cid=2031397498758250201',\n", " 'key': '2017cmptx',\n", " 'lat': 29.75209569999999,\n", " 'lng': -95.3579544,\n", " 'location_name': 'GRB Convention Center',\n", " 'name': 'Einstein Field (Houston)',\n", " 'parent_event_key': None,\n", " 'playoff_type': 4,\n", " 'playoff_type_string': 'Round Robin (6 Alliances)',\n", " 'postal_code': '77010',\n", " 'short_name': 'Einstein (Houston)',\n", " 'start_date': '2017-04-22',\n", " 'state_prov': 'TX',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [{'channel': 'firstinspires', 'type': 'twitch'}],\n", " 'website': None,\n", " 'week': None,\n", " 'year': 2017},\n", " 'key': '2017cmptx',\n", " 'lat': 29.75209569999999,\n", " 'lng': -95.3579544,\n", " 'location_name': 'GRB Convention Center',\n", " 'name': 'Einstein Field (Houston)',\n", " 'parent_event_key': None,\n", " 'playoff_type': 4,\n", " 'playoff_type_string': 'Round Robin (6 Alliances)',\n", " 'postal_code': '77010',\n", " 'short_name': 'Einstein (Houston)',\n", " 'start_date': '2017-04-22',\n", " 'state_prov': 'TX',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [{'channel': 'firstinspires', 'type': 'twitch'}],\n", " 'website': None,\n", " 'week': None,\n", " 'year': 2017},\n", " {'address': '555 Elm St, Manchester, NH 03101, USA',\n", " 'city': 'Manchester',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-07-29',\n", " 'event_code': 'nhfoc',\n", " 'event_type': 6,\n", " 'event_type_string': 'Festival of Champions',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJA5HlUNhO4okRkKaYcM2sorI',\n", " 'gmaps_url': 'https://maps.google.com/?cid=12872040683335624336',\n", " 'json': {'address': '555 Elm St, Manchester, NH 03101, USA',\n", " 'city': 'Manchester',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-07-29',\n", " 'event_code': 'nhfoc',\n", " 'event_type': 6,\n", " 'event_type_string': 'Festival of Champions',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJA5HlUNhO4okRkKaYcM2sorI',\n", " 'gmaps_url': 'https://maps.google.com/?cid=12872040683335624336',\n", " 'key': '2017nhfoc',\n", " 'lat': 42.9867265,\n", " 'lng': -71.4616607,\n", " 'location_name': 'SNHU Arena',\n", " 'name': 'FIRST Festival of Champions',\n", " 'parent_event_key': None,\n", " 'playoff_type': 6,\n", " 'playoff_type_string': 'Best of 5 Finals',\n", " 'postal_code': '03101',\n", " 'short_name': 'FIRST Festival of Champions',\n", " 'start_date': '2017-07-29',\n", " 'state_prov': 'NH',\n", " 'timezone': 'America/New_York',\n", " 'webcasts': [{'channel': 'firstinspires', 'type': 'twitch'},\n", " {'channel': 'firstinspires1', 'type': 'twitch'}],\n", " 'website': 'https://www.firstchampionship.org/festival-of-champions',\n", " 'week': None,\n", " 'year': 2017},\n", " 'key': '2017nhfoc',\n", " 'lat': 42.9867265,\n", " 'lng': -71.4616607,\n", " 'location_name': 'SNHU Arena',\n", " 'name': 'FIRST Festival of Champions',\n", " 'parent_event_key': None,\n", " 'playoff_type': 6,\n", " 'playoff_type_string': 'Best of 5 Finals',\n", " 'postal_code': '03101',\n", " 'short_name': 'FIRST Festival of Champions',\n", " 'start_date': '2017-07-29',\n", " 'state_prov': 'NH',\n", " 'timezone': 'America/New_York',\n", " 'webcasts': [{'channel': 'firstinspires', 'type': 'twitch'},\n", " {'channel': 'firstinspires1', 'type': 'twitch'}],\n", " 'website': 'https://www.firstchampionship.org/festival-of-champions',\n", " 'week': None,\n", " 'year': 2017},\n", " {'address': '1001 Avenida De Las Americas, Houston, TX 77010, USA',\n", " 'city': 'Houston',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-04-22',\n", " 'event_code': 'roe',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJux2LIyW_QIYR2T4aJ0P5MBw',\n", " 'gmaps_url': 'https://maps.google.com/?cid=2031397498758250201',\n", " 'json': {'address': '1001 Avenida De Las Americas, Houston, TX 77010, USA',\n", " 'city': 'Houston',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2017-04-22',\n", " 'event_code': 'roe',\n", " 'event_type': 3,\n", " 'event_type_string': 'Championship Division',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJux2LIyW_QIYR2T4aJ0P5MBw',\n", " 'gmaps_url': 'https://maps.google.com/?cid=2031397498758250201',\n", " 'key': '2017roe',\n", " 'lat': 29.7521422,\n", " 'lng': -95.3578364,\n", " 'location_name': 'George R. Brown Convention Center',\n", " 'name': 'Roebling Division',\n", " 'parent_event_key': '2017cmptx',\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '77010',\n", " 'short_name': 'Roebling',\n", " 'start_date': '2017-04-19',\n", " 'state_prov': 'TX',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [{'channel': 'FIRSTInspires_Roebling',\n", " 'type': 'twitch'}],\n", " 'website': None,\n", " 'week': None,\n", " 'year': 2017},\n", " 'key': '2017roe',\n", " 'lat': 29.7521422,\n", " 'lng': -95.3578364,\n", " 'location_name': 'George R. Brown Convention Center',\n", " 'name': 'Roebling Division',\n", " 'parent_event_key': '2017cmptx',\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': '77010',\n", " 'short_name': 'Roebling',\n", " 'start_date': '2017-04-19',\n", " 'state_prov': 'TX',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [{'channel': 'FIRSTInspires_Roebling', 'type': 'twitch'}],\n", " 'website': None,\n", " 'week': None,\n", " 'year': 2017},\n", " {'address': '2001 37th Ave, San Francisco, CA 94116, USA',\n", " 'city': 'San Francisco',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2018-03-18',\n", " 'event_code': 'casf',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '28117',\n", " 'gmaps_place_id': 'ChIJL-ABOn59j4AR3SyXX8c88DA',\n", " 'gmaps_url': 'https://maps.google.com/?cid=3526385335230999773',\n", " 'json': {'address': '2001 37th Ave, San Francisco, CA 94116, USA',\n", " 'city': 'San Francisco',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2018-03-18',\n", " 'event_code': 'casf',\n", " 'event_type': 0,\n", " 'event_type_string': 'Regional',\n", " 'first_event_id': '28117',\n", " 'gmaps_place_id': 'ChIJL-ABOn59j4AR3SyXX8c88DA',\n", " 'gmaps_url': 'https://maps.google.com/?cid=3526385335230999773',\n", " 'key': '2018casf',\n", " 'lat': 37.74806950000001,\n", " 'lng': -122.4959313,\n", " 'location_name': 'St. Ignatius College Preparatory',\n", " 'name': 'San Francisco Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '94116',\n", " 'short_name': 'San Francisco',\n", " 'start_date': '2018-03-15',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.firstsfbay.org',\n", " 'week': 2,\n", " 'year': 2018},\n", " 'key': '2018casf',\n", " 'lat': 37.74806950000001,\n", " 'lng': -122.4959313,\n", " 'location_name': 'St. Ignatius College Preparatory',\n", " 'name': 'San Francisco Regional',\n", " 'parent_event_key': None,\n", " 'playoff_type': None,\n", " 'playoff_type_string': None,\n", " 'postal_code': '94116',\n", " 'short_name': 'San Francisco',\n", " 'start_date': '2018-03-15',\n", " 'state_prov': 'CA',\n", " 'timezone': 'America/Los_Angeles',\n", " 'webcasts': [],\n", " 'website': 'http://www.firstsfbay.org',\n", " 'week': 2,\n", " 'year': 2018},\n", " {'address': 'Houston, TX, USA',\n", " 'city': 'Houston',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2018-04-21',\n", " 'event_code': 'cmptx',\n", " 'event_type': 4,\n", " 'event_type_string': 'Championship Finals',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJAYWNSLS4QIYROwVl894CDco',\n", " 'gmaps_url': 'https://maps.google.com/?q=Houston,+TX,+USA&ftid=0x8640b8b4488d8501:0xca0d02def365053b',\n", " 'json': {'address': 'Houston, TX, USA',\n", " 'city': 'Houston',\n", " 'country': 'USA',\n", " 'district': None,\n", " 'division_keys': [],\n", " 'end_date': '2018-04-21',\n", " 'event_code': 'cmptx',\n", " 'event_type': 4,\n", " 'event_type_string': 'Championship Finals',\n", " 'first_event_id': None,\n", " 'gmaps_place_id': 'ChIJAYWNSLS4QIYROwVl894CDco',\n", " 'gmaps_url': 'https://maps.google.com/?q=Houston,+TX,+USA&ftid=0x8640b8b4488d8501:0xca0d02def365053b',\n", " 'key': '2018cmptx',\n", " 'lat': 29.7604267,\n", " 'lng': -95.3698028,\n", " 'location_name': None,\n", " 'name': 'FIRST Championship - Houston',\n", " 'parent_event_key': None,\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': None,\n", " 'short_name': '{} (Houston)',\n", " 'start_date': '2018-04-18',\n", " 'state_prov': 'TX',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [],\n", " 'website': 'https://www.firstchampionship.org/',\n", " 'week': None,\n", " 'year': 2018},\n", " 'key': '2018cmptx',\n", " 'lat': 29.7604267,\n", " 'lng': -95.3698028,\n", " 'location_name': None,\n", " 'name': 'FIRST Championship - Houston',\n", " 'parent_event_key': None,\n", " 'playoff_type': 0,\n", " 'playoff_type_string': 'Elimination Bracket (8 Alliances)',\n", " 'postal_code': None,\n", " 'short_name': '{} (Houston)',\n", " 'start_date': '2018-04-18',\n", " 'state_prov': 'TX',\n", " 'timezone': 'America/Chicago',\n", " 'webcasts': [],\n", " 'website': 'https://www.firstchampionship.org/',\n", " 'week': None,\n", " 'year': 2018}]\n" ] } ], "source": [ "\"\"\"\n", "By the way, if you call tba.team_events(team) and leave out the year, it'll\n", "tell you all the events over all the years. This will come in handy soon.\n", "\"\"\"\n", "\n", "pp.pprint(tba.team_events(\"frc973\"))" ] }, { "cell_type": "code", "execution_count": 11, "metadata": { "collapsed": false, "nbpresent": { "id": "eee1e46f-24cc-4369-95a6-78fffbcdce25" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "{'Archimedes Division': 3,\n", " 'Arizona Regional': 1,\n", " 'Beach Blitz': 1,\n", " 'Capital City Classic': 2,\n", " 'Carson Division': 2,\n", " 'Central Valley Regional': 5,\n", " 'Chezy Champs': 4,\n", " 'Davis Sacramento Regional': 1,\n", " 'Einstein Field': 3,\n", " 'Einstein Field (Houston)': 1,\n", " 'FIRST Championship - Houston': 1,\n", " 'FIRST Festival of Champions': 1,\n", " 'Galileo Division': 3,\n", " 'Indiana Robotics Invitational': 1,\n", " 'Inland Empire Regional': 1,\n", " 'Las Vegas Regional': 3,\n", " 'Los Angeles Regional': 3,\n", " 'Los Angeles Regional sponsored by The Roddenberry Foundation': 3,\n", " 'MadTown ThrowDown': 2,\n", " 'MadTown Throwdown': 2,\n", " 'Roebling Division': 1,\n", " 'Sacramento Regional': 2,\n", " 'San Diego Regional': 1,\n", " 'San Francisco Regional': 1,\n", " 'Silicon Valley Regional': 6,\n", " 'Silicon Valley Regional ': 1,\n", " 'Silicon Valley Regional sponsored by Google and BAE Systems': 1,\n", " 'Southern California Regional': 1,\n", " 'Ventura Regional': 1}\n" ] } ], "source": [ "\"\"\"\n", "Still with me? This one's gonna be more difficult. I'll present the problem\n", "here, then I'll write a few hints in case you get stuck. \n", "\n", "Write a function that takes in a team name and returns a count of how many times\n", "that team has been at each event. Return a dictionary that has a key for every\n", "event the team has ever been to and a value of the number of times the team has\n", "been to that event. Call this function attendance_count. \n", "\n", "Use the \"name\" field. Some events have changed names slightly over the years,\n", "but there's there's not much we can do about that today. \n", "\n", "Here's an example for 973:\n", "\"\"\"\n", "\n", "pp.pprint(attendance_count(\"frc973\"))" ] }, { "cell_type": "code", "execution_count": 12, "metadata": { "collapsed": false, "nbpresent": { "id": "80c765d4-1321-4781-a771-52d021a3827f" } }, "outputs": [ { "ename": "KeyError", "evalue": "'apples'", "output_type": "error", "traceback": [ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", "\u001b[0;31mKeyError\u001b[0m Traceback (most recent call last)", "\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m()\u001b[0m\n\u001b[1;32m 26\u001b[0m \u001b[0;31m# loop through the fruits\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 27\u001b[0m \u001b[0;32mfor\u001b[0m \u001b[0mfruit\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mfruits\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 28\u001b[0;31m \u001b[0mcounts\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mfruit\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mcounts\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mfruit\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m+\u001b[0m \u001b[0;36m1\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 29\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 30\u001b[0m \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcounts\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;31mKeyError\u001b[0m: 'apples'" ] } ], "source": [ "\"\"\"\n", "Need help? Here's a hint cell.\n", "\"\"\"\n", "\n", "# Pretend I have a list of fruits\n", "fruits = [\"apples\", \"bananas\", \"apples\", \"oranges\"]\n", "\n", "# How many of each fruit do I have? Let's write a program to count them\n", "\n", "# At some point we should probably have a loop\n", "for fruit in fruits:\n", " \"but what do we do inside the loop?\"\n", "\n", "\"\"\"\n", "As we loop through this list of fruits, we need some way to keep track of\n", "how many of each fruit we've seen so far. What should we use for this?\n", "\n", "We want to keep track of some piece of data for every type of fruit. Each\n", "type of fruit is a string. Each of these strings has to have its own variable.\n", "Let's use a dictionary.\n", "\"\"\"\n", "\n", "# create an empty dictionary\n", "counts = {}\n", "\n", "# loop through the fruits\n", "for fruit in fruits:\n", " counts[fruit] = counts[fruit] + 1\n", " \n", "print(counts)\n", "\n", "# Let's see what happens when I run this?" ] }, { "cell_type": "code", "execution_count": 15, "metadata": { "collapsed": false, "nbpresent": { "id": "3262bb99-b7b7-4550-aeb9-201701a20910" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "{'oranges': 0, 'bananas': 0, 'apples': 0}\n" ] } ], "source": [ "\"\"\"\n", "What happened? We had a KeyError. What's a KeyError? We tried to access\n", "a key in the dictionary that didn't exist. Why didn't it exist? We created\n", "an empty dictionary and then tried to access stuff from it. How do we fix this?\n", "Let's put the keys in.\n", "\"\"\"\n", "\n", "# There's several ways to populate the dictionary. Here's a simple way:\n", "counts = {}\n", "for fruit in fruits:\n", " if fruit not in counts:\n", " counts[fruit] = 0\n", "\n", "print(counts)" ] }, { "cell_type": "code", "execution_count": 17, "metadata": { "collapsed": false, "nbpresent": { "id": "d045029b-2154-4e7a-8a4c-8c51aa65225f" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "{'Archimedes Division': 4,\n", " 'Buckeye Regional': 1,\n", " 'CalGames': 3,\n", " 'Carson Division': 1,\n", " 'Central Valley Regional': 4,\n", " 'Chezy Champs': 4,\n", " 'Curie Division': 3,\n", " 'Daly Division': 1,\n", " 'Einstein Field': 8,\n", " 'Einstein Field (St. Louis)': 1,\n", " 'FIRST Festival of Champions': 1,\n", " 'Galileo Division': 3,\n", " 'Greater Toronto East Regional': 1,\n", " 'Hawaii Regional': 1,\n", " 'Indiana Robotics Invitational': 3,\n", " 'Las Vegas Regional': 3,\n", " 'Lone Star Regional': 1,\n", " 'Los Angeles Regional': 1,\n", " 'MadTown ThrowDown': 1,\n", " 'MadTown Throwdown': 2,\n", " 'NASA Ames Regional': 2,\n", " 'National Championship': 2,\n", " 'Newton Division': 4,\n", " 'Pacific Northwest Regional': 2,\n", " 'Sacramento Regional': 3,\n", " 'San Diego Regional': 2,\n", " 'San Francisco Regional': 1,\n", " 'Silicon Valley Regional': 13,\n", " 'Silicon Valley Regional ': 2,\n", " 'Silicon Valley Regional presented by Google.org': 1,\n", " 'Silicon Valley Regional sponsored by Google and BAE Systems': 1,\n", " 'Silicon Valley Regional sponsored by Google.org': 1,\n", " 'Southern California Regional': 1,\n", " 'Waterloo Regional ': 1}\n" ] } ], "source": [ "\"\"\"\n", "It worked! Well we aren't done yet, but at least it didn't crash.\n", "\n", "Now add in the code to count the fruits. Is that working for you?\n", "\n", "Use this pattern in your attendance_count function.\n", "Still stumped? Ask for help! We're probably just sitting on our\n", "laptops or something... \n", "\"\"\"\n", "\n", "pp.pprint(attendance_count(\"frc254\"))" ] }, { "cell_type": "code", "execution_count": 13, "metadata": { "collapsed": false, "scrolled": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[{'award_type': 10,\n", " 'event_key': '2015gal',\n", " 'json': {'award_type': 10,\n", " 'event_key': '2015gal',\n", " 'name': 'Rookie All Star Award',\n", " 'recipient_list': [{'awardee': None, 'team_key': 'frc5554'}],\n", " 'year': 2015},\n", " 'name': 'Rookie All Star Award',\n", " 'recipient_list': [{'awardee': None, 'team_key': 'frc5554'}],\n", " 'year': 2015},\n", " {'award_type': 10,\n", " 'event_key': '2015ista',\n", " 'json': {'award_type': 10,\n", " 'event_key': '2015ista',\n", " 'name': 'Rookie All Star Award',\n", " 'recipient_list': [{'awardee': None, 'team_key': 'frc5554'}],\n", " 'year': 2015},\n", " 'name': 'Rookie All Star Award',\n", " 'recipient_list': [{'awardee': None, 'team_key': 'frc5554'}],\n", " 'year': 2015},\n", " {'award_type': 14,\n", " 'event_key': '2015ista',\n", " 'json': {'award_type': 14,\n", " 'event_key': '2015ista',\n", " 'name': 'Highest Rookie Seed',\n", " 'recipient_list': [{'awardee': None, 'team_key': 'frc5554'}],\n", " 'year': 2015},\n", " 'name': 'Highest Rookie Seed',\n", " 'recipient_list': [{'awardee': None, 'team_key': 'frc5554'}],\n", " 'year': 2015},\n", " {'award_type': 30,\n", " 'event_key': '2017isde2',\n", " 'json': {'award_type': 30,\n", " 'event_key': '2017isde2',\n", " 'name': 'Team Spirit Award sponsored by FCA Foundation',\n", " 'recipient_list': [{'awardee': None, 'team_key': 'frc5554'}],\n", " 'year': 2017},\n", " 'name': 'Team Spirit Award sponsored by FCA Foundation',\n", " 'recipient_list': [{'awardee': None, 'team_key': 'frc5554'}],\n", " 'year': 2017},\n", " {'award_type': 30,\n", " 'event_key': '2017isde3',\n", " 'json': {'award_type': 30,\n", " 'event_key': '2017isde3',\n", " 'name': 'Team Spirit Award sponsored by FCA Foundation',\n", " 'recipient_list': [{'awardee': None, 'team_key': 'frc5554'}],\n", " 'year': 2017},\n", " 'name': 'Team Spirit Award sponsored by FCA Foundation',\n", " 'recipient_list': [{'awardee': None, 'team_key': 'frc5554'}],\n", " 'year': 2017}]\n" ] } ], "source": [ "\"\"\"\n", "Done writing attendance_count? Great work! Check out this\n", "awesome new function:\n", "\"\"\"\n", "\n", "pp.pprint(tba.team_awards(\"frc5554\"))" ] }, { "cell_type": "code", "execution_count": 15, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[{'award_type': 1,\n", " 'event_key': '2016cama',\n", " 'json': {'award_type': 1,\n", " 'event_key': '2016cama',\n", " 'name': 'Regional Winners',\n", " 'recipient_list': [{'awardee': None, 'team_key': 'frc1678'},\n", " {'awardee': None, 'team_key': 'frc254'},\n", " {'awardee': None, 'team_key': 'frc3970'}],\n", " 'year': 2016},\n", " 'name': 'Regional Winners',\n", " 'recipient_list': [{'awardee': None, 'team_key': 'frc1678'},\n", " {'awardee': None, 'team_key': 'frc254'},\n", " {'awardee': None, 'team_key': 'frc3970'}],\n", " 'year': 2016},\n", " {'award_type': 29,\n", " 'event_key': '2016cama',\n", " 'json': {'award_type': 29,\n", " 'event_key': '2016cama',\n", " 'name': 'Innovation in Control Award sponsored by Rockwell '\n", " 'Automation',\n", " 'recipient_list': [{'awardee': None, 'team_key': 'frc254'}],\n", " 'year': 2016},\n", " 'name': 'Innovation in Control Award sponsored by Rockwell Automation',\n", " 'recipient_list': [{'awardee': None, 'team_key': 'frc254'}],\n", " 'year': 2016},\n", " {'award_type': 1,\n", " 'event_key': '2016casj',\n", " 'json': {'award_type': 1,\n", " 'event_key': '2016casj',\n", " 'name': 'Regional Winners',\n", " 'recipient_list': [{'awardee': None, 'team_key': 'frc1678'},\n", " {'awardee': None, 'team_key': 'frc254'},\n", " {'awardee': None, 'team_key': 'frc1662'}],\n", " 'year': 2016},\n", " 'name': 'Regional Winners',\n", " 'recipient_list': [{'awardee': None, 'team_key': 'frc1678'},\n", " {'awardee': None, 'team_key': 'frc254'},\n", " {'awardee': None, 'team_key': 'frc1662'}],\n", " 'year': 2016},\n", " {'award_type': 5,\n", " 'event_key': '2016cc',\n", " 'json': {'award_type': 5,\n", " 'event_key': '2016cc',\n", " 'name': 'Volunteer Award',\n", " 'recipient_list': [{'awardee': 'Nick Eyre', 'team_key': 'frc254'}],\n", " 'year': 2016},\n", " 'name': 'Volunteer Award',\n", " 'recipient_list': [{'awardee': 'Nick Eyre', 'team_key': 'frc254'}],\n", " 'year': 2016},\n", " {'award_type': 2,\n", " 'event_key': '2016new',\n", " 'json': {'award_type': 2,\n", " 'event_key': '2016new',\n", " 'name': 'Championship Subdivision Finalist',\n", " 'recipient_list': [{'awardee': None, 'team_key': 'frc1241'},\n", " {'awardee': None, 'team_key': 'frc254'},\n", " {'awardee': None, 'team_key': 'frc1731'},\n", " {'awardee': None, 'team_key': 'frc708'}],\n", " 'year': 2016},\n", " 'name': 'Championship Subdivision Finalist',\n", " 'recipient_list': [{'awardee': None, 'team_key': 'frc1241'},\n", " {'awardee': None, 'team_key': 'frc254'},\n", " {'awardee': None, 'team_key': 'frc1731'},\n", " {'awardee': None, 'team_key': 'frc708'}],\n", " 'year': 2016}]\n" ] } ], "source": [ "\"\"\"\n", "What type is this? What type are all the items? \n", "\n", "By the way, if you want to limit the awards to a particular\n", "year or event, you can pass the year or event code as the\n", "second parameter. Let's take a look at 254's 2016 season:\n", "\"\"\"\n", "\n", "pp.pprint(tba.team_awards(\"frc254\", 2016))" ] }, { "cell_type": "code", "execution_count": 23, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[['frc100', 'frc254'],\n", " ['frc60', 'frc254', 'frc409'],\n", " ['frc254', 'frc364', 'frc437'],\n", " ['frc33', 'frc111', 'frc144', 'frc254', 'frc349'],\n", " ['frc254', 'frc260', 'frc294', 'frc330', 'frc698'],\n", " ['frc60', 'frc254', 'frc256', 'frc359', 'frc636'],\n", " ['frc254', 'frc60', 'frc359'],\n", " ['frc115', 'frc254', 'frc852'],\n", " ['frc254', 'frc753', 'frc955'],\n", " ['frc971', 'frc254', 'frc852'],\n", " ['frc56', 'frc64', 'frc254'],\n", " ['frc254', 'frc980', 'frc22'],\n", " ['frc254', 'frc753', 'frc1887'],\n", " ['frc254', 'frc581', 'frc766'],\n", " ['frc254', 'frc330', 'frc4'],\n", " ['frc1425', 'frc254', 'frc1983'],\n", " ['frc233', 'frc254', 'frc2454'],\n", " ['frc100', 'frc254', 'frc115'],\n", " ['frc971', 'frc254', 'frc852'],\n", " ['frc254', 'frc233', 'frc3357'],\n", " ['frc25', 'frc254', 'frc3230'],\n", " ['frc971', 'frc254', 'frc649'],\n", " ['frc254', 'frc111', 'frc973'],\n", " ['frc254', 'frc111', 'frc973'],\n", " ['frc254', 'frc987', 'frc3704'],\n", " ['frc254', 'frc1538', 'frc751'],\n", " ['frc254', 'frc766', 'frc971'],\n", " ['frc1138', 'frc254', 'frc987'],\n", " ['frc1967', 'frc118', 'frc254'],\n", " ['frc254', 'frc973', 'frc2135'],\n", " ['frc971', 'frc254', 'frc1662'],\n", " ['frc1678', 'frc254', 'frc973'],\n", " ['frc254', 'frc2848', 'frc469', 'frc74'],\n", " ['frc254', 'frc469', 'frc2848', 'frc74'],\n", " ['frc254', 'frc2056', 'frc865'],\n", " ['frc1678', 'frc254', 'frc1323'],\n", " ['frc254', 'frc1678', 'frc5027'],\n", " ['frc1678', 'frc254', 'frc3970'],\n", " ['frc1678', 'frc254', 'frc1662'],\n", " ['frc254', 'frc971', 'frc4990'],\n", " ['frc254', 'frc604', 'frc4990'],\n", " ['frc254', 'frc1011', 'frc696', 'frc5104'],\n", " ['frc2767', 'frc254', 'frc862', 'frc1676'],\n", " ['frc2767', 'frc254', 'frc862', 'frc1676'],\n", " ['frc2767', 'frc254', 'frc862', 'frc1676']]\n" ] } ], "source": [ "\"\"\"\n", "2 Regional wins and a subdivision finalist. Not bad.\n", "\n", "Write a function called winning_alliances that takes a team name\n", "and returns a list of all the winning alliances they've been on.\n", "If you run into trouble, the next few cells will contain hints. \n", "\n", "Here's some example output:\n", "\"\"\"\n", "\n", "pp.pprint(winning_alliances(\"frc254\"))" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": false, "scrolled": true }, "outputs": [], "source": [ "\"\"\"\n", "Alright alright this one is kinda hard so let's break it down\n", "into smaller chunks. The next few cells contain hints for the problem above.\n", "\n", "First off, there's tons of awards in these lists! How do we tell which ones\n", "are event wins, which ones are chairmens, which ones are the safety award, etc?\n", "\n", "Look through the list and see if any of the \"winning\" awards have something in\n", "common. Now write a function that takes an award and returns true if it's winning\n", "or false if it's not winning.\n", "\"\"\"\n", "\n", "def is_winning_award(single_award):\n", " \"Is the award winning? How will you check?\"\n", " \n", "\"\"\"\n", "Coolio. That tells if if *one* award is winning, let's write a function to pull out\n", "all the winning awards.\n", "\"\"\"\n", "\n", "def find_all_winning_awards(list_of_awards):\n", " for award in list_of_awards:\n", " if is_winning_award(award):\n", " return award\n", " \n", "\"\"\"\n", "There's a bug in the function above. Can you find it?\n", "\"\"\"" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true }, "outputs": [], "source": [ "\"\"\"\n", "Hint #2. We've got our list of winning awards, how do we get a list of\n", "teams out of that?\n", "\n", "Pretend you've got one award and you already know it's a winning award.\n", "Write a function to turn that award into a list of winning teams.\n", "\"\"\"\n", "\n", "def get_winning_alliance_from_award(award):\n", " \"How are you going to build that list of teams?\"" ] }, { "cell_type": "code", "execution_count": 27, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[['frc207', 'frc973', 'frc2659'],\n", " ['frc254', 'frc111', 'frc973'],\n", " ['frc254', 'frc111', 'frc973'],\n", " ['frc1836', 'frc973', 'frc1717'],\n", " ['frc254', 'frc973', 'frc2135'],\n", " ['frc1678', 'frc254', 'frc973'],\n", " ['frc67', 'frc973', 'frc2481', 'frc2363'],\n", " ['frc330', 'frc973', 'frc1515'],\n", " ['frc330', 'frc973', 'frc3925'],\n", " ['frc973', 'frc330', 'frc968'],\n", " ['frc1678', 'frc973', 'frc2543'],\n", " ['frc973', 'frc1011', 'frc2928', 'frc5499'],\n", " ['frc973', 'frc1011', 'frc2928', 'frc5499']]\n", "{'frc1011': 2,\n", " 'frc111': 2,\n", " 'frc1515': 1,\n", " 'frc1678': 2,\n", " 'frc1717': 1,\n", " 'frc1836': 1,\n", " 'frc207': 1,\n", " 'frc2135': 1,\n", " 'frc2363': 1,\n", " 'frc2481': 1,\n", " 'frc254': 4,\n", " 'frc2543': 1,\n", " 'frc2659': 1,\n", " 'frc2928': 2,\n", " 'frc330': 3,\n", " 'frc3925': 1,\n", " 'frc5499': 2,\n", " 'frc67': 1,\n", " 'frc968': 1,\n", " 'frc973': 13}\n" ] } ], "source": [ "\"\"\"\n", "Next problem. Write a function called co_win_count that takes in a team\n", "and returns a dictionary that shows how many times each team has been on\n", "a winning alliance with the team. Here's an example:\n", "\"\"\"\n", "\n", "pp.pprint(winning_alliances(\"frc973\"))\n", "pp.pprint(co_win_count(\"frc973\"))" ] } ], "metadata": { "anaconda-cloud": {}, "kernelspec": { "display_name": "py35native", "language": "python", "name": "py35native" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.5.2" } }, "nbformat": 4, "nbformat_minor": 1 }