stimmenfryslan/notebooks/Pronunciation heat maps Gemeente Words combined.ipynb

616 lines
4.6 MiB
Plaintext
Raw Normal View History

2018-09-28 10:35:17 +02:00
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Geographical pronunciation statistics"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {},
"outputs": [],
"source": [
"import pandas\n",
"import MySQLdb\n",
"import numpy\n",
"import json\n",
"\n",
"db = MySQLdb.connect(user='root', passwd='Nmmxhjgt1@', db='stimmen', charset='utf8')\n",
"\n",
"%matplotlib notebook\n",
"from matplotlib import pyplot\n",
"import folium\n",
"from IPython.display import display\n",
"from shapely.geometry import Polygon, MultiPolygon, shape, Point, box, mapping\n",
"from jupyter_progressbar import ProgressBar\n",
"from collections import defaultdict\n",
"from ipy_table import make_table\n",
"from html import escape\n",
"\n",
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"from matplotlib.colors import LogNorm\n",
"from sklearn import mixture\n",
"from skimage.measure import find_contours\n",
"from collections import Counter\n",
"from random import shuffle"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"# Borders of Frysian municipalities\n",
"\n",
"with open('Friesland_AL8.GeoJson') as f:\n",
" gemeentes = json.load(f)"
]
},
{
"cell_type": "code",
"execution_count": 34,
"metadata": {},
"outputs": [],
"source": [
"coords = [feature['geometry'] for feature in gemeentes['features']]\n",
"coords_folium = [[[[c__[::-1] for c__ in c_] for c_ in c] for c in coords_['coordinates']] for coords_ in coords]\n",
"shapes = [shape(coords_).simplify(tolerance=0.001) for coords_ in coords]\n",
"gemeente_names = [feature['properties']['name'] for feature in gemeentes['features']]\n",
"\n",
"def get_gemeente(point):\n",
" for i, shape in enumerate(shapes):\n",
" if shape.contains(point):\n",
" return i\n",
" return -1"
]
},
{
"cell_type": "code",
"execution_count": 35,
"metadata": {},
"outputs": [],
"source": [
"# Answers to how participants state a word should be pronounces.\n",
"\n",
"answers = pandas.read_sql('''\n",
"SELECT prediction_quiz_id, user_lat, user_lng, question_text, answer_text\n",
"FROM core_surveyresult as survey\n",
"INNER JOIN core_predictionquizresult as result ON survey.id = result.survey_result_id\n",
"INNER JOIN core_predictionquizresultquestionanswer as answer\n",
" ON result.id = answer.prediction_quiz_id\n",
"''', db)"
]
},
{
"cell_type": "code",
"execution_count": 36,
"metadata": {},
"outputs": [],
"source": [
"zero_latlng_questions = {\n",
" q\n",
" for q, row in answers.groupby('question_text').agg('std').iterrows()\n",
" if row['user_lat'] == 0 and row['user_lng'] == 0\n",
"}\n",
"answers_filtered = answers[answers['question_text'].map(lambda x: x not in zero_latlng_questions)]"
]
},
{
"cell_type": "code",
"execution_count": 37,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/home/herbert/.virtualenvs/stimmenfryslan/lib/python3.6/site-packages/ipykernel_launcher.py:10: SettingWithCopyWarning: \n",
"A value is trying to be set on a copy of a slice from a DataFrame.\n",
"Try using .loc[row_indexer,col_indexer] = value instead\n",
"\n",
"See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
" # Remove the CWD from sys.path while we load stuff.\n"
]
}
],
"source": [
"# Takes approximately 2 minutes\n",
"\n",
"gemeente_map = {\n",
" (lng, lat): get_gemeente(Point(lng, lat))\n",
" for lng, lat in set(zip(answers_filtered['user_lng'], answers_filtered['user_lat']))\n",
"}\n",
"\n",
"answers_filtered['gemeente'] = [\n",
" gemeente_map[(lng, lat)]\n",
" for lat, lng in zip(answers_filtered['user_lat'], answers_filtered['user_lng'])\n",
"]"
]
},
{
"cell_type": "code",
"execution_count": 38,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/home/herbert/.virtualenvs/stimmenfryslan/lib/python3.6/site-packages/ipykernel_launcher.py:2: SettingWithCopyWarning: \n",
"A value is trying to be set on a copy of a slice from a DataFrame.\n",
"Try using .loc[row_indexer,col_indexer] = value instead\n",
"\n",
"See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
" \n"
]
}
],
"source": [
"answers_filtered['question_text_url'] = answers_filtered['question_text'].map(\n",
" lambda x: x.replace('\"', '').replace('*', ''))"
]
},
{
"cell_type": "code",
"execution_count": 44,
"metadata": {},
"outputs": [],
"source": [
"def reverse(rd_multipolygon):\n",
" if len(rd_multipolygon) == 2 and tuple(map(type, rd_multipolygon)) == (float, float):\n",
" return rd_multipolygon[::-1]\n",
" return [\n",
" reverse(element)\n",
" for element in rd_multipolygon\n",
" ]"
]
},
{
"cell_type": "code",
"execution_count": 46,
"metadata": {},
"outputs": [],
"source": [
"def get_palette(n, no_black=True, no_white=True):\n",
" with open('glasbey/{}_colors.txt'.format(n + no_black + no_white)) as f:\n",
" return [\n",
" '#%02x%02x%02x' % tuple(int(c) for c in line.replace('\\n', '').split(','))\n",
" for line in f\n",
" if not no_black or line != '0,0,0\\n'\n",
" if not no_white or line != '255,255,255\\n'\n",
" ]"
]
},
{
"cell_type": "code",
"execution_count": 89,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "56dab238a8864488a66a23b26dfa4ce3",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"VBox(children=(HBox(children=(FloatProgress(value=0.0, max=1.0), HTML(value='<b>0</b>s passed', placeholder='0…"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"cdfs = [\n",
" np.array([\n",
" box(xmin, ymin, xmax_, ymax).intersection(shape).area / shape.area\n",
" for xmax_ in numpy.linspace(xmin, xmax, 10001)\n",
" ][1:])\n",
" for shape in ProgressBar(shapes)\n",
" for xmin, ymin, xmax, ymax in [shape.bounds]\n",
"]"
]
},
{
"cell_type": "code",
"execution_count": 106,
"metadata": {
"scrolled": false
},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "6a7c2ca1bb1042ff8cfd4b6efbb14c2a",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"VBox(children=(HBox(children=(FloatProgress(value=0.0, max=1.0), HTML(value='<b>0</b>s passed', placeholder='0…"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkPiAgICAKICAgIDxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04IiAvPgogICAgPHNjcmlwdD5MX1BSRUZFUl9DQU5WQVM9ZmFsc2U7IExfTk9fVE9VQ0g9ZmFsc2U7IExfRElTQUJMRV8zRD1mYWxzZTs8L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvbnBtL2xlYWZsZXRAMS4yLjAvZGlzdC9sZWFmbGV0LmpzIj48L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2FqYXguZ29vZ2xlYXBpcy5jb20vYWpheC9saWJzL2pxdWVyeS8xLjExLjEvanF1ZXJ5Lm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA8c2NyaXB0IHNyYz0iaHR0cHM6Ly9tYXhjZG4uYm9vdHN0cmFwY2RuLmNvbS9ib290c3RyYXAvMy4yLjAvanMvYm9vdHN0cmFwLm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA8c2NyaXB0IHNyYz0iaHR0cHM6Ly9jZG5qcy5jbG91ZGZsYXJlLmNvbS9hamF4L2xpYnMvTGVhZmxldC5hd2Vzb21lLW1hcmtlcnMvMi4wLjIvbGVhZmxldC5hd2Vzb21lLW1hcmtlcnMuanMiPjwvc2NyaXB0PgogICAgPGxpbmsgcmVsPSJzdHlsZXNoZWV0IiBocmVmPSJodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvbnBtL2xlYWZsZXRAMS4yLjAvZG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biI6IG51bGwsCiAgICAgICAgImRldGVjdFJldGluYSI6IGZhbHNlLAogICAgICAgICJtYXhOYXRpdmVab29tIjogMTgsCiAgICAgICAgIm1heFpvb20iOiAxOCwKICAgICAgICAibWluWm9vbSI6IDAsCiAgICAgICAgIm5vV3JhcCI6IGZhbHNlLAogICAgICAgICJzdWJkb21haW5zIjogImFiYyIKfSkuYWRkVG8obWFwX2U4NDk2OTQ4MGE1MDRmYzJiYzY2N2UxNWNmYjc0ODMxKTsKICAgIAoKICAgICAgICAgICAgdmFyIHBvbHlnb25fZTk3MWIxYWIxZjRkNDc5ZDg1MTc0Y2NjYTEyNDNhNjAgPSBMLnBvbHlnb24oCiAgICAgICAgICAgICAgICBbW1s1My4yNDA5MjQsIDYuMDE5Nzg5XSwgWzUzLjI0Mjc5MSwgNi4wMjMwOTRdLCBbNTMuMjQxMzk4LCA2LjAyNzhdLCBbNTMuMjQyNzU5LCA2LjAyODgxNl0sIFs1My4yNDI2MTcsIDYuMDM4ODQ5XSwgWzUzLjI0ODQ0OCwgNi4wNzQ1MTVdLCBbNTMuMjU5ODU1LCA2LjExMDc3NF0sIFs1My4yNjQzODMsIDYuMTQxMDU4XSwgWzUzLjI2MDE2NSwgNi4xNDQ5NzhdLCBbNTMuMjYzNjg0LCA2LjE1ODc4MV0sIFs1My4yNjE5ODUsIDYuMTYwNTIzXSwgWzUzLjI2Mzk1OCwgNi4xNjQxOTZdLCBbNTMuMjU5MDU0LCA2LjE3OTQ5MV0sIFs1My4yNTk2NTUsIDYuMTgxMTg0XSwgWzUzLjI2MTA1LCA2LjE4MDcyMV0sIFs1My4yN
],
"text/plain": [
"<folium.folium.Map at 0x7fba3c7bd470>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkPiAgICAKICAgIDxtZXR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iAgICA8ZGl2IGNsYXNzPSJmb2xpdW0tbWFwIiBpZD0ibWFwXzcwOGE2YTEwMDY4MDQzYzViNDBkOTU0YWViM2FlNzg5IiA+PC9kaXY+CjwvYm9keT4KPHNjcmlwdD4gICAgCiAgICAKICAgIAogICAgICAgIHZhciBib3VuZHMgPSBudWxsOwogICAgCgogICAgdmFyIG1hcF83MDhhNmExMDA2ODA0M2M1YjQwZDk1NGFlYjNhZTc4OSA9IEwubWFwKAogICAgICAgICdtYXBfNzA4YTZhMTAwNjgwNDNjNWI0MGQ5NTRhZWIzYWU3ODknLCB7CiAgICAgICAgY2VudGVyOiBbNTMuMTc5ODAzMzczMzkxNDMsIDUuOTAzNjk0MTM5NjA4NjgzXSwKICAgICAgICB6b29tOiAxMCwKICAgICAgICBtYXhCb3VuZHM6IGJvdW5kcywKICAgICAgICBsYXllcnM6IFtdLAogICAgICAgIHdvcmxkQ29weUp1bXA6IGZhbHNlLAogICAgICAgIGNyczogTC5DUlMuRVBTRzM4NTcsCiAgICAgICAgem9vbUNvbnRyb2w6IHRydWUsCiAgICAgICAgfSk7CgogICAgCiAgICAKICAgIHZhciB0aWxlX2xheWVyXzFmNDY1MjM0MDU0ZDQ1MzY5YjFmYTM4ZTA2YzAwNmFlID0gTC50aWxlTGF5ZXIoCiAgICAgICAgJ2h0dHBzOi8vc3RhbWVuLXRpbGVzLXtzfS5hLnNzbC5mYXN0bHkubmV0L3RvbmVyL3t6fS97eH0ve3l9LnBuZycsCiAgICAgICAgewogICAgICAgICJhdHRyaWJ1dGlvbiI6IG51bGwsCiAgICAgICAgImRldGVjdFJldGluYSI6IGZhbHNlLAogICAgICAgICJtYXhOYXRpdmVab29tIjogMTgsCiAgICAgICAgIm1heFpvb20iOiAxOCwKICAgICAgICAibWluWm9vbSI6IDAsCiAgICAgICAgIm5vV3JhcCI6IGZhbHNlLAogICAgICAgICJzdWJkb21haW5zIjogImFiYyIKfSkuYWRkVG8obWFwXzcwOGE2YTEwMDY4MDQzYzViNDBkOTU0YWViM2FlNzg5KTsKICAgIAoKICAgICAgICAgICAgdmFyIHBvbHlnb25fN2M4ZDU1MzAxODhkNGMyZjg0NWY3ZTBjOWI4NzA5YTMgPSBMLnBvbHlnb24oCiAgICAgICAgICAgICAgICBbW1s1My4yNDA5MjQsIDYuMDE5Nzg5XSwgWzUzLjI0Mjc5MSwgNi4wMjMwOTRdLCBbNTMuMjQxMzk4LCA2LjAyNzhdLCBbNTMuMjQyNzU5LCA2LjAyODgxNl0sIFs1My4yNDI2MTcsIDYuMDM4ODQ5XSwgWzUzLjI0ODQ0OCwgNi4wNzQ1MTVdLCBbNTMuMjU5ODU1LCA2LjExMDc3NF0sIFs1My4yNjQzODMsIDYuMTQxMDU4XSwgWzUzLjI2MDE2NSwgNi4xNDQ5NzhdLCBbNTMuMjYzNjg0LCA2LjE1ODc4MV0sIFs1My4yNjE5ODUsIDYuMTYwNTIzXSwgWzUzLjI2Mzk1OCwgNi4xNjQxOTZdLCBbNTMuMjU5MDU0LCA2LjE3OTQ5MV0sIFs1My4yNTk2NTUsIDYuMTgxMTg0XSwgWzUzLjI2MTA1LCA2LjE4MDcyMV0sIFs1My4yN
],
"text/plain": [
"<folium.folium.Map at 0x7fba3c807a58>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkPiAgICAKICAgIDxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04IiAvPgogICAgPHNjcmlwdD5MX1BSRUZFUl9DQU5WQVM9ZmFsc2U7IExfTk9fVE9VQ0g9ZmFsc2U7IExfRElTQUJMRV8zRD1mYWxzZTs8L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2Nkbi5qc2RlbGl2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MjQyNzU5LCA2LjAyODgxNl0sIFs1My4yNDI2MTcsIDYuMDM4ODQ5XSwgWzUzLjI0ODQ0OCwgNi4wNzQ1MTVdLCBbNTMuMjU5ODU1LCA2LjExMDc3NF0sIFs1My4yNjQzODMsIDYuMTQxMDU4XSwgWzUzLjI2MDE2NSwgNi4xNDQ5NzhdLCBbNTMuMjYzNjg0LCA2LjE1ODc4MV0sIFs1My4yNjE5ODUsIDYuMTYwNTIzXSwgWzUzLjI2Mzk1OCwgNi4xNjQxOTZdLCBbNTMuMjU5MDU0LCA2LjE3OTQ5MV0sIFs1My4yNTk2NTUsIDYuMTgxMTg0XSwgWzUzLjI2MTA1LCA2LjE4MDcyMV0sIFs1My4yN
],
"text/plain": [
"<folium.folium.Map at 0x7fba3b0e8a20>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkPiAgICAKICAgIDxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04IiAvPgogICAgPHNjcmlwdD5MX1BSRUZFUl9DQU5WQVM9ZmFsc2U7IExfTk9fVE9VQ0g9ZmFsc2U7IExfRElTQUJMRV8zRD1mYWxzZTs8L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvbnBtL2xlYWZsZXRAMS4yLjAvZGlzdC9sZWFmbGV0LmpzIj48L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2FqYXguZ29vZ2xlYXBpcy5jb20vYWpheC9saWJzL2pxdWVyeS8xLjExLjEvanF1ZXJ5Lm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA8c2NyaXB0IHNyYz0iaHR0cHM6Ly9tYXhjZG4uYm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YuMTYwNTIzXSwgWzUzLjI2Mzk1OCwgNi4xNjQxOTZdLCBbNTMuMjU5MDU0LCA2LjE3OTQ5MV0sIFs1My4yNTk2NTUsIDYuMTgxMTg0XSwgWzUzLjI2MTA1LCA2LjE4MDcyMV0sIFs1My4yN
],
"text/plain": [
"<folium.folium.Map at 0x7fba3aa0a5f8>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkPiAgICAKICAgIDxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04IiAvPgogICAgPHNjcmlwdD5MX1BSRUZFUl9DQU5WQVM9ZmFsc2U7IExfTk9fVE9VQ0g9ZmFsc2U7IExfRElTQUJMRV8zRD1mYWxzZTs8L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvbnBtL2xlYWZsZXRAMS4yLjAvZGlzdC9sZWFmbGV0LmpzIj48L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2FqYXguZ29vZ2xlYXBpcy5jb20vYWpheC9saWJzL2pxdWVyeS8xLjExLjEvanF1ZXJ5Lm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA8c2NyaXB0IHNyYz0iaHR0cHM6Ly9tYXhjZG4uYm9vdHN0cmFwY2RuLmNvbS9ib290c3RyYXAvMy4yLjAvanMvYm9vdHN0cmFwLm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA8c2NyaXB0IHNyYz0iaHR0cHM6Ly9jZG5qcy5jbG91ZGZsYXJlLmNvbS9hamF4L2xpYnMvTGVhZmxldC5hd2Vzb21lLW1hcmtlcnMvMi4wLjIvbGVhZmxldC5hd2Vzb21lLW1hcmtlcn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2h0dHBzOi8vc3RhbWVuLXRpbGVzLXtzfS5hLnNzbC5mYXN0bHkubmV0L3RvbmVyL3t6fS97eH0ve3l9LnBuZycsCiAgICAgICAgewogICAgICAgICJhdHRyaWJ1dGlvbiI6IG51bGwsCiAgICAgICAgImRldGVjdFJldGluYSI6IGZhbHNlLAogICAgICAgICJtYXhOYXRpdmVab29tIjogMTgsCiAgICAgICAgIm1heFpvb20iOiAxOCwKICAgICAgICAibWluWm9vbSI6IDAsCiAgICAgICAgIm5vV3JhcCI6IGZhbHNlLAogICAgICAgICJzdWJkb21haW5zIjogImFiYyIKfSkuYWRkVG8obWFwX2MwOWY1M2E3NjA3MjQyMzliNzkxN2Y0NDdhYmUwOTQ0KTsKICAgIAoKICAgICAgICAgICAgdmFyIHBvbHlnb25fYmEwYWRlYjk5YTRkNGE3ZDhlNDkzZDg4ODMwZWE1MWYgPSBMLnBvbHlnb24oCiAgICAgICAgICAgICAgICBbW1s1My4yNDA5MjQsIDYuMDE5Nzg5XSwgWzUzLjI0Mjc5MSwgNi4wMjMwOTRdLCBbNTMuMjQxMzk4LCA2LjAyNzhdLCBbNTMuMjQyNzU5LCA2LjAyODgxNl0sIFs1My4yNDI2MTcsIDYuMDM4ODQ5XSwgWzUzLjI0ODQ0OCwgNi4wNzQ1MTVdLCBbNTMuMjU5ODU1LCA2LjExMDc3NF0sIFs1My4yNjQzODMsIDYuMTQxMDU4XSwgWzUzLjI2MDE2NSwgNi4xNDQ5NzhdLCBbNTMuMjYzNjg0LCA2LjE1ODc4MV0sIFs1My4yNjE5ODUsIDYuMTYwNTIzXSwgWzUzLjI2Mzk1OCwgNi4xNjQxOTZdLCBbNTMuMjU5MDU0LCA2LjE3OTQ5MV0sIFs1My4yNTk2NTUsIDYuMTgxMTg0XSwgWzUzLjI2MTA1LCA2LjE4MDcyMV0sIFs1My4yN
],
"text/plain": [
"<folium.folium.Map at 0x7fba2e381908>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkPiAgICAKICAgIDxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04IiAvPgogICAgPHNjcmlwdD5MX1BSRUZFUl9DQU5WQVM9ZmFsc2U7IExfTk9fVE9VQ0g9ZmFsc2U7IExfRElTQUJMRV8zRD1mYWxzZTs8L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvbnBtL2xlYWZsZXRAMS4yLjAvZGlzdC9sZWFmbGV0LmpzIj48L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2FqYXguZ29vZ2xlYXBpcy5jb20vYWpheC9saWJzL2pxdWVyeS8xLjExLjEvanF1ZXJ5Lm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA8c2NyaXB0IHNyYz0iaHR0cHM6Ly9tYXhjZG4uYm9vdHN0cmFwY2RuLmNvbS9ib290c3RyYXAvMy4yLjAvanMvYm9vdHN0cmFwLm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA8c2NyaXB0IHNyYz0iaHR0cHM6Ly9jZG5qcy5jbG91ZGZsYXJlLmNvbS9hamF4L2xpYnMvTGVhZmxldC5hd2Vzb21lLW1hcmtlcnMvMi4wLjIvbGVhZmxldC5hd2Vzb21lLW1hcmtlcnMuanMiPjwvc2NyaXB0PgogICAgPGxpbmsgcmVsPSJzdHlsZXNoZWV0IiBocmVmPSJodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvbnBtL2xlYWZsZXRAMS4yLjAvZGlzdC9sZWFmbGV0LmNzcyIvPgogICAgPGxpbmsgcmVsPSJzdHlsZXNoZWV0IiBocmVmPSJodHRwczovL21heGNkbi5ib290c3RyYXBjZG4uY29tL2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AgICAgICAibWluWm9vbSI6IDAsCiAgICAgICAgIm5vV3JhcCI6IGZhbHNlLAogICAgICAgICJzdWJkb21haW5zIjogImFiYyIKfSkuYWRkVG8obWFwXzg4NWJkMmUyYzUwMTQ5NmNhMWJlZDNmYzRmZDQ4MzA0KTsKICAgIAoKICAgICAgICAgICAgdmFyIHBvbHlnb25fMWVhODVhMTJmMmU3NDk0MjkxYjUyOTc2NWUxZmYyZmUgPSBMLnBvbHlnb24oCiAgICAgICAgICAgICAgICBbW1s1My4yNDA5MjQsIDYuMDE5Nzg5XSwgWzUzLjI0Mjc5MSwgNi4wMjMwOTRdLCBbNTMuMjQxMzk4LCA2LjAyNzhdLCBbNTMuMjQyNzU5LCA2LjAyODgxNl0sIFs1My4yNDI2MTcsIDYuMDM4ODQ5XSwgWzUzLjI0ODQ0OCwgNi4wNzQ1MTVdLCBbNTMuMjU5ODU1LCA2LjExMDc3NF0sIFs1My4yNjQzODMsIDYuMTQxMDU4XSwgWzUzLjI2MDE2NSwgNi4xNDQ5NzhdLCBbNTMuMjYzNjg0LCA2LjE1ODc4MV0sIFs1My4yNjE5ODUsIDYuMTYwNTIzXSwgWzUzLjI2Mzk1OCwgNi4xNjQxOTZdLCBbNTMuMjU5MDU0LCA2LjE3OTQ5MV0sIFs1My4yNTk2NTUsIDYuMTgxMTg0XSwgWzUzLjI2MTA1LCA2LjE4MDcyMV0sIFs1My4yN
],
"text/plain": [
"<folium.folium.Map at 0x7fba2e381748>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkPiAgICAKICAgIDxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04IiAvPgogICAgPHNjcmlwdD5MX1BSRUZFUl9DQU5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QyMDggPSBMLnBvbHlnb24oCiAgICAgICAgICAgICAgICBbW1s1My4yNDA5MjQsIDYuMDE5Nzg5XSwgWzUzLjI0Mjc5MSwgNi4wMjMwOTRdLCBbNTMuMjQxMzk4LCA2LjAyNzhdLCBbNTMuMjQyNzU5LCA2LjAyODgxNl0sIFs1My4yNDI2MTcsIDYuMDM4ODQ5XSwgWzUzLjI0ODQ0OCwgNi4wNzQ1MTVdLCBbNTMuMjU5ODU1LCA2LjExMDc3NF0sIFs1My4yNjQzODMsIDYuMTQxMDU4XSwgWzUzLjI2MDE2NSwgNi4xNDQ5NzhdLCBbNTMuMjYzNjg0LCA2LjE1ODc4MV0sIFs1My4yNjE5ODUsIDYuMTYwNTIzXSwgWzUzLjI2Mzk1OCwgNi4xNjQxOTZdLCBbNTMuMjU5MDU0LCA2LjE3OTQ5MV0sIFs1My4yNTk2NTUsIDYuMTgxMTg0XSwgWzUzLjI2MTA1LCA2LjE4MDcyMV0sIFs1My4yN
],
"text/plain": [
"<folium.folium.Map at 0x7fba2e3f7ac8>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkPiAgICAKICAgIDxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04IiAvPgogICAgPHNjcmlwdD5MX1BSRUZFUl9DQU5WQVM9ZmFsc2U7IExfTk9fVE9VQ0g9ZmFsc2U7IExfRElTQUJMRV8zRD1mYWxzZTs8L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvbnBtL2xlYWZsZXRAMS4yLjAvZGlzdC9sZWFmbGV0LmpzIj48L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczov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TMuMjU5ODU1LCA2LjExMDc3NF0sIFs1My4yNjQzODMsIDYuMTQxMDU4XSwgWzUzLjI2MDE2NSwgNi4xNDQ5NzhdLCBbNTMuMjYzNjg0LCA2LjE1ODc4MV0sIFs1My4yNjE5ODUsIDYuMTYwNTIzXSwgWzUzLjI2Mzk1OCwgNi4xNjQxOTZdLCBbNTMuMjU5MDU0LCA2LjE3OTQ5MV0sIFs1My4yNTk2NTUsIDYuMTgxMTg0XSwgWzUzLjI2MTA1LCA2LjE4MDcyMV0sIFs1My4yN
],
"text/plain": [
"<folium.folium.Map at 0x7fba3a8a0ba8>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkPiAgICAKICAgIDxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04IiAvPgogICAgPHNjcmlwdD5MX1BSRUZFUl9DQU5WQVM9ZmFsc2U7IExfTk9fVE9VQ0g9ZmFsc2U7IExfRElTQUJMRV8zRD1mYWxzZTs8L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvbnBtL2xlYWZsZXRAMS4yLjAvZGlzdC9sZWFmbGV0LmpzIj48L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2FqYXguZ29vZ2xlYXBpcy5jb20vYWpheC9saWJzL2pxdWVyeS8xLjExLjEvanF1ZXJ5Lm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA8c2NyaXB0IHNyYz0iaHR0cHM6Ly9tYXhjZG4uYm9vdHN0cmFwY2RuLmNvbS9ib290c3RyYXAvMy4yLjAvanMvYm9vdHN0cmFwLm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA8c2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IDYuMTgxMTg0XSwgWzUzLjI2MTA1LCA2LjE4MDcyMV0sIFs1My4yN
],
"text/plain": [
"<folium.folium.Map at 0x7fba3b32aba8>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkPiAgICAKICAgIDxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04IiAvPgogICAgPHNjcmlwdD5MX1BSRUZFUl9DQU5WQVM9ZmFsc2U7IExfTk9fVE9VQ0g9ZmFsc2U7IExfRElTQUJMRV8zRD1mYWxzZTs8L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvbnBtL2xlYWZsZXRAMS4yLjAvZGlzdC9sZWFmbGV0LmpzIj48L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2FqYXguZ29vZ2xlYXBpcy5jb20vYWpheC9saWJzL2pxdWVyeS8xLjExLjEvanF1ZXJ5Lm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA8c2NyaXB0IHNyYz0iaHR0cHM6Ly9tYXhjZG4uYm9vdHN0cmFwY2RuLmNvbS9ib290c3RyYXAvMy4yLjAvanMvYm9vdHN0cmFwLm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA8c2NyaXB0IHNyYz0iaHR0cHM6Ly9jZG5qcy5jbG91ZGZsYXJlLmNvbS9hamF4L2xpYnMvTGVhZmxldC5hd2Vzb21lLW1hcmtlcnMvMi4wLjIvbGVhZmxldC5hd2Vzb21lLW1hcmtlcnMuanMiPjwvc2NyaXB0PgogICAgPGxpbmsgcmVsPSJzdHlsZXNoZWV0IiBocmVmPSJodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvb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AgICJhdHRyaWJ1dGlvbiI6IG51bGwsCiAgICAgICAgImRldGVjdFJldGluYSI6IGZhbHNlLAogICAgICAgICJtYXhOYXRpdmVab29tIjogMTgsCiAgICAgICAgIm1heFpvb20iOiAxOCwKICAgICAgICAibWluWm9vbSI6IDAsCiAgICAgICAgIm5vV3JhcCI6IGZhbHNlLAogICAgICAgICJzdWJkb21haW5zIjogImFiYyIKfSkuYWRkVG8obWFwXzRhY2ViMmNmMmMyOTRkZmE5ZmIxNjBlYmRiNTc1NmI2KTsKICAgIAoKICAgICAgICAgICAgdmFyIHBvbHlnb25fOTJjNjlmNmM5OTg0NGJhN2JkMjRiZTk2MGViZDU0M2IgPSBMLnBvbHlnb24oCiAgICAgICAgICAgICAgICBbW1s1My4yNDA5MjQsIDYuMDE5Nzg5XSwgWzUzLjI0Mjc5MSwgNi4wMjMwOTRdLCBbNTMuMjQxMzk4LCA2LjAyNzhdLCBbNTMuMjQyNzU5LCA2LjAyODgxNl0sIFs1My4yNDI2MTcsIDYuMDM4ODQ5XSwgWzUzLjI0ODQ0OCwgNi4wNzQ1MTVdLCBbNTMuMjU5ODU1LCA2LjExMDc3NF0sIFs1My4yNjQzODMsIDYuMTQxMDU4XSwgWzUzLjI2MDE2NSwgNi4xNDQ5NzhdLCBbNTMuMjYzNjg0LCA2LjE1ODc4MV0sIFs1My4yNjE5ODUsIDYuMTYwNTIzXSwgWzUzLjI2Mzk1OCwgNi4xNjQxOTZdLCBbNTMuMjU5MDU0LCA2LjE3OTQ5MV0sIFs1My4yNTk2NTUsIDYuMTgxMTg0XSwgWzUzLjI2MTA1LCA2LjE4MDcyMV0sIFs1My4yN
],
"text/plain": [
"<folium.folium.Map at 0x7fba3d0a2c88>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkP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XzAwMzdhZDkzZjBjNjRhZTE5ZjZkYjdkMThiZDhlMjMxKTsKICAgIAoKICAgICAgICAgICAgdmFyIHBvbHlnb25fZTgwMDNjYTAxNjc3NDM4M2EwODQzYTQ5ODBhZDUyMzIgPSBMLnBvbHlnb24oCiAgICAgICAgICAgICAgICBbW1s1My4yNDA5MjQsIDYuMDE5Nzg5XSwgWzUzLjI0Mjc5MSwgNi4wMjMwOTRdLCBbNTMuMjQxMzk4LCA2LjAyNzhdLCBbNTMuMjQyNzU5LCA2LjAyODgxNl0sIFs1My4yNDI2MTcsIDYuMDM4ODQ5XSwgWzUzLjI0ODQ0OCwgNi4wNzQ1MTVdLCBbNTMuMjU5ODU1LCA2LjExMDc3NF0sIFs1My4yNjQzODMsIDYuMTQxMDU4XSwgWzUzLjI2MDE2NSwgNi4xNDQ5NzhdLCBbNTMuMjYzNjg0LCA2LjE1ODc4MV0sIFs1My4yNjE5ODUsIDYuMTYwNTIzXSwgWzUzLjI2Mzk1OCwgNi4xNjQxOTZdLCBbNTMuMjU5MDU0LCA2LjE3OTQ5MV0sIFs1My4yNTk2NTUsIDYuMTgxMTg0XSwgWzUzLjI2MTA1LCA2LjE4MDcyMV0sIFs1My4yN
],
"text/plain": [
"<folium.folium.Map at 0x7fba3bb952e8>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkPiAgICAKICAgIDxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04IiAvPgogICAgPHNjcmlwdD5MX1BSRUZFUl9DQU5WQVM9ZmFsc2U7IExfTk9fVE9VQ0g9ZmFsc2U7IExfRElTQUJMRV8zRD1mYWxzZTs8L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPS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TRdLCBbNTMuMjQxMzk4LCA2LjAyNzhdLCBbNTMuMjQyNzU5LCA2LjAyODgxNl0sIFs1My4yNDI2MTcsIDYuMDM4ODQ5XSwgWzUzLjI0ODQ0OCwgNi4wNzQ1MTVdLCBbNTMuMjU5ODU1LCA2LjExMDc3NF0sIFs1My4yNjQzODMsIDYuMTQxMDU4XSwgWzUzLjI2MDE2NSwgNi4xNDQ5NzhdLCBbNTMuMjYzNjg0LCA2LjE1ODc4MV0sIFs1My4yNjE5ODUsIDYuMTYwNTIzXSwgWzUzLjI2Mzk1OCwgNi4xNjQxOTZdLCBbNTMuMjU5MDU0LCA2LjE3OTQ5MV0sIFs1My4yNTk2NTUsIDYuMTgxMTg0XSwgWzUzLjI2MTA1LCA2LjE4MDcyMV0sIFs1My4yN
],
"text/plain": [
"<folium.folium.Map at 0x7fba2e3b1eb8>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkPiAgICAKICAgIDxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04IiAvPgogICAgPHNjcmlwdD5MX1BSRUZFUl9DQU5WQVM9ZmFsc2U7IExfTk9fVE9VQ0g9ZmFsc2U7IExfRElTQUJMRV8zRD1mYWxzZTs8L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvbnBtL2xlYWZsZXRAMS4yLjAvZGlzdC9sZWFmbGV0LmpzIj48L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2FqYXguZ29vZ2xlYXBpcy5jb20vYWpheC9saWJzL2pxdWVyeS8xLjExLjEvanF1ZXJ5Lm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA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0LCA2LjE1ODc4MV0sIFs1My4yNjE5ODUsIDYuMTYwNTIzXSwgWzUzLjI2Mzk1OCwgNi4xNjQxOTZdLCBbNTMuMjU5MDU0LCA2LjE3OTQ5MV0sIFs1My4yNTk2NTUsIDYuMTgxMTg0XSwgWzUzLjI2MTA1LCA2LjE4MDcyMV0sIFs1My4yN
],
"text/plain": [
"<folium.folium.Map at 0x7fba3aeb94e0>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkPiAgICAKICAgIDxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04IiAvPgogICAgPHNjcmlwdD5MX1BSRUZFUl9DQU5WQVM9ZmFsc2U7IExfTk9fVE9VQ0g9ZmFsc2U7IExfRElTQUJMRV8zRD1mYWxzZTs8L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvbnBtL2xlYWZsZXRAMS4yLjAvZGlzdC9sZWFmbGV0LmpzIj48L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2FqYXguZ29vZ2xlYXBpcy5jb20vYWpheC9saWJzL2pxdWVyeS8xLjExLjEvanF1ZXJ5Lm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA8c2NyaXB0IHNyYz0iaHR0cHM6Ly9tYXhjZG4uYm9vdHN0cmFwY2RuLmNvbS9ib290c3RyYXAvMy4yLjAvanMvYm9vdHN0cmFwLm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA8c2NyaXB0IHNyYz0iaHR0cHM6Ly9jZG5qcy5jbG91ZGZsYXJlLmNvbS9hamF4L2xpYnMvTGVhZmxldC5hd2Vzb21lLW1hcmtlcnMvMi4w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ata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkPiAgICAKICAgIDxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04IiAvPgogICAgPHNjcmlwdD5MX1BSRUZFUl9DQU5WQVM9ZmFsc2U7IExfTk9fVE9VQ0g9ZmFsc2U7IExfRElTQUJMRV8zRD1mYWxzZTs8L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvbnBtL2xlYWZsZXRAMS4yLjAvZGlzdC9sZWFmbGV0LmpzIj48L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2FqYXguZ29vZ2xlYXBpcy5jb20vYWpheC9saWJzL2pxdWVyeS8xLjExLjEvanF1ZXJ5Lm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA8c2NyaXB0IHNyYz0iaHR0cHM6Ly9tYXhjZG4uYm9vdHN0cmFwY2RuLmNvbS9ib290c3RyYXAvMy4yLjAvanMvYm9vdHN0cmFwLm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA8c2NyaXB0IHNyYz0iaHR0cHM6Ly9jZG5qcy5jbG91ZGZsYXJlLmNvbS9hamF4L2xpYnMvTGVhZmxldC5hd2Vzb21lLW1hcmtlcnMvMi4wLjIvbGVhZmxldC5hd2Vzb21lLW1hcmtlcnMuanMiPjwvc2NyaXB0PgogICAgPGxpbmsgcmVsPSJzdHlsZXNoZWV0IiBocmVmPSJodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvbnBtL2xlYWZsZXRAMS4yLjAvZGlzdC9sZWFmbGV0LmNzcyIvPgogICAgPGxpbmsgcmVsPSJzdHlsZXNoZWV0IiBocmVmPSJodHRwcz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CiAgICAgICAgIm1heFpvb20iOiAxOCwKICAgICAgICAibWluWm9vbSI6IDAsCiAgICAgICAgIm5vV3JhcCI6IGZhbHNlLAogICAgICAgICJzdWJkb21haW5zIjogImFiYyIKfSkuYWRkVG8obWFwXzRiMjhiOTM1MWE2ODQ2ZmRiYWE5MDlmODIyYTk2NDNkKTsKICAgIAoKICAgICAgICAgICAgdmFyIHBvbHlnb25fZDkyZmU2YzU5YmNlNDVjMGE5NzA2MmMwOWFiY2E4NzYgPSBMLnBvbHlnb24oCiAgICAgICAgICAgICAgICBbW1s1My4yNDA5MjQsIDYuMDE5Nzg5XSwgWzUzLjI0Mjc5MSwgNi4wMjMwOTRdLCBbNTMuMjQxMzk4LCA2LjAyNzhdLCBbNTMuMjQyNzU5LCA2LjAyODgxNl0sIFs1My4yNDI2MTcsIDYuMDM4ODQ5XSwgWzUzLjI0ODQ0OCwgNi4wNzQ1MTVdLCBbNTMuMjU5ODU1LCA2LjExMDc3NF0sIFs1My4yNjQzODMsIDYuMTQxMDU4XSwgWzUzLjI2MDE2NSwgNi4xNDQ5NzhdLCBbNTMuMjYzNjg0LCA2LjE1ODc4MV0sIFs1My4yNjE5ODUsIDYuMTYwNTIzXSwgWzUzLjI2Mzk1OCwgNi4xNjQxOTZdLCBbNTMuMjU5MDU0LCA2LjE3OTQ5MV0sIFs1My4yNTk2NTUsIDYuMTgxMTg0XSwgWzUzLjI2MTA1LCA2LjE4MDcyMV0sIFs1My4yN
],
"text/plain": [
"<folium.folium.Map at 0x7fba3af2ff28>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkPiAgICAKICAgIDxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04IiAvPg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RlZjM2NDUzMGJmM2NkYWY0Nzc1Mjk1YzQgPSBMLnBvbHlnb24oCiAgICAgICAgICAgICAgICBbW1s1My4yNDA5MjQsIDYuMDE5Nzg5XSwgWzUzLjI0Mjc5MSwgNi4wMjMwOTRdLCBbNTMuMjQxMzk4LCA2LjAyNzhdLCBbNTMuMjQyNzU5LCA2LjAyODgxNl0sIFs1My4yNDI2MTcsIDYuMDM4ODQ5XSwgWzUzLjI0ODQ0OCwgNi4wNzQ1MTVdLCBbNTMuMjU5ODU1LCA2LjExMDc3NF0sIFs1My4yNjQzODMsIDYuMTQxMDU4XSwgWzUzLjI2MDE2NSwgNi4xNDQ5NzhdLCBbNTMuMjYzNjg0LCA2LjE1ODc4MV0sIFs1My4yNjE5ODUsIDYuMTYwNTIzXSwgWzUzLjI2Mzk1OCwgNi4xNjQxOTZdLCBbNTMuMjU5MDU0LCA2LjE3OTQ5MV0sIFs1My4yNTk2NTUsIDYuMTgxMTg0XSwgWzUzLjI2MTA1LCA2LjE4MDcyMV0sIFs1My4yN
],
"text/plain": [
"<folium.folium.Map at 0x7fba3af2f908>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkPiAgICAKICAgIDxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04IiAvPgogICAgPHNjcmlwdD5MX1BSRUZFUl9DQU5WQVM9ZmFsc2U7IExfTk9fVE9VQ0g9ZmFsc2U7IExfRElTQUJMRV8zRD1mYWxzZTs8L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvbnBtL2xlYWZsZXRAMS4yLjAvZGlzdC9sZWFmbGV0LmpzIj48L3NjcmlwdD4K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0OCwgNi4wNzQ1MTVdLCBbNTMuMjU5ODU1LCA2LjExMDc3NF0sIFs1My4yNjQzODMsIDYuMTQxMDU4XSwgWzUzLjI2MDE2NSwgNi4xNDQ5NzhdLCBbNTMuMjYzNjg0LCA2LjE1ODc4MV0sIFs1My4yNjE5ODUsIDYuMTYwNTIzXSwgWzUzLjI2Mzk1OCwgNi4xNjQxOTZdLCBbNTMuMjU5MDU0LCA2LjE3OTQ5MV0sIFs1My4yNTk2NTUsIDYuMTgxMTg0XSwgWzUzLjI2MTA1LCA2LjE4MDcyMV0sIFs1My4yN
],
"text/plain": [
"<folium.folium.Map at 0x7fba3a7fd9e8>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkPiAgICAKICAgIDxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04IiAvPgogICAgPHNjcmlwdD5MX1BSRUZFUl9DQU5WQVM9ZmFsc2U7IExfTk9fVE9VQ0g9ZmFsc2U7IExfRElTQUJMRV8zRD1mYWxzZTs8L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvbnBtL2xlYWZsZXRAMS4yLjAvZGlzdC9sZWFmbGV0LmpzIj48L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2FqYXguZ29vZ2xlYXBpcy5jb20vYWpheC9saWJzL2pxdWVyeS8xLjExLjEvanF1ZXJ5Lm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA8c2NyaXB0IHNyYz0iaHR0cHM6Ly9tYXhjZG4uYm9vdHN0cmFwY2RuLmNvbS9ib290c3RyYXAvMy4yLjAvanMvYm9vdHN0cmFwLm1pbi5qcy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5MV0sIFs1My4yNTk2NTUsIDYuMTgxMTg0XSwgWzUzLjI2MTA1LCA2LjE4MDcyMV0sIFs1My4yN
],
"text/plain": [
"<folium.folium.Map at 0x7fba3a7fd518>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><iframe src=\"data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+CjxoZWFkPiAgICAKICAgIDxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04IiAvPgogICAgPHNjcmlwdD5MX1BSRUZFUl9DQU5WQVM9ZmFsc2U7IExfTk9fVE9VQ0g9ZmFsc2U7IExfRElTQUJMRV8zRD1mYWxzZTs8L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvbnBtL2xlYWZsZXRAMS4yLjAvZGlzdC9sZWFmbGV0LmpzIj48L3NjcmlwdD4KICAgIDxzY3JpcHQgc3JjPSJodHRwczovL2FqYXguZ29vZ2xlYXBpcy5jb20vYWpheC9saWJzL2pxdWVyeS8xLjExLjEvanF1ZXJ5Lm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA8c2NyaXB0IHNyYz0iaHR0cHM6Ly9tYXhjZG4uYm9vdHN0cmFwY2RuLmNvbS9ib290c3RyYXAvMy4yLjAvanMvYm9vdHN0cmFwLm1pbi5qcyI+PC9zY3JpcHQ+CiAgICA8c2NyaXB0IHNyYz0iaHR0cHM6Ly9jZG5qcy5jbG91ZGZsYXJlLmNvbS9hamF4L2xpYnMvTGVhZmxldC5hd2Vzb21lLW1hcmtlcnMvMi4wLjIvbGVhZmxldC5hd2Vzb21lLW1hcmtlcnMuanMiPjwvc2NyaXB0PgogICAgPGxpbmsgcmVsPSJzdHlsZXNoZWV0IiBocmVmPSJodHRwczovL2Nk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uZycsCiAgICAgICAgewogICAgICAgICJhdHRyaWJ1dGlvbiI6IG51bGwsCiAgICAgICAgImRldGVjdFJldGluYSI6IGZhbHNlLAogICAgICAgICJtYXhOYXRpdmVab29tIjogMTgsCiAgICAgICAgIm1heFpvb20iOiAxOCwKICAgICAgICAibWluWm9vbSI6IDAsCiAgICAgICAgIm5vV3JhcCI6IGZhbHNlLAogICAgICAgICJzdWJkb21haW5zIjogImFiYyIKfSkuYWRkVG8obWFwX2EzYTM4ZTFmZmFlYzRjNzBiODBhYTM0ZjQwMTU1ZmY5KTsKICAgIAoKICAgICAgICAgICAgdmFyIHBvbHlnb25fOWRjZjgxMTY2ODVmNDI3YTg4NGE2N2Y3YTI5NGQ2OGYgPSBMLnBvbHlnb24oCiAgICAgICAgICAgICAgICBbW1s1My4yNDA5MjQsIDYuMDE5Nzg5XSwgWzUzLjI0Mjc5MSwgNi4wMjMwOTRdLCBbNTMuMjQxMzk4LCA2LjAyNzhdLCBbNTMuMjQyNzU5LCA2LjAyODgxNl0sIFs1My4yNDI2MTcsIDYuMDM4ODQ5XSwgWzUzLjI0ODQ0OCwgNi4wNzQ1MTVdLCBbNTMuMjU5ODU1LCA2LjExMDc3NF0sIFs1My4yNjQzODMsIDYuMTQxMDU4XSwgWzUzLjI2MDE2NSwgNi4xNDQ5NzhdLCBbNTMuMjYzNjg0LCA2LjE1ODc4MV0sIFs1My4yNjE5ODUsIDYuMTYwNTIzXSwgWzUzLjI2Mzk1OCwgNi4xNjQxOTZdLCBbNTMuMjU5MDU0LCA2LjE3OTQ5MV0sIFs1My4yNTk2NTUsIDYuMTgxMTg0XSwgWzUzLjI2MTA1LCA2LjE4MDcyMV0sIFs1My4yN
],
"text/plain": [
"<folium.folium.Map at 0x7fba3c826c50>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"cutoff_percentage = 0.05\n",
"\n",
"for question, rows in ProgressBar(\n",
" answers_filtered.groupby('question_text_url'),\n",
" size=len(answers_filtered['question_text_url'].unique())\n",
"):\n",
" m = folium.Map((rows['user_lat'].median(), rows['user_lng'].median()), tiles='stamentoner', zoom_start=10)\n",
" answer_texts = {\n",
" answer_text\n",
" for gemeente, _ in enumerate(gemeente_names)\n",
" for rows_ in [rows[rows['gemeente'] == gemeente]]\n",
" for answer_text, rows__ in rows_.groupby('answer_text')\n",
" if len(rows__) / len(rows_) >= cutoff_percentage\n",
" }\n",
" palette = dict(zip(answer_texts, get_palette(len(answer_texts))))\n",
" n_other = len(rows) - sum(sum(rows['answer_text'] == answer_text) for answer_text in answer_texts)\n",
" \n",
" groups = {\n",
" answer_text: folium.FeatureGroup(name=name, overlay=True)\n",
" for answer_text, color in palette.items()\n",
" for name in [\n",
" '<span style=\\\\\"color:{}; \\\\\">{} ({})'.format(\n",
" color,\n",
" escape(answer_text),\n",
" sum(rows['answer_text'] == answer_text)\n",
" )\n",
" ]\n",
" }\n",
" groups['other'] = folium.FeatureGroup(\n",
" name='<span style=\\\\\"color: black; \\\\\">{} ({})'.format(\n",
" escape('other'),n_other),\n",
" overlay=True\n",
" )\n",
" \n",
" for gemeente, gemeente_name in enumerate(gemeente_names):\n",
" rows_ = rows[rows['gemeente'] == gemeente]\n",
" order = [a for _, a in sorted((\n",
" (r['user_lat'], answer)\n",
" for answer, r in rows_.groupby('answer_text').count().iterrows()\n",
" ), reverse=True)]\n",
" gemeente_shape = shapes[gemeente]\n",
" xmin, ymin, xmax, ymax = gemeente_shape.bounds\n",
" xmin_cum = xmin\n",
"# print(sum(sum(rows_['answer_text'] == answer_text) for answer_text in order))\n",
"# print(len(rows_))\n",
" cum_percentage = 0\n",
" for i, answer_text in enumerate(order):\n",
" total = sum(rows_['answer_text'] == answer_text)\n",
" percentage = total / len(rows_)\n",
" cum_percentage += percentage\n",
" if i == 0:\n",
" max_percentage = percentage\n",
" \n",
" name = '{} ({}, {}%)'.format(answer_text, total, int(round(100*percentage)))\n",
" if percentage < cutoff_percentage:\n",
" xmax_ = xmax\n",
" color = '#ffffff'\n",
" answer_text = 'other'\n",
" total = sum(sum(rows_['answer_text'] == answer_text) for answer_text in order[i:])\n",
" percentage = total / len(rows_)\n",
" done = True\n",
" else:\n",
" percentage_corrected = numpy.abs(cdfs[gemeente] - cum_percentage).argmin() / 10000\n",
" xmax_ = xmin + percentage_corrected * (xmax - xmin)\n",
" color = palette[answer_text]\n",
" done = False\n",
" \n",
" answer_shape = gemeente_shape.intersection(box(xmin_cum, ymin, xmax_, ymax))\n",
" xmin_cum = xmax_\n",
"# color = '#%02x%02x%02x' % tuple(int(255 * c) for c in cmap(percentage / max_percentage)[:3])\n",
" \n",
" polygon = folium.Polygon(\n",
" reverse(mapping(answer_shape)['coordinates']),\n",
" fill_color=color,\n",
" fill_opacity=0.8,\n",
" color=None,\n",
" popup='{} ({}, {: 3d}%)'.format(answer_text, total, round(100*percentage))\n",
" )\n",
" polygon.add_to(groups[answer_text])\n",
" if done:\n",
" break\n",
" \n",
" polygon = folium.Polygon(\n",
" reverse(mapping(gemeente_shape)['coordinates']),\n",
" fill_color=None, color='#000000'\n",
" )\n",
" polygon.add_to(m)\n",
" \n",
" for _, group in sorted(groups.items(), key=lambda x: sum(rows['answer_text'] == x[0]), reverse=True):\n",
" group.add_to(m)\n",
" \n",
" folium.map.LayerControl('topright', collapsed=False).add_to(m)\n",
" display(m)\n",
" m.save('maps/heatmaps-combined/{}.html'.format(question))\n",
"# break"
]
},
{
"cell_type": "code",
"execution_count": 109,
"metadata": {},
"outputs": [],
"source": [
"import glob\n",
"with open('maps/heatmaps-combined/index.html', 'w') as f:\n",
" f.write('<html><head></head><body>' + \n",
" '<br/>\\n'.join(\n",
" '\\t<a href=\"{}\">{}<a>'.format(fn, fn[:-5].replace('_', ' '))\n",
" for fn in sorted(\n",
" glob.glob('maps/heatmaps-combined/*.html')\n",
" )\n",
" for fn in [fn[len('maps/heatmaps-combined/'):]]\n",
" ) + \"</body></html>\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"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.6.5"
}
},
"nbformat": 4,
"nbformat_minor": 2
}