2022-03-29 17:09:40 +02:00
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
2022-05-06 14:51:01 +02:00
"# Datasets gemeenteraadsverkiezingen 2022\n",
"Deze notebook heeft als doel de stemlokalen van de gemeenteraadsverkiezingen van 2022 te analyseren. Er zal hier stap voor stap door de data gelopen worden om het proces reproduceerbaar te maken voor latere verkiezingen. De eerste stap was de data ophalen van de bronnen, zowel van de overheid als van 'Waar is mijn stemlokaal' (voor geografische data van de stemlokalen). Deze bronnen zijn voor de verkiezingen van 2022 gebruikt:\n",
2022-04-12 16:39:06 +02:00
"- [Verkiezingsuitslagen Gemeenteraad 2022](https://data.overheid.nl/dataset/08b04bec-3332-4c76-bb0c-68bfaeb5df43)\n",
2022-05-06 14:51:01 +02:00
" - [Directe link naar uitslagen per gemeente EML](https://data.overheid.nl/sites/default/files/dataset/08b04bec-3332-4c76-bb0c-68bfaeb5df43/resources/GR2022_2022-03-29T15.14.zip)\n",
2022-03-30 15:43:08 +02:00
" - [Directe link naar kandidatenlijst met uitslagen CSV](https://data.overheid.nl/sites/default/files/dataset/08b04bec-3332-4c76-bb0c-68bfaeb5df43/resources/GR2022_alle-kandidaten_2022-02-22T08.34.csv)\n",
2022-05-06 14:51:01 +02:00
"- ['Waar is mijn stemlokaal' stembureau data](https://waarismijnstemlokaal.nl/data)\n",
" - [Directe link naar 'Waar is mijn stemlokaal' gemeenteraad 2022 CSV (CKAN)](https://ckan.dataplatform.nl/datastore/dump/d6a1b4c4-73c8-457b-9b75-a38428bded68)\n",
" - [Verkiezingsuitslagen gemeenteraadsverkiezingen 2022 geodata vab Open State Foundation en de Volkskrant (OSF/VK)](https://data.openstate.eu/dataset/verkiezingsuitslagen-gemeenteraadsverkiezingen-2022)\n",
" - [Directe link naar GeoJSON bestand](https://data.openstate.eu/dataset/a1767f1b-bf0c-409b-b3b1-3af9954b57f4/resource/413be255-5070-48f4-b631-895097976abb/download/2022gr.geo.json)\n",
2022-03-30 15:43:08 +02:00
"- [CBS Wijk- en buurtkaart 2021](https://www.cbs.nl/nl-nl/dossier/nederland-regionaal/geografische-data/wijk-en-buurtkaart-2021)\n",
" - [Directe link naar zip bestand met SHP bestand er in](https://www.cbs.nl/-/media/cbs/dossiers/nederland-regionaal/wijk-en-buurtstatistieken/wijkbuurtkaart_2021_v1.zip)\n",
2022-04-12 16:39:06 +02:00
"- [CBS bevolkingsdichtheid kaart 100 bij 100 meter](https://www.cbs.nl/nl-nl/dossier/nederland-regionaal/geografische-data/kaart-van-100-meter-bij-100-meter-met-statistieken)\n",
2022-04-04 15:09:40 +02:00
" - [Directe link naar 7z bestand met SHP bestand er in](https://www.cbs.nl/-/media/cbs/dossiers/nederland-regionaal/vierkanten/100/nl_vierkant_100meter_bij_100meter.7z)\n",
2022-04-12 16:39:06 +02:00
"- [CBS bevolkingsdichtheid kaart 500 bij 500 meter](https://www.cbs.nl/nl-nl/dossier/nederland-regionaal/geografische-data/kaart-van-500-meter-bij-500-meter-met-statistieken)\n",
" - [Directe link naar 7z bestand met SHP bestand er in](https://www.cbs.nl/-/media/cbs/dossiers/nederland-regionaal/vierkanten/500/2021-cbs_vk500_2020_v1.zip)\n",
2022-05-03 13:06:50 +02:00
"- [CBS schatting van kiesgerechtigden per gemeente](https://www.cbs.nl/nl-nl/maatwerk/2020/52/schatting-van-het-aantal-kiesgerechtigden-in-nederland)\n",
2022-03-29 17:09:52 +02:00
"\n",
2022-05-06 14:51:01 +02:00
"# Data inladen en eerste analyse\n",
"## OSF/VK GeoJSON dataset: verkiezingsuitslagen per stembureau inclusief coördinaten\n",
"Als eerste importeren we de data voor de analyse, daarna kunnen we kijken hoe goed de data is, hoe we het aan kunnen vullen, en wat er mee te doen. We kijken eerst naar het GeoJSON bestand van Open State Foundation en de Volkskrant (OSF/VK). Daarin zijn de coördinaten van alle locaties van bijna alle stembureaus toegevoegd aan de lijst met stembureaus uit de officiële uitslagen zoals gepubliceerd door de Kiesraad. We kunnen een GeoJSON bestand direct inladen met geopandas."
2022-03-29 17:09:52 +02:00
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 74,
2022-03-30 15:43:08 +02:00
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
2022-05-09 18:30:16 +02:00
"/home/lillian/.conda/envs/stembureaus/lib/python3.10/site-packages/fiona/collection.py:208: FeatureWarning: Empty field name at index 928\n",
2022-03-30 15:43:08 +02:00
" self._schema = self.session.get_schema()\n",
2022-05-09 18:30:16 +02:00
"/home/lillian/.conda/envs/stembureaus/lib/python3.10/site-packages/geopandas/geodataframe.py:600: UserWarning: Empty field name at index 928\n",
2022-03-30 15:43:08 +02:00
" for feature in features_lst:\n"
]
}
],
"source": [
"import pandas as pd\n",
"import geopandas as gpd\n",
"\n",
"crs = {'init':'EPSG:4326'}\n",
2022-04-04 15:09:40 +02:00
"df_geojson = gpd.read_file(r'../data/2022gr.geo.json', crs=crs)"
2022-03-30 15:43:08 +02:00
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
2022-05-06 14:51:01 +02:00
"## CBS dataset: gemeentegrenzen en informatie\n",
"We importeren nu de gemeente shapefile kaart van het CBS, om de overlay van onze stemlokalen eroverheen te leggen."
2022-03-30 15:43:08 +02:00
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 75,
2022-03-30 15:43:08 +02:00
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
2022-05-11 16:40:11 +02:00
"<AxesSubplot:title={'center':'Plot van de gemeenten uit de CBS Wijk- en buurtkaart 2021'}>"
2022-03-30 15:43:08 +02:00
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 75,
2022-03-30 15:43:08 +02:00
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAXcAAAEICAYAAACktLTqAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6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Gxp7k/4/4u4L8IIaqhTCnl90ozbOBtYdjhtT0nKzR+lxbLP2/1d9/OeSHb/FzLDeA7gI8JIfbWPP5hzDupISllADNvVLEZ34x5of5SzPDiaPnxWpvS+Hpb2jAhhAP4a0xH4nsaNl/DvAhVnrsD84Jzu+ax/wp8JWZoKbHV623Fa2nc/wT490KIsXKG+GeBPy1f8dcwr447tjjGhzHjZF9X/rmCj/LtsRBiANNreaX8GfADQojBcpz0hysbpFnV8AngF8tlcooQYqcQ4u2bHOtHhBCh8rpq48RngYQQ4oeEEC4hhCqEONiqVG4rtrGu3yiv4wCAECIghPiGbR5+BRgsV48gpTSA3wb+d/mOCSHEQENc9n64CPxLIYRNCNEqx9G4ls3Okb8A3iPMEkQ7Zl6i9hz+DeBnhBAj5XV3CSG+us2x/hDT2P2lEGJf+TPtEGZNeZOxEyZfjRlCuVHe5/8TQgyWtw9heuwvNu5bw7OY5/dizZf3ufJjAUwvfrtcw8wx/aoQ4qu2uc9rdk7W8J/K5/8Q8IOYIRIw/+7PCLOXIYAZ/qnlIts/L2ATGyKl/BPMnNOnhBA7yw/7gIiUMieEGMc06NRsy2PevbkxbdVWbHpuCiFsmOdnFvi28veolj8G3iuEeFvZofgA8FdSymR5/x8pr/HLpJQbDfsihLALIZyYFyCbEMJZzqG05bU07r+L+YV5FjMLnwP
2022-03-30 15:43:08 +02:00
"text/plain": [
2022-05-11 16:40:11 +02:00
"<Figure size 432x288 with 1 Axes>"
2022-03-30 15:43:08 +02:00
]
},
2022-04-14 15:43:51 +02:00
"metadata": {
"needs_background": "light"
},
2022-03-30 15:43:08 +02:00
"output_type": "display_data"
}
],
"source": [
"nl_map = gpd.read_file(r'../data/shape/Netherlands_shapefile/gemeente_2021_v1.shp')\n",
2022-05-06 14:51:01 +02:00
"plot = nl_map.to_crs(epsg=4326).plot()\n",
"plot.set_title('Plot van de gemeenten uit de CBS Wijk- en buurtkaart 2021')\n",
"plot\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"De CBS Wijk- en buurtkaart 2021 bevat ook naast de gemeentegrenzen ook informatie (bv. aantal inwoners) over de gemeenten. We printen dat hier uit om daar een beeld van te krijgen."
2022-03-30 15:43:08 +02:00
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 76,
2022-04-12 16:39:06 +02:00
"metadata": {},
"outputs": [
{
2022-04-13 15:08:29 +02:00
"name": "stdout",
"output_type": "stream",
"text": [
" GM_CODE GM_NAAM H2O OAD STED BEV_DICHTH AANT_INW \\\n",
"0 GM0034 Almere JA -99999999 -99999999 -99999999 -99999999 \n",
"1 GM0050 Zeewolde JA -99999999 -99999999 -99999999 -99999999 \n",
"2 GM0060 Ameland JA -99999999 -99999999 -99999999 -99999999 \n",
"3 GM0072 Harlingen JA -99999999 -99999999 -99999999 -99999999 \n",
"4 GM0088 Schiermonnikoog JA -99999999 -99999999 -99999999 -99999999 \n",
".. ... ... ... ... ... ... ... \n",
"430 GM1966 Het Hogeland NEE 414 5 99 47834 \n",
"431 GM1969 Westerkwartier NEE 476 5 176 63678 \n",
"432 GM1970 Noardeast-Fryslân NEE 463 5 120 45481 \n",
"433 GM1978 Molenlanden NEE 393 5 243 44130 \n",
"434 GM1979 Eemsdelta NEE 692 4 170 45587 \n",
"\n",
" AANT_MAN AANT_VROUW P_00_14_JR ... P_TURKIJE P_OVER_NW OPP_TOT \\\n",
"0 -99999999 -99999999 -99999999 ... -99999999 -99999999 -99999999 \n",
"1 -99999999 -99999999 -99999999 ... -99999999 -99999999 -99999999 \n",
"2 -99999999 -99999999 -99999999 ... -99999999 -99999999 -99999999 \n",
"3 -99999999 -99999999 -99999999 ... -99999999 -99999999 -99999999 \n",
"4 -99999999 -99999999 -99999999 ... -99999999 -99999999 -99999999 \n",
".. ... ... ... ... ... ... ... \n",
"430 24052 23782 15 ... 0 3 90308 \n",
"431 32034 31644 17 ... 0 3 36887 \n",
"432 22879 22602 17 ... 0 2 51645 \n",
"433 22317 21813 18 ... 0 2 19158 \n",
"434 22841 22746 14 ... 2 5 36407 \n",
"\n",
" OPP_LAND OPP_WATER JRSTATCODE JAAR Shape_Leng Shape_Area \\\n",
"0 -99999999 -99999999 2021GM0034 2021 122665.358635 1.095623e+08 \n",
"1 -99999999 -99999999 2021GM0050 2021 83290.773617 1.633050e+07 \n",
"2 -99999999 -99999999 2021GM0060 2021 156406.894023 2.085914e+08 \n",
"3 -99999999 -99999999 2021GM0072 2021 104274.683035 3.618323e+08 \n",
"4 -99999999 -99999999 2021GM0088 2021 152568.858991 1.624101e+08 \n",
".. ... ... ... ... ... ... \n",
"430 48249 42059 2021GM1966 2021 321301.166576 4.875998e+08 \n",
"431 36269 618 2021GM1969 2021 99030.762281 3.688457e+08 \n",
"432 37783 13862 2021GM1970 2021 238426.959926 3.837930e+08 \n",
"433 18173 986 2021GM1978 2021 88570.376691 1.915841e+08 \n",
"434 26789 9618 2021GM1979 2021 173966.493452 2.727771e+08 \n",
"\n",
" geometry \n",
"0 MULTIPOLYGON (((150213.998 479503.726, 150087.... \n",
"1 MULTIPOLYGON (((170588.413 486792.192, 170570.... \n",
"2 POLYGON ((196000.000 610000.000, 196000.000 60... \n",
"3 MULTIPOLYGON (((158392.775 580357.500, 158387.... \n",
"4 POLYGON ((219000.000 616567.418, 219000.000 61... \n",
".. ... \n",
"430 MULTIPOLYGON (((217037.735 601967.991, 217043.... \n",
"431 POLYGON ((215186.661 595044.495, 215190.788 59... \n",
"432 MULTIPOLYGON (((207769.575 603284.528, 207773.... \n",
"433 POLYGON ((123569.533 440132.167, 123576.153 44... \n",
"434 MULTIPOLYGON (((269190.000 594253.046, 269190.... \n",
"\n",
"[435 rows x 38 columns]\n"
]
2022-04-12 16:39:06 +02:00
}
],
"source": [
2022-04-13 15:08:29 +02:00
"print(nl_map)"
2022-04-12 16:39:06 +02:00
]
},
2022-05-06 14:51:01 +02:00
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Hieronder plotten we de gegevens van stembureaus op de kaart van het CBS:"
]
},
2022-04-12 16:39:06 +02:00
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 77,
2022-03-29 17:09:52 +02:00
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
2022-05-11 16:40:11 +02:00
"Text(0.5, 1.0, 'Stembureaus op de gemeentekaart van het CBS')"
2022-03-29 17:09:52 +02:00
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 77,
2022-03-29 17:09:52 +02:00
"metadata": {},
"output_type": "execute_result"
2022-03-30 15:43:08 +02:00
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAATIAAAJOCAYAAAA0zoviAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAAbwklEQVR4nO3de7hddXng8e9LAoLcU0IaLhIvWAEv2EaQwbFaRPFWMloUrBosSrXtjHQcW6zawalWpqMVpzKjaH2M4wUvLZdRqzIgUi+goaYiggUVuSQmAQwGQbm988f6Hdk5nhuac9Z6c76f58lz9rqctX977b2/e611TpLITCSpsu36HoAk/aoMmaTyDJmk8gyZpPIMmaTyDJmk8gYdsog4LSI+1Pc4qoiIiyPi5X2Po4qIuC4intb3OOZSRJwYEV/qexxb27Qhi4gnRcRXIuK2iLg1Ir4cEU9oy7bJnaKaIiIj4hF9j2O8iFjWxraw77H8Kmb6fo+IZ0TEJRGxOSI2RsQXI+J3R7Zxb0Tc3v58LyJeNfK9O0TE2yPixrb8+xHxjunuc8qQRcRuwKeAvwMWAfsCbwJ+Nt2Gh6b6i0g1zbfXXUT8HvAJ4IPAfsAS4C+B546s9tXM3CUzdwF+D/ibiHh8W/Y6YDlwGLAr8FTgG9PecWZO+qdtcNMkyw4CfgrcC9w+th7wIOBtwPXAeuDdwE5t2VOAG4E/AzYA64AVwLOAfwNuBf5i5D5OAz4JfAzYDPwL8LiR5Q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0Ozx1FJSeYZMUnmGTFJ5hkxSeYZMUnmGTFJ5hkxSeYZ
2022-03-30 15:43:08 +02:00
"text/plain": [
2022-05-11 16:40:11 +02:00
"<Figure size 720x720 with 1 Axes>"
2022-03-30 15:43:08 +02:00
]
},
2022-04-14 15:43:51 +02:00
"metadata": {
"needs_background": "light"
},
2022-03-30 15:43:08 +02:00
"output_type": "display_data"
}
],
"source": [
"import matplotlib.pyplot as plt\n",
"\n",
"fig, ax = plt.subplots(figsize = (10,10))\n",
"nl_map.to_crs(epsg=4326).plot(ax=ax, color='lightgrey')\n",
2022-05-06 14:51:01 +02:00
"df_geojson.plot(ax=ax)\n",
"ax.set_title('Stembureaus op de gemeentekaart van het CBS')"
2022-03-30 15:43:08 +02:00
]
},
2022-04-04 15:09:40 +02:00
{
"cell_type": "markdown",
"metadata": {},
"source": [
"We hebben hier een probleem dat sommige punten de coördinaten 0,0 hebben, dit is niet iets wat we willen weergeven. Laten we eerst kijken waarom dit het geval is in de data voordat we het er helemaal uithalen."
]
},
2022-03-30 15:43:08 +02:00
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 78,
2022-03-30 15:43:08 +02:00
"metadata": {},
"outputs": [
{
2022-04-04 15:09:40 +02:00
"name": "stdout",
"output_type": "stream",
"text": [
2022-05-09 18:30:16 +02:00
"Stembureau 32\n",
"Adres \n",
"Locatie SB32\n",
"description Stembureau Mobiel Stembureau 1\n",
"Geldige stemmen 99\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0109\n",
"election GR2022_Coevorden\n",
"electionName Gemeenteraad Coevorden 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 2520, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 33\n",
"Adres \n",
"Locatie SB33\n",
"description Stembureau Mobiel Stembureau 2\n",
"Geldige stemmen 115\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0109\n",
"election GR2022_Coevorden\n",
"electionName Gemeenteraad Coevorden 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 2521, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 157\n",
"Adres \n",
"Locatie SB157\n",
"description Stembureau Stembureau Stembus\n",
"Geldige stemmen 72\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0150\n",
"election GR2022_Deventer\n",
"electionName Gemeenteraad Deventer 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 2918, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 171\n",
"Adres \n",
"Locatie SB171\n",
"description Stembureau Stembureau Stembureau op locatie al...\n",
"Geldige stemmen 174\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0772\n",
"election GR2022_Eindhoven\n",
"electionName Gemeenteraad Eindhoven 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 3579, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 172\n",
"Adres \n",
"Locatie SB172\n",
"description Stembureau Stembureau Stembureau op locatie al...\n",
"Geldige stemmen 66\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0772\n",
"election GR2022_Eindhoven\n",
"electionName Gemeenteraad Eindhoven 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 3580, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 173\n",
"Adres \n",
"Locatie SB173\n",
"description Stembureau Stembureau Stembureau op locatie al...\n",
"Geldige stemmen 162\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0772\n",
"election GR2022_Eindhoven\n",
"electionName Gemeenteraad Eindhoven 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 3581, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 174\n",
"Adres \n",
"Locatie SB174\n",
"description Stembureau Stembureau Stembureau op locatie al...\n",
"Geldige stemmen 65\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0772\n",
"election GR2022_Eindhoven\n",
"electionName Gemeenteraad Eindhoven 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 3582, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 175\n",
"Adres \n",
"Locatie SB175\n",
"description Stembureau Stembureau Stembureau op locatie al...\n",
"Geldige stemmen 121\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0772\n",
"election GR2022_Eindhoven\n",
"electionName Gemeenteraad Eindhoven 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 3583, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 39\n",
"Adres \n",
"Locatie SB39\n",
"description Stembureau Mobiel stembureau met beperkte toeg...\n",
"Geldige stemmen 56\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM1735\n",
"election GR2022_HofvanTwente\n",
"electionName Gemeenteraad Hof van Twente 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 5494, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 34\n",
"Adres \n",
"Locatie SB34\n",
"description Stembureau Stembureau Mobiel stembureau verzor...\n",
"Geldige stemmen 119\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0166\n",
"election GR2022_Kampen\n",
"electionName Gemeenteraad Kampen 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 5784, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 35\n",
"Adres \n",
"Locatie SB35\n",
"description Stembureau Stembureau Mobiel stembureau verzor...\n",
"Geldige stemmen 151\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0166\n",
"election GR2022_Kampen\n",
"electionName Gemeenteraad Kampen 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 5785, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 11\n",
"Adres \n",
"Locatie SB11\n",
"description Stembureau Mobiel stembureau Ommedijk\n",
"Geldige stemmen 14\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0547\n",
"election GR2022_Leiderdorp\n",
"electionName Gemeenteraad Leiderdorp 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 6260, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 12\n",
"Adres \n",
"Locatie SB12\n",
"description Stembureau Mobiel stembureau Van Alphenstaete ...\n",
"Geldige stemmen 68\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0547\n",
"election GR2022_Leiderdorp\n",
"electionName Gemeenteraad Leiderdorp 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 6261, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 70\n",
"Adres \n",
"Locatie SB70\n",
"description Stembureau Mobiel stembureau\n",
"Geldige stemmen 34\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0938\n",
"election GR2022_Meerssen\n",
"electionName Gemeenteraad Meerssen 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 6738, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 71\n",
"Adres \n",
"Locatie SB71\n",
"description Stembureau Mobiel stembureau\n",
"Geldige stemmen 43\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0938\n",
"election GR2022_Meerssen\n",
"electionName Gemeenteraad Meerssen 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 6739, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 699\n",
"Adres \n",
"Locatie SB699\n",
"description Stembureau Stembureau Mobiel stembureau\n",
"Geldige stemmen 59\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0687\n",
"election GR2022_Middelburg\n",
"electionName Gemeenteraad Middelburg 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 6863, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 32\n",
"Adres \n",
"Locatie SB32\n",
"description Stembureau Mobielstembureau\n",
"Geldige stemmen 63\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM1930\n",
"election GR2022_Nissewaard\n",
"electionName Gemeenteraad Nissewaard 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 7348, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 90\n",
"Adres \n",
"Locatie SB90\n",
"description Stembureau Roll and Vote\n",
"Geldige stemmen 339\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM1930\n",
"election GR2022_Nissewaard\n",
"electionName Gemeenteraad Nissewaard 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 7364, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 19\n",
"Adres \n",
"Locatie SB19\n",
"description Stembureau Mobiel stembureau\n",
"Geldige stemmen 77\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0086\n",
"election GR2022_Opsterland\n",
"electionName Gemeenteraad Opsterland 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 7857, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 1428\n",
"Adres \n",
"Locatie SB1428\n",
"description Stembureau Drive-thru parkeerplaats Rusheuvel 1\n",
"Geldige stemmen 163\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0828\n",
"election GR2022_Oss\n",
"electionName Gemeenteraad Oss 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 7912, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 1437\n",
"Adres \n",
"Locatie SB1437\n",
"description Stembureau Drive-thru parkeerplaats Rusheuvel 2\n",
"Geldige stemmen 239\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0828\n",
"election GR2022_Oss\n",
"electionName Gemeenteraad Oss 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 7913, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 1528\n",
"Adres \n",
"Locatie SB1528\n",
"description Stembureau Drive-thru parkeerplaats Rusheuvel 1\n",
"Geldige stemmen 323\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0828\n",
"election GR2022_Oss\n",
"electionName Gemeenteraad Oss 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 7923, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 1537\n",
"Adres \n",
"Locatie SB1537\n",
"description Stembureau Drive-thru parkeerplaats Rusheuvel 2\n",
"Geldige stemmen 208\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0828\n",
"election GR2022_Oss\n",
"electionName Gemeenteraad Oss 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 7924, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 1541\n",
"Adres \n",
"Locatie SB1541\n",
"description Stembureau Mobiel stembureau\n",
"Geldige stemmen 125\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0828\n",
"election GR2022_Oss\n",
"electionName Gemeenteraad Oss 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 7926, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 200\n",
"Adres \n",
"Locatie SB200\n",
"description Stembureau Mobiel stembureau Ma\n",
"Geldige stemmen 30\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM1509\n",
"election GR2022_OudeIJsselstreek\n",
"electionName Gemeenteraad Oude IJsselstreek 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 7958, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 201\n",
"Adres \n",
"Locatie SB201\n",
"description Stembureau Mobiel stembureau Di\n",
"Geldige stemmen 30\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM1509\n",
"election GR2022_OudeIJsselstreek\n",
"electionName Gemeenteraad Oude IJsselstreek 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 7959, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 202\n",
"Adres \n",
"Locatie SB202\n",
"description Stembureau Mobiel stembureau Woe\n",
"Geldige stemmen 44\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM1509\n",
"election GR2022_OudeIJsselstreek\n",
"electionName Gemeenteraad Oude IJsselstreek 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 7960, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 30\n",
"Adres \n",
"Locatie SB30\n",
"description Stembureau Stembureau voor de telling stembure...\n",
"Geldige stemmen 2004\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM1926\n",
"election GR2022_PijnackerNootdorp\n",
"electionName Gemeenteraad Pijnacker-Nootdorp 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 8108, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 40\n",
"Adres \n",
"Locatie SB40\n",
"description Stembureau Stembureau voor de telling stembure...\n",
"Geldige stemmen 2953\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM1926\n",
"election GR2022_PijnackerNootdorp\n",
"electionName Gemeenteraad Pijnacker-Nootdorp 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 8109, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 990\n",
"Adres \n",
"Locatie SB990\n",
"description Stembureau Mobiel stembureau (meerdere plaatsen)\n",
"Geldige stemmen 47\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0177\n",
"election GR2022_Raalte\n",
"electionName Gemeenteraad Raalte 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 8161, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 991\n",
"Adres \n",
"Locatie SB991\n",
"description Stembureau Mobiel stembureau (meerdere plaatsen)\n",
"Geldige stemmen 70\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0177\n",
"election GR2022_Raalte\n",
"electionName Gemeenteraad Raalte 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 8162, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 992\n",
"Adres \n",
"Locatie SB992\n",
"description Stembureau Mobiel stembureau (meerdere plaatsen)\n",
"Geldige stemmen 39\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0177\n",
"election GR2022_Raalte\n",
"electionName Gemeenteraad Raalte 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 8163, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 17\n",
"Adres \n",
"Locatie SB17\n",
"description Stembureau Mobiel Stembureau dinsdag\n",
"Geldige stemmen 115\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM1742\n",
"election GR2022_RijssenHolten\n",
"electionName Gemeenteraad Rijssen-Holten 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 8318, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 228\n",
"Adres \n",
"Locatie SB228\n",
"description Stembureau Stembureau Drive-in\n",
"Geldige stemmen 80\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0606\n",
"election GR2022_Schiedam\n",
"electionName Gemeenteraad Schiedam 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 9093, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 30\n",
"Adres \n",
"Locatie SB30\n",
"description Stembureau Mobiel stembureau\n",
"Geldige stemmen 25\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM1676\n",
"election GR2022_SchouwenDuiveland\n",
"electionName Gemeenteraad Schouwen-Duiveland 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 9151, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 31\n",
"Adres \n",
"Locatie SB31\n",
"description Stembureau Mobiel stembureau\n",
"Geldige stemmen 8\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM1676\n",
"election GR2022_SchouwenDuiveland\n",
"electionName Gemeenteraad Schouwen-Duiveland 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 9152, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 32\n",
"Adres \n",
"Locatie SB32\n",
"description Stembureau Mobiel stembureau\n",
"Geldige stemmen 24\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM1676\n",
"election GR2022_SchouwenDuiveland\n",
"electionName Gemeenteraad Schouwen-Duiveland 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 9153, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 76\n",
"Adres \n",
"Locatie SB76\n",
"description Stembureau Rondvaartboot Toerist VI\n",
"Geldige stemmen 148\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM1900\n",
"election GR2022_SudwestFryslan\n",
"electionName Gemeenteraad Súdwest-Fryslân 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 9661, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 68\n",
"Adres \n",
"Locatie SB68\n",
"description Stembureau Drive Inn (evenemententerrein Het L...\n",
"Geldige stemmen 285\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0855\n",
"election GR2022_Tilburg\n",
"electionName Gemeenteraad Tilburg 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 9853, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 14\n",
"Adres \n",
"Locatie SB14\n",
"description Stembureau Mobiel Stembureau\n",
"Geldige stemmen 24\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0047\n",
"election GR2022_Veendam\n",
"electionName Gemeenteraad Veendam 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 10427, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 18\n",
"Adres \n",
"Locatie SB18\n",
"description Stembureau Mobiel stembureau\n",
"Geldige stemmen 50\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0047\n",
"election GR2022_Veendam\n",
"electionName Gemeenteraad Veendam 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 10431, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 23\n",
"Adres \n",
"Locatie SB23\n",
"description Stembureau Stembureau Mobiel: Wkp Zout Veere\n",
"Geldige stemmen 55\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0717\n",
"election GR2022_Veere\n",
"electionName Gemeenteraad Veere 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 10497, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 24\n",
"Adres \n",
"Locatie SB24\n",
"description Stembureau Stembureau Mobiel: Okp Dom\n",
"Geldige stemmen 35\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0717\n",
"election GR2022_Veere\n",
"electionName Gemeenteraad Veere 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 10498, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 115\n",
"Adres \n",
"Locatie SB115\n",
"description Stembureau Tent Nijverheidslaan\n",
"Geldige stemmen 258\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0861\n",
"election GR2022_Veldhoven\n",
"electionName Gemeenteraad Veldhoven 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 10525, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 116\n",
"Adres \n",
"Locatie SB116\n",
"description Stembureau Tent Nijverheidslaan\n",
"Geldige stemmen 377\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0861\n",
"election GR2022_Veldhoven\n",
"electionName Gemeenteraad Veldhoven 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 10526, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 117\n",
"Adres \n",
"Locatie SB117\n",
"description Stembureau Tent Peter Benenson park\n",
"Geldige stemmen 285\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0861\n",
"election GR2022_Veldhoven\n",
"electionName Gemeenteraad Veldhoven 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 10527, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 118\n",
"Adres \n",
"Locatie SB118\n",
"description Stembureau Tent Peter Benenson park\n",
"Geldige stemmen 329\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0861\n",
"election GR2022_Veldhoven\n",
"electionName Gemeenteraad Veldhoven 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 10528, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 310\n",
"Adres \n",
"Locatie SB310\n",
"description Stembureau Mobiel Bijzonder stembureau 1\n",
"Geldige stemmen 26\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0983\n",
"election GR2022_Venlo\n",
"electionName Gemeenteraad Venlo 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 10623, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 311\n",
"Adres \n",
"Locatie SB311\n",
"description Stembureau Mobiel Bijzonder stembureau 2\n",
"Geldige stemmen 55\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0983\n",
"election GR2022_Venlo\n",
"electionName Gemeenteraad Venlo 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 10624, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 88\n",
"Adres \n",
"Locatie SB88\n",
"description Stembureau Mobiel stembureau 1\n",
"Geldige stemmen 78\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM1949\n",
"election GR2022_Waadhoeke\n",
"electionName Gemeenteraad Waadhoeke 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 10894, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 89\n",
"Adres \n",
"Locatie SB89\n",
"description Stembureau Mobiel stembureau 2\n",
"Geldige stemmen 35\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM1949\n",
"election GR2022_Waadhoeke\n",
"electionName Gemeenteraad Waadhoeke 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 10895, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 31\n",
"Adres \n",
"Locatie SB31\n",
"description Stembureau Stembureau Mobiel Stembureau\n",
"Geldige stemmen 32\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0988\n",
"election GR2022_Weert\n",
"electionName Gemeenteraad Weert 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 11032, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 0\n",
"Adres \n",
"Locatie SB0\n",
"description Stembureau -\n",
"Geldige stemmen 0\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM1960\n",
"election GR2022_WestBetuwe\n",
"electionName Gemeenteraad West Betuwe 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 11101, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 132\n",
"Adres \n",
"Locatie SB132\n",
"description Stembureau Stembureau IJsselhallen drive thoug...\n",
"Geldige stemmen 52\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0193\n",
"election GR2022_Zwolle\n",
"electionName Gemeenteraad Zwolle 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 12038, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 133\n",
"Adres \n",
"Locatie SB133\n",
"description Stembureau Stembureau IJsselhallen drive throu...\n",
"Geldige stemmen 48\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0193\n",
"election GR2022_Zwolle\n",
"electionName Gemeenteraad Zwolle 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 12039, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 232\n",
"Adres \n",
"Locatie SB232\n",
"description Stembureau Stembureau IJsselhallen drive thoug...\n",
"Geldige stemmen 113\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0193\n",
"election GR2022_Zwolle\n",
"electionName Gemeenteraad Zwolle 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 12053, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 233\n",
"Adres \n",
"Locatie SB233\n",
"description Stembureau Stembureau IJsselhallen drive throu...\n",
"Geldige stemmen 73\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0193\n",
"election GR2022_Zwolle\n",
"electionName Gemeenteraad Zwolle 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 12054, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 358\n",
"Adres \n",
"Locatie SB358\n",
"description Stembureau Stembureau Mobiel stembureau 1\n",
"Geldige stemmen 70\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0193\n",
"election GR2022_Zwolle\n",
"electionName Gemeenteraad Zwolle 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 12118, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 359\n",
"Adres \n",
"Locatie SB359\n",
"description Stembureau Stembureau Mobiel stembureau 2\n",
"Geldige stemmen 169\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0193\n",
"election GR2022_Zwolle\n",
"electionName Gemeenteraad Zwolle 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 12119, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 360\n",
"Adres \n",
"Locatie SB360\n",
"description Stembureau Stembureau Mobiel stembureau 3\n",
"Geldige stemmen 89\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0193\n",
"election GR2022_Zwolle\n",
"electionName Gemeenteraad Zwolle 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 12120, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 361\n",
"Adres \n",
"Locatie SB361\n",
"description Stembureau Stembureau Mobiel stembureau 4\n",
"Geldige stemmen 36\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0193\n",
"election GR2022_Zwolle\n",
"electionName Gemeenteraad Zwolle 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 12121, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 114\n",
"Adres \n",
"Locatie SB114\n",
"description Stembureau Stembureau Mobiel stembureau (beper...\n",
"Geldige stemmen 109\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0796\n",
"election GR2022_sHertogenbosch\n",
"electionName Gemeenteraad 's-Hertogenbosch 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 12504, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 115\n",
"Adres \n",
"Locatie SB115\n",
"description Stembureau Stembureau Mobiel Stembureau (beper...\n",
"Geldige stemmen 80\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0796\n",
"election GR2022_sHertogenbosch\n",
"electionName Gemeenteraad 's-Hertogenbosch 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 12505, Length: 973, dtype: object\n",
2022-05-09 18:30:16 +02:00
"Stembureau 116\n",
"Adres \n",
"Locatie SB116\n",
"description Stembureau Stembureau Mobiel Stembureau (beper...\n",
"Geldige stemmen 119\n",
" ... \n",
"één-Ermelo NaN\n",
"gmcode GM0796\n",
"election GR2022_sHertogenbosch\n",
"electionName Gemeenteraad 's-Hertogenbosch 2022\n",
"geometry POINT (0 0)\n",
2022-04-04 15:09:40 +02:00
"Name: 12506, Length: 973, dtype: object\n"
2022-03-30 15:43:08 +02:00
]
2022-03-29 17:09:52 +02:00
}
],
2022-04-04 15:09:40 +02:00
"source": [
"for index, row in df_geojson.iterrows():\n",
" if (row.geometry.centroid.x == 0.00000):\n",
" print(row)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
2022-04-20 13:03:38 +02:00
"Het zijn dus duidelijk allemaal mobiele stemlokalen, die kunnen we in een aparte dataset houden voor later, voor nu zijn ze onbelangrijk voor de kaartweergave, laten we de dataset dus opsplitsen in drie dataframes, de originele, één frame zonder de mobiele stemlokalen, en de mobiele stemlokalen alleen."
2022-04-04 15:09:40 +02:00
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 79,
2022-04-04 15:09:40 +02:00
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/1074623248.py:5: UserWarning: Geometry is in a geographic CRS. Results from 'centroid' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.\n",
2022-04-04 15:09:40 +02:00
"\n",
2022-05-11 16:40:11 +02:00
" mobiel_mask = df_geojson['geometry'].centroid.x == 0\n"
2022-04-04 15:09:40 +02:00
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"2520\n",
"2521\n",
"2918\n",
"3579\n",
"3580\n",
"3581\n",
"3582\n",
"3583\n",
"5494\n",
"5784\n",
"5785\n",
"6260\n",
"6261\n",
"6738\n",
"6739\n",
"6863\n",
"7348\n",
"7364\n",
"7857\n",
"7912\n",
"7913\n",
"7923\n",
"7924\n",
"7926\n",
"7958\n",
"7959\n",
"7960\n",
"8108\n",
"8109\n",
"8161\n",
"8162\n",
"8163\n",
"8318\n",
"9093\n",
"9151\n",
"9152\n",
"9153\n",
"9661\n",
"9853\n",
"10427\n",
"10431\n",
"10497\n",
"10498\n",
"10525\n",
"10526\n",
"10527\n",
"10528\n",
"10623\n",
"10624\n",
"10894\n",
"10895\n",
"11032\n",
"11101\n",
"12038\n",
"12039\n",
"12053\n",
"12054\n",
"12118\n",
"12119\n",
"12120\n",
"12121\n",
"12504\n",
"12505\n",
"12506\n"
]
}
],
"source": [
2022-05-06 14:51:01 +02:00
"# De waarschuwing over de projectie die niet klopt kan genegeerd worden, we zoeken naar data die x = 0 is,\n",
"# de projectie gaat geen effect hebben op die data in Nederland.\n",
"\n",
"# Filter de data en print welke waardes 0 hebben op x.\n",
2022-04-04 15:09:40 +02:00
"mobiel_mask = df_geojson['geometry'].centroid.x == 0\n",
"i = 0\n",
"for item in mobiel_mask:\n",
" if item:\n",
" print(i)\n",
" i = i + 1"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 80,
2022-04-04 15:09:40 +02:00
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
2022-04-13 15:08:29 +02:00
" Stembureau Adres Locatie \\\n",
"0 1 9461BH SB1 \n",
"1 2 9461DA SB2 \n",
"2 3 9461JA SB3 \n",
"3 4 9451KD SB4 \n",
"4 6 9454PL SB6 \n",
"... ... ... ... \n",
"12591 703 5391AR SB703 \n",
"12592 705 5391AR SB705 \n",
"12593 750 5382KE SB750 \n",
"12594 751 5382KE SB751 \n",
"12595 752 5283KE SB752 \n",
2022-04-04 15:09:40 +02:00
"\n",
" description Geldige stemmen \\\n",
2022-04-13 15:08:29 +02:00
"0 Stembureau Gemeentehuis Gieten (postcode: 9461... 784 \n",
"1 Stembureau OBS Gieten (postcode: 9461 DA) 562 \n",
"2 Stembureau Zorgcentrum Dekelhem (postcode: 946... 566 \n",
"3 Stembureau Ontmoetingscentrum Boerhorn Rolde (... 1495 \n",
"4 Stembureau Dropshuis de Eekhof (postcode: 9454... 347 \n",
2022-04-04 15:09:40 +02:00
"... ... ... \n",
2022-04-13 15:08:29 +02:00
"12591 Stembureau Stembureau Gemeenschapshuis de Meen... 268 \n",
"12592 Stembureau Stembureau Gemeenschapshuis De Meen... 398 \n",
"12593 Stembureau Stembureau Gemeenschapshuis 't Zijl... 663 \n",
"12594 Stembureau Stembureau Gemeenschapshuis 't Zijl... 170 \n",
"12595 Stembureau Stembureau Gemeenschapshuis 't Zijl... 222 \n",
2022-04-04 15:09:40 +02:00
"\n",
" Opgeroepen Ongeldig Blanco Geldige stempassen \\\n",
2022-04-13 15:08:29 +02:00
"0 2780 3 3 700 \n",
"1 1396 0 0 518 \n",
"2 1409 2 2 516 \n",
"3 2209 2 4 1335 \n",
"4 477 0 2 298 \n",
2022-04-04 15:09:40 +02:00
"... ... ... ... ... \n",
2022-04-13 15:08:29 +02:00
"12591 0 0 1 237 \n",
"12592 0 1 0 359 \n",
"12593 2321 2 0 552 \n",
"12594 0 0 0 151 \n",
"12595 0 0 0 193 \n",
2022-04-04 15:09:40 +02:00
"\n",
2022-05-09 18:30:16 +02:00
" Geldige volmachtbewijzen ... Partij voor Logisch Beleid (PvLB) \\\n",
"0 90 ... NaN \n",
"1 44 ... NaN \n",
"2 54 ... NaN \n",
"3 166 ... NaN \n",
"4 51 ... NaN \n",
"... ... ... ... \n",
"12591 32 ... NaN \n",
"12592 40 ... NaN \n",
"12593 113 ... NaN \n",
"12594 19 ... NaN \n",
"12595 29 ... NaN \n",
2022-04-04 15:09:40 +02:00
"\n",
2022-05-09 18:30:16 +02:00
" Socialisten 010 Jong Rotterdam VOOR Den Bosch Joep Gersjes \\\n",
"0 NaN NaN NaN \n",
"1 NaN NaN NaN \n",
"2 NaN NaN NaN \n",
"3 NaN NaN NaN \n",
"4 NaN NaN NaN \n",
"... ... ... ... \n",
"12591 NaN NaN 0.0 \n",
"12592 NaN NaN 2.0 \n",
"12593 NaN NaN 5.0 \n",
"12594 NaN NaN 1.0 \n",
"12595 NaN NaN 0.0 \n",
2022-04-04 15:09:40 +02:00
"\n",
2022-05-09 18:30:16 +02:00
" Zorg Voor Gorkum één-Ermelo gmcode election \\\n",
"0 NaN NaN GM1680 GR2022_AaenHunze \n",
"1 NaN NaN GM1680 GR2022_AaenHunze \n",
"2 NaN NaN GM1680 GR2022_AaenHunze \n",
"3 NaN NaN GM1680 GR2022_AaenHunze \n",
"4 NaN NaN GM1680 GR2022_AaenHunze \n",
"... ... ... ... ... \n",
"12591 NaN NaN GM0796 GR2022_sHertogenbosch \n",
"12592 NaN NaN GM0796 GR2022_sHertogenbosch \n",
"12593 NaN NaN GM0796 GR2022_sHertogenbosch \n",
"12594 NaN NaN GM0796 GR2022_sHertogenbosch \n",
"12595 NaN NaN GM0796 GR2022_sHertogenbosch \n",
2022-04-04 15:09:40 +02:00
"\n",
2022-05-09 18:30:16 +02:00
" electionName geometry \n",
"0 Gemeenteraad Aa en Hunze 2022 POINT (6.75899 53.00524) \n",
"1 Gemeenteraad Aa en Hunze 2022 POINT (6.75990 52.99975) \n",
"2 Gemeenteraad Aa en Hunze 2022 POINT (6.76600 53.00494) \n",
"3 Gemeenteraad Aa en Hunze 2022 POINT (6.64736 52.98281) \n",
"4 Gemeenteraad Aa en Hunze 2022 POINT (6.60459 52.95269) \n",
"... ... ... \n",
"12591 Gemeenteraad 's-Hertogenbosch 2022 POINT (5.43290 51.72810) \n",
"12592 Gemeenteraad 's-Hertogenbosch 2022 POINT (5.43290 51.72810) \n",
"12593 Gemeenteraad 's-Hertogenbosch 2022 POINT (5.45919 51.70595) \n",
"12594 Gemeenteraad 's-Hertogenbosch 2022 POINT (5.45919 51.70595) \n",
"12595 Gemeenteraad 's-Hertogenbosch 2022 POINT (5.45919 51.70595) \n",
2022-04-04 15:09:40 +02:00
"\n",
2022-04-13 15:08:29 +02:00
"[12532 rows x 973 columns]\n"
2022-04-04 15:09:40 +02:00
]
}
],
"source": [
"df_geojson_clean = df_geojson[~mobiel_mask]\n",
"df_geojson_mobiel = df_geojson[mobiel_mask]\n",
2022-04-13 15:08:29 +02:00
"print(df_geojson_clean)"
2022-04-04 15:09:40 +02:00
]
},
2022-05-03 13:06:50 +02:00
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 81,
2022-05-03 13:06:50 +02:00
"metadata": {},
"outputs": [],
"source": [
2022-05-06 14:51:01 +02:00
"# Let's also check if none fell through the cracks, it might be some mobile polls did actually have a location\n",
"# posted erroneously\n",
2022-05-03 13:06:50 +02:00
"#mobiel_mask_name = df_geojson_clean['description'].str.contains('Mobiel')\n",
"#df_geojson_clean = df_geojson_clean[~mobiel_mask_name]\n",
"#df_geojson_clean"
]
},
2022-05-06 14:51:01 +02:00
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## 'Waar is mijn stemlokaal' dataset (wims)"
]
},
2022-04-04 15:09:40 +02:00
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 82,
2022-04-04 15:09:40 +02:00
"metadata": {},
2022-04-20 13:03:38 +02:00
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
2022-05-11 16:40:11 +02:00
" <th>Unnamed: 0</th>\n",
2022-05-03 13:06:50 +02:00
" <th>_id</th>\n",
" <th>Gemeente</th>\n",
" <th>CBS gemeentecode</th>\n",
" <th>Nummer stembureau</th>\n",
" <th>Naam stembureau</th>\n",
" <th>Gebruiksdoel van het gebouw</th>\n",
" <th>Website locatie</th>\n",
" <th>Wijknaam</th>\n",
" <th>CBS wijknummer</th>\n",
2022-04-20 13:03:38 +02:00
" <th>...</th>\n",
2022-05-11 16:40:11 +02:00
" <th>Visuele hulpmiddelen</th>\n",
" <th>Gehandicaptentoilet</th>\n",
2022-05-03 13:06:50 +02:00
" <th>Kieskring ID</th>\n",
" <th>Hoofdstembureau</th>\n",
" <th>Tellocatie</th>\n",
" <th>Contactgegevens gemeente</th>\n",
" <th>Verkiezingswebsite gemeente</th>\n",
" <th>Verkiezingen</th>\n",
" <th>ID</th>\n",
" <th>UUID</th>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
2022-05-11 16:40:11 +02:00
" <td>0</td>\n",
2022-04-20 13:03:38 +02:00
" <td>1</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
" <td>1</td>\n",
" <td>Zorgcentrum Kempenhof</td>\n",
" <td>gezondheidszorgfunctie</td>\n",
" <td>https://www.valkenhof.nl/</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>leesloep</td>\n",
" <td>ja</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>Valkenswaard</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>verkiezingen@valkenswaard.nl</td>\n",
" <td>http://www.valkenswaard.nl/verkiezingen</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>NLODSGM0858stembureaus20220316009</td>\n",
" <td>3a612b2151fa4ab491b9e331355e6258</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
2022-05-11 16:40:11 +02:00
" <td>1</td>\n",
2022-04-20 13:03:38 +02:00
" <td>2</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
" <td>2</td>\n",
" <td>Buurtgebouw De Horizon</td>\n",
" <td>bijeenkomstfunctie</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>leesloep</td>\n",
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>Valkenswaard</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>verkiezingen@valkenswaard.nl</td>\n",
" <td>http://www.valkenswaard.nl/verkiezingen</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>NLODSGM0858stembureaus20220316009</td>\n",
" <td>9a01d765af0a467ea37f08d92db114ba</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
2022-05-11 16:40:11 +02:00
" <td>2</td>\n",
2022-04-20 13:03:38 +02:00
" <td>3</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
" <td>3</td>\n",
" <td>Speeltuin Geenhoven</td>\n",
" <td>bijeenkomstfunctie</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>leesloep</td>\n",
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>Valkenswaard</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>verkiezingen@valkenswaard.nl</td>\n",
" <td>http://www.valkenswaard.nl/verkiezingen</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>NLODSGM0858stembureaus20220316009</td>\n",
" <td>fc5869d33fbc4b06be659149fa615f4c</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
2022-05-11 16:40:11 +02:00
" <td>3</td>\n",
2022-04-20 13:03:38 +02:00
" <td>4</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
2022-04-20 13:03:38 +02:00
" <td>4</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Ontmoetingscentrum De zoete inval</td>\n",
" <td>bijeenkomstfunctie</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>leesloep</td>\n",
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>Valkenswaard</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>verkiezingen@valkenswaard.nl</td>\n",
" <td>http://www.valkenswaard.nl/verkiezingen</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>NLODSGM0858stembureaus20220316009</td>\n",
" <td>4427cc0b39e040ba8f75c333f19d66f0</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
2022-05-11 16:40:11 +02:00
" <td>4</td>\n",
2022-05-03 13:06:50 +02:00
" <td>5</td>\n",
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
" <td>5</td>\n",
" <td>Gymnastiekzaal 't Gegraaf</td>\n",
" <td>sportfunctie</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>leesloep</td>\n",
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>Valkenswaard</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>verkiezingen@valkenswaard.nl</td>\n",
" <td>http://www.valkenswaard.nl/verkiezingen</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>NLODSGM0858stembureaus20220316009</td>\n",
" <td>a893bb9add324ce29769f1c39afcc48d</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9270</th>\n",
2022-05-11 16:40:11 +02:00
" <td>9270</td>\n",
2022-05-03 13:06:50 +02:00
" <td>38745</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
" <td>4</td>\n",
" <td>Het Hökske</td>\n",
" <td>bijeenkomstfunctie</td>\n",
" <td>NaN</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>Leesloep</td>\n",
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Gennep</td>\n",
" <td>Gennep</td>\n",
" <td>ja</td>\n",
" <td>Klantcontactcentrum gemeente Gennep gemeente@g...</td>\n",
" <td>https://www.gennep.nl</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0907stembureaus20220316009</td>\n",
" <td>f744546cd6894e5e9a4db4bbfd81b4ee</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9271</th>\n",
2022-05-11 16:40:11 +02:00
" <td>9271</td>\n",
2022-05-03 13:06:50 +02:00
" <td>38746</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
" <td>5</td>\n",
" <td>Buurthuis VanOns</td>\n",
" <td>bijeenkomstfunctie</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>Leesloep</td>\n",
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Gennep</td>\n",
" <td>Gennep</td>\n",
" <td>ja</td>\n",
" <td>Klantcontactcentrum gemeente Gennep gemeente@g...</td>\n",
" <td>https://www.gennep.nl</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>NLODSGM0907stembureaus20220316009</td>\n",
" <td>1270081b1dc74cd7bea0f45973650408</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9272</th>\n",
2022-05-11 16:40:11 +02:00
" <td>9272</td>\n",
2022-05-03 13:06:50 +02:00
" <td>38747</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
" <td>6</td>\n",
" <td>'t Trefpunt</td>\n",
" <td>bijeenkomstfunctie</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>Leesloep</td>\n",
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Gennep</td>\n",
" <td>Gennep</td>\n",
" <td>ja</td>\n",
" <td>Klantcontactcentrum gemeente Gennep gemeente@g...</td>\n",
" <td>https://www.gennep.nl</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0907stembureaus20220316009</td>\n",
" <td>447c7742604345139e41def4cf1e4d3c</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9273</th>\n",
2022-05-11 16:40:11 +02:00
" <td>9273</td>\n",
2022-05-03 13:06:50 +02:00
" <td>38748</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
" <td>8</td>\n",
" <td>De Uitkomst</td>\n",
" <td>bijeenkomstfunctie</td>\n",
" <td>NaN</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>Leesloep</td>\n",
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Gennep</td>\n",
" <td>Gennep</td>\n",
" <td>ja</td>\n",
" <td>Klantcontactcentrum gemeente Gennep gemeente@g...</td>\n",
" <td>https://www.gennep.nl</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0907stembureaus20220316009</td>\n",
" <td>049cfd258c174bc49abf17883396d083</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9274</th>\n",
2022-05-11 16:40:11 +02:00
" <td>9274</td>\n",
2022-05-03 13:06:50 +02:00
" <td>38749</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
" <td>1</td>\n",
" <td>Zaal Buurman</td>\n",
" <td>woonfunctie,bijeenkomstfunctie</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-20 13:03:38 +02:00
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Gennep</td>\n",
" <td>Gennep</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Klantcontactcentrum gemeente Gennep gemeente@g...</td>\n",
" <td>https://www.gennep.nl</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0907stembureaus20220316009</td>\n",
" <td>1e8cbe96e72c4c6ba6303f47bec8cdb5</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" </tbody>\n",
"</table>\n",
2022-05-11 16:40:11 +02:00
"<p>9275 rows × 40 columns</p>\n",
2022-04-20 13:03:38 +02:00
"</div>"
],
"text/plain": [
2022-05-11 16:40:11 +02:00
" Unnamed: 0 _id Gemeente CBS gemeentecode Nummer stembureau \\\n",
"0 0 1 Valkenswaard GM0858 1 \n",
"1 1 2 Valkenswaard GM0858 2 \n",
"2 2 3 Valkenswaard GM0858 3 \n",
"3 3 4 Valkenswaard GM0858 4 \n",
"4 4 5 Valkenswaard GM0858 5 \n",
"... ... ... ... ... ... \n",
"9270 9270 38745 Gennep GM0907 4 \n",
"9271 9271 38746 Gennep GM0907 5 \n",
"9272 9272 38747 Gennep GM0907 6 \n",
"9273 9273 38748 Gennep GM0907 8 \n",
"9274 9274 38749 Gennep GM0907 1 \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-03 13:06:50 +02:00
" Naam stembureau Gebruiksdoel van het gebouw \\\n",
"0 Zorgcentrum Kempenhof gezondheidszorgfunctie \n",
"1 Buurtgebouw De Horizon bijeenkomstfunctie \n",
"2 Speeltuin Geenhoven bijeenkomstfunctie \n",
"3 Ontmoetingscentrum De zoete inval bijeenkomstfunctie \n",
"4 Gymnastiekzaal 't Gegraaf sportfunctie \n",
"... ... ... \n",
"9270 Het Hökske bijeenkomstfunctie \n",
"9271 Buurthuis VanOns bijeenkomstfunctie \n",
"9272 't Trefpunt bijeenkomstfunctie \n",
"9273 De Uitkomst bijeenkomstfunctie \n",
"9274 Zaal Buurman woonfunctie,bijeenkomstfunctie \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-11 16:40:11 +02:00
" Website locatie Wijknaam CBS wijknummer ... \\\n",
"0 https://www.valkenhof.nl/ NaN NaN ... \n",
"1 NaN NaN NaN ... \n",
"2 NaN NaN NaN ... \n",
"3 NaN NaN NaN ... \n",
"4 NaN NaN NaN ... \n",
"... ... ... ... ... \n",
"9270 NaN NaN NaN ... \n",
"9271 NaN NaN NaN ... \n",
"9272 NaN NaN NaN ... \n",
"9273 NaN NaN NaN ... \n",
"9274 NaN NaN NaN ... \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-11 16:40:11 +02:00
" Visuele hulpmiddelen Gehandicaptentoilet Kieskring ID Hoofdstembureau \\\n",
"0 leesloep ja Valkenswaard Valkenswaard \n",
"1 leesloep NaN Valkenswaard Valkenswaard \n",
"2 leesloep NaN Valkenswaard Valkenswaard \n",
"3 leesloep NaN Valkenswaard Valkenswaard \n",
"4 leesloep NaN Valkenswaard Valkenswaard \n",
"... ... ... ... ... \n",
"9270 Leesloep NaN Gennep Gennep \n",
"9271 Leesloep NaN Gennep Gennep \n",
"9272 Leesloep NaN Gennep Gennep \n",
"9273 Leesloep NaN Gennep Gennep \n",
"9274 NaN NaN Gennep Gennep \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-11 16:40:11 +02:00
" Tellocatie Contactgegevens gemeente \\\n",
"0 NaN verkiezingen@valkenswaard.nl \n",
"1 NaN verkiezingen@valkenswaard.nl \n",
"2 NaN verkiezingen@valkenswaard.nl \n",
"3 NaN verkiezingen@valkenswaard.nl \n",
"4 NaN verkiezingen@valkenswaard.nl \n",
"... ... ... \n",
"9270 ja Klantcontactcentrum gemeente Gennep gemeente@g... \n",
"9271 ja Klantcontactcentrum gemeente Gennep gemeente@g... \n",
"9272 ja Klantcontactcentrum gemeente Gennep gemeente@g... \n",
"9273 ja Klantcontactcentrum gemeente Gennep gemeente@g... \n",
"9274 NaN Klantcontactcentrum gemeente Gennep gemeente@g... \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-03 13:06:50 +02:00
" Verkiezingswebsite gemeente Verkiezingen \\\n",
"0 http://www.valkenswaard.nl/verkiezingen NaN \n",
"1 http://www.valkenswaard.nl/verkiezingen NaN \n",
"2 http://www.valkenswaard.nl/verkiezingen NaN \n",
"3 http://www.valkenswaard.nl/verkiezingen NaN \n",
"4 http://www.valkenswaard.nl/verkiezingen NaN \n",
"... ... ... \n",
"9270 https://www.gennep.nl NaN \n",
"9271 https://www.gennep.nl NaN \n",
"9272 https://www.gennep.nl NaN \n",
"9273 https://www.gennep.nl NaN \n",
"9274 https://www.gennep.nl NaN \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-11 16:40:11 +02:00
" ID UUID \n",
"0 NLODSGM0858stembureaus20220316009 3a612b2151fa4ab491b9e331355e6258 \n",
"1 NLODSGM0858stembureaus20220316009 9a01d765af0a467ea37f08d92db114ba \n",
"2 NLODSGM0858stembureaus20220316009 fc5869d33fbc4b06be659149fa615f4c \n",
"3 NLODSGM0858stembureaus20220316009 4427cc0b39e040ba8f75c333f19d66f0 \n",
"4 NLODSGM0858stembureaus20220316009 a893bb9add324ce29769f1c39afcc48d \n",
"... ... ... \n",
"9270 NLODSGM0907stembureaus20220316009 f744546cd6894e5e9a4db4bbfd81b4ee \n",
"9271 NLODSGM0907stembureaus20220316009 1270081b1dc74cd7bea0f45973650408 \n",
"9272 NLODSGM0907stembureaus20220316009 447c7742604345139e41def4cf1e4d3c \n",
"9273 NLODSGM0907stembureaus20220316009 049cfd258c174bc49abf17883396d083 \n",
"9274 NLODSGM0907stembureaus20220316009 1e8cbe96e72c4c6ba6303f47bec8cdb5 \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-11 16:40:11 +02:00
"[9275 rows x 40 columns]"
2022-04-20 13:03:38 +02:00
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 82,
2022-04-20 13:03:38 +02:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
2022-05-11 16:40:11 +02:00
"df_wims = pd.read_csv(r'../data/wims_clean.csv')\n",
2022-05-03 13:06:50 +02:00
"df_wims"
2022-04-20 13:03:38 +02:00
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 83,
2022-05-11 16:40:11 +02:00
"metadata": {},
"outputs": [],
"source": [
"df_wims2 = pd.read_csv(r'../data/wims-3.csv')\n",
"df_wims['Gebruiksdoel van het gebouw'] = df_wims['Gebruiksdoel van het gebouw'].mask(df_wims['Gebruiksdoel van het gebouw'].eq(0)).fillna(\n",
" df_wims['UUID'].map(df_wims2.set_index('UUID')['Gebruiksdoel van het gebouw'])\n",
")\n",
"\n"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 84,
2022-05-11 16:40:11 +02:00
"metadata": {},
"outputs": [],
"source": [
"df_wims.to_csv(path_or_buf='../data/export/wims_clean.csv', sep=',', na_rep='', header=True)"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 85,
2022-04-20 13:03:38 +02:00
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
2022-05-11 16:40:11 +02:00
" <th>Unnamed: 0</th>\n",
2022-04-20 13:03:38 +02:00
" <th>_id</th>\n",
" <th>Gemeente</th>\n",
" <th>CBS gemeentecode</th>\n",
" <th>Nummer stembureau</th>\n",
" <th>Naam stembureau</th>\n",
" <th>Gebruiksdoel van het gebouw</th>\n",
" <th>Website locatie</th>\n",
" <th>Wijknaam</th>\n",
" <th>CBS wijknummer</th>\n",
" <th>...</th>\n",
2022-05-11 16:40:11 +02:00
" <th>Gehandicaptentoilet</th>\n",
" <th>Kieskring ID</th>\n",
2022-04-20 13:03:38 +02:00
" <th>Hoofdstembureau</th>\n",
" <th>Tellocatie</th>\n",
" <th>Contactgegevens gemeente</th>\n",
" <th>Verkiezingswebsite gemeente</th>\n",
" <th>Verkiezingen</th>\n",
" <th>ID</th>\n",
" <th>UUID</th>\n",
2022-05-03 13:06:50 +02:00
" <th>geometry</th>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
2022-05-11 16:40:11 +02:00
" <td>0</td>\n",
2022-04-20 13:03:38 +02:00
" <td>1</td>\n",
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
" <td>1</td>\n",
" <td>Zorgcentrum Kempenhof</td>\n",
" <td>gezondheidszorgfunctie</td>\n",
" <td>https://www.valkenhof.nl/</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>ja</td>\n",
" <td>Valkenswaard</td>\n",
2022-04-20 13:03:38 +02:00
" <td>Valkenswaard</td>\n",
" <td>NaN</td>\n",
" <td>verkiezingen@valkenswaard.nl</td>\n",
" <td>http://www.valkenswaard.nl/verkiezingen</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0858stembureaus20220316009</td>\n",
" <td>3a612b2151fa4ab491b9e331355e6258</td>\n",
2022-05-03 13:06:50 +02:00
" <td>POINT (5.45515 51.34711)</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
2022-05-11 16:40:11 +02:00
" <td>1</td>\n",
2022-04-20 13:03:38 +02:00
" <td>2</td>\n",
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
" <td>2</td>\n",
" <td>Buurtgebouw De Horizon</td>\n",
" <td>bijeenkomstfunctie</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Valkenswaard</td>\n",
2022-04-20 13:03:38 +02:00
" <td>Valkenswaard</td>\n",
" <td>NaN</td>\n",
" <td>verkiezingen@valkenswaard.nl</td>\n",
" <td>http://www.valkenswaard.nl/verkiezingen</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0858stembureaus20220316009</td>\n",
" <td>9a01d765af0a467ea37f08d92db114ba</td>\n",
2022-05-03 13:06:50 +02:00
" <td>POINT (5.45137 51.34955)</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
2022-05-11 16:40:11 +02:00
" <td>2</td>\n",
2022-04-20 13:03:38 +02:00
" <td>3</td>\n",
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
" <td>3</td>\n",
" <td>Speeltuin Geenhoven</td>\n",
" <td>bijeenkomstfunctie</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Valkenswaard</td>\n",
2022-04-20 13:03:38 +02:00
" <td>Valkenswaard</td>\n",
" <td>NaN</td>\n",
" <td>verkiezingen@valkenswaard.nl</td>\n",
" <td>http://www.valkenswaard.nl/verkiezingen</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0858stembureaus20220316009</td>\n",
" <td>fc5869d33fbc4b06be659149fa615f4c</td>\n",
2022-05-03 13:06:50 +02:00
" <td>POINT (5.44827 51.35702)</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
2022-05-11 16:40:11 +02:00
" <td>3</td>\n",
2022-04-20 13:03:38 +02:00
" <td>4</td>\n",
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
" <td>4</td>\n",
" <td>Ontmoetingscentrum De zoete inval</td>\n",
" <td>bijeenkomstfunctie</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Valkenswaard</td>\n",
2022-04-20 13:03:38 +02:00
" <td>Valkenswaard</td>\n",
" <td>NaN</td>\n",
" <td>verkiezingen@valkenswaard.nl</td>\n",
" <td>http://www.valkenswaard.nl/verkiezingen</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0858stembureaus20220316009</td>\n",
" <td>4427cc0b39e040ba8f75c333f19d66f0</td>\n",
2022-05-03 13:06:50 +02:00
" <td>POINT (5.44871 51.36022)</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
2022-05-11 16:40:11 +02:00
" <td>4</td>\n",
2022-04-20 13:03:38 +02:00
" <td>5</td>\n",
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
" <td>5</td>\n",
" <td>Gymnastiekzaal 't Gegraaf</td>\n",
" <td>sportfunctie</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Valkenswaard</td>\n",
2022-04-20 13:03:38 +02:00
" <td>Valkenswaard</td>\n",
" <td>NaN</td>\n",
" <td>verkiezingen@valkenswaard.nl</td>\n",
" <td>http://www.valkenswaard.nl/verkiezingen</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0858stembureaus20220316009</td>\n",
" <td>a893bb9add324ce29769f1c39afcc48d</td>\n",
2022-05-03 13:06:50 +02:00
" <td>POINT (5.45331 51.36514)</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9270</th>\n",
2022-05-11 16:40:11 +02:00
" <td>9270</td>\n",
2022-05-03 13:06:50 +02:00
" <td>38745</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
" <td>4</td>\n",
" <td>Het Hökske</td>\n",
2022-04-20 13:03:38 +02:00
" <td>bijeenkomstfunctie</td>\n",
2022-05-03 13:06:50 +02:00
" <td>NaN</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Gennep</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Gennep</td>\n",
2022-04-20 13:03:38 +02:00
" <td>ja</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Klantcontactcentrum gemeente Gennep gemeente@g...</td>\n",
" <td>https://www.gennep.nl</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>NLODSGM0907stembureaus20220316009</td>\n",
" <td>f744546cd6894e5e9a4db4bbfd81b4ee</td>\n",
" <td>POINT (5.98266 51.69726)</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9271</th>\n",
2022-05-11 16:40:11 +02:00
" <td>9271</td>\n",
2022-05-03 13:06:50 +02:00
" <td>38746</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
" <td>5</td>\n",
" <td>Buurthuis VanOns</td>\n",
" <td>bijeenkomstfunctie</td>\n",
" <td>NaN</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Gennep</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Gennep</td>\n",
2022-04-20 13:03:38 +02:00
" <td>ja</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Klantcontactcentrum gemeente Gennep gemeente@g...</td>\n",
" <td>https://www.gennep.nl</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>NLODSGM0907stembureaus20220316009</td>\n",
" <td>1270081b1dc74cd7bea0f45973650408</td>\n",
" <td>POINT (5.98127 51.69000)</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9272</th>\n",
2022-05-11 16:40:11 +02:00
" <td>9272</td>\n",
2022-05-03 13:06:50 +02:00
" <td>38747</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
" <td>6</td>\n",
" <td>'t Trefpunt</td>\n",
" <td>bijeenkomstfunctie</td>\n",
" <td>NaN</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Gennep</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Gennep</td>\n",
2022-04-20 13:03:38 +02:00
" <td>ja</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Klantcontactcentrum gemeente Gennep gemeente@g...</td>\n",
" <td>https://www.gennep.nl</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>NLODSGM0907stembureaus20220316009</td>\n",
" <td>447c7742604345139e41def4cf1e4d3c</td>\n",
" <td>POINT (5.95118 51.72591)</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9273</th>\n",
2022-05-11 16:40:11 +02:00
" <td>9273</td>\n",
2022-05-03 13:06:50 +02:00
" <td>38748</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
" <td>8</td>\n",
" <td>De Uitkomst</td>\n",
" <td>bijeenkomstfunctie</td>\n",
" <td>NaN</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Gennep</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Gennep</td>\n",
2022-04-20 13:03:38 +02:00
" <td>ja</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Klantcontactcentrum gemeente Gennep gemeente@g...</td>\n",
" <td>https://www.gennep.nl</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>NLODSGM0907stembureaus20220316009</td>\n",
" <td>049cfd258c174bc49abf17883396d083</td>\n",
" <td>POINT (6.01556 51.70976)</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9274</th>\n",
2022-05-11 16:40:11 +02:00
" <td>9274</td>\n",
2022-05-03 13:06:50 +02:00
" <td>38749</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
" <td>1</td>\n",
" <td>Zaal Buurman</td>\n",
" <td>woonfunctie,bijeenkomstfunctie</td>\n",
" <td>NaN</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Gennep</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Gennep</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Klantcontactcentrum gemeente Gennep gemeente@g...</td>\n",
" <td>https://www.gennep.nl</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0907stembureaus20220316009</td>\n",
" <td>1e8cbe96e72c4c6ba6303f47bec8cdb5</td>\n",
" <td>POINT (5.98514 51.70189)</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" </tbody>\n",
"</table>\n",
2022-05-11 16:40:11 +02:00
"<p>9275 rows × 41 columns</p>\n",
2022-04-20 13:03:38 +02:00
"</div>"
],
"text/plain": [
2022-05-11 16:40:11 +02:00
" Unnamed: 0 _id Gemeente CBS gemeentecode Nummer stembureau \\\n",
"0 0 1 Valkenswaard GM0858 1 \n",
"1 1 2 Valkenswaard GM0858 2 \n",
"2 2 3 Valkenswaard GM0858 3 \n",
"3 3 4 Valkenswaard GM0858 4 \n",
"4 4 5 Valkenswaard GM0858 5 \n",
"... ... ... ... ... ... \n",
"9270 9270 38745 Gennep GM0907 4 \n",
"9271 9271 38746 Gennep GM0907 5 \n",
"9272 9272 38747 Gennep GM0907 6 \n",
"9273 9273 38748 Gennep GM0907 8 \n",
"9274 9274 38749 Gennep GM0907 1 \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-03 13:06:50 +02:00
" Naam stembureau Gebruiksdoel van het gebouw \\\n",
"0 Zorgcentrum Kempenhof gezondheidszorgfunctie \n",
"1 Buurtgebouw De Horizon bijeenkomstfunctie \n",
"2 Speeltuin Geenhoven bijeenkomstfunctie \n",
"3 Ontmoetingscentrum De zoete inval bijeenkomstfunctie \n",
"4 Gymnastiekzaal 't Gegraaf sportfunctie \n",
"... ... ... \n",
"9270 Het Hökske bijeenkomstfunctie \n",
"9271 Buurthuis VanOns bijeenkomstfunctie \n",
"9272 't Trefpunt bijeenkomstfunctie \n",
"9273 De Uitkomst bijeenkomstfunctie \n",
"9274 Zaal Buurman woonfunctie,bijeenkomstfunctie \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-11 16:40:11 +02:00
" Website locatie Wijknaam CBS wijknummer ... \\\n",
"0 https://www.valkenhof.nl/ NaN NaN ... \n",
"1 NaN NaN NaN ... \n",
"2 NaN NaN NaN ... \n",
"3 NaN NaN NaN ... \n",
"4 NaN NaN NaN ... \n",
"... ... ... ... ... \n",
"9270 NaN NaN NaN ... \n",
"9271 NaN NaN NaN ... \n",
"9272 NaN NaN NaN ... \n",
"9273 NaN NaN NaN ... \n",
"9274 NaN NaN NaN ... \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-11 16:40:11 +02:00
" Gehandicaptentoilet Kieskring ID Hoofdstembureau Tellocatie \\\n",
"0 ja Valkenswaard Valkenswaard NaN \n",
"1 NaN Valkenswaard Valkenswaard NaN \n",
"2 NaN Valkenswaard Valkenswaard NaN \n",
"3 NaN Valkenswaard Valkenswaard NaN \n",
"4 NaN Valkenswaard Valkenswaard NaN \n",
"... ... ... ... ... \n",
"9270 NaN Gennep Gennep ja \n",
"9271 NaN Gennep Gennep ja \n",
"9272 NaN Gennep Gennep ja \n",
"9273 NaN Gennep Gennep ja \n",
"9274 NaN Gennep Gennep NaN \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-03 13:06:50 +02:00
" Contactgegevens gemeente \\\n",
"0 verkiezingen@valkenswaard.nl \n",
"1 verkiezingen@valkenswaard.nl \n",
"2 verkiezingen@valkenswaard.nl \n",
"3 verkiezingen@valkenswaard.nl \n",
"4 verkiezingen@valkenswaard.nl \n",
"... ... \n",
"9270 Klantcontactcentrum gemeente Gennep gemeente@g... \n",
"9271 Klantcontactcentrum gemeente Gennep gemeente@g... \n",
"9272 Klantcontactcentrum gemeente Gennep gemeente@g... \n",
"9273 Klantcontactcentrum gemeente Gennep gemeente@g... \n",
"9274 Klantcontactcentrum gemeente Gennep gemeente@g... \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-03 13:06:50 +02:00
" Verkiezingswebsite gemeente Verkiezingen \\\n",
"0 http://www.valkenswaard.nl/verkiezingen NaN \n",
"1 http://www.valkenswaard.nl/verkiezingen NaN \n",
"2 http://www.valkenswaard.nl/verkiezingen NaN \n",
"3 http://www.valkenswaard.nl/verkiezingen NaN \n",
"4 http://www.valkenswaard.nl/verkiezingen NaN \n",
"... ... ... \n",
"9270 https://www.gennep.nl NaN \n",
"9271 https://www.gennep.nl NaN \n",
"9272 https://www.gennep.nl NaN \n",
"9273 https://www.gennep.nl NaN \n",
"9274 https://www.gennep.nl NaN \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-03 13:06:50 +02:00
" ID UUID \\\n",
"0 NLODSGM0858stembureaus20220316009 3a612b2151fa4ab491b9e331355e6258 \n",
"1 NLODSGM0858stembureaus20220316009 9a01d765af0a467ea37f08d92db114ba \n",
"2 NLODSGM0858stembureaus20220316009 fc5869d33fbc4b06be659149fa615f4c \n",
"3 NLODSGM0858stembureaus20220316009 4427cc0b39e040ba8f75c333f19d66f0 \n",
"4 NLODSGM0858stembureaus20220316009 a893bb9add324ce29769f1c39afcc48d \n",
"... ... ... \n",
"9270 NLODSGM0907stembureaus20220316009 f744546cd6894e5e9a4db4bbfd81b4ee \n",
"9271 NLODSGM0907stembureaus20220316009 1270081b1dc74cd7bea0f45973650408 \n",
"9272 NLODSGM0907stembureaus20220316009 447c7742604345139e41def4cf1e4d3c \n",
"9273 NLODSGM0907stembureaus20220316009 049cfd258c174bc49abf17883396d083 \n",
"9274 NLODSGM0907stembureaus20220316009 1e8cbe96e72c4c6ba6303f47bec8cdb5 \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-11 16:40:11 +02:00
" geometry \n",
"0 POINT (5.45515 51.34711) \n",
"1 POINT (5.45137 51.34955) \n",
"2 POINT (5.44827 51.35702) \n",
"3 POINT (5.44871 51.36022) \n",
"4 POINT (5.45331 51.36514) \n",
"... ... \n",
"9270 POINT (5.98266 51.69726) \n",
"9271 POINT (5.98127 51.69000) \n",
"9272 POINT (5.95118 51.72591) \n",
"9273 POINT (6.01556 51.70976) \n",
"9274 POINT (5.98514 51.70189) \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-11 16:40:11 +02:00
"[9275 rows x 41 columns]"
2022-04-20 13:03:38 +02:00
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 85,
2022-04-20 13:03:38 +02:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
2022-05-06 14:51:01 +02:00
"# Convert the wims data to a geopandas dataframe\n",
2022-05-03 13:06:50 +02:00
"gdf_wims = gpd.GeoDataFrame(\n",
2022-05-06 14:51:01 +02:00
" df_wims,\n",
" geometry=gpd.points_from_xy(df_wims.Longitude, df_wims.Latitude)\n",
").set_crs(epsg=4326, inplace=True)\n",
2022-05-03 13:06:50 +02:00
"\n",
"gdf_wims"
2022-04-20 13:03:38 +02:00
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 86,
2022-04-20 13:03:38 +02:00
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
2022-05-11 16:40:11 +02:00
" <th>Unnamed: 0</th>\n",
2022-04-20 13:03:38 +02:00
" <th>_id</th>\n",
" <th>Gemeente</th>\n",
" <th>CBS gemeentecode</th>\n",
" <th>Nummer stembureau</th>\n",
" <th>Naam stembureau</th>\n",
" <th>Gebruiksdoel van het gebouw</th>\n",
" <th>Website locatie</th>\n",
" <th>Wijknaam</th>\n",
" <th>CBS wijknummer</th>\n",
" <th>...</th>\n",
2022-05-11 16:40:11 +02:00
" <th>Gehandicaptentoilet</th>\n",
" <th>Kieskring ID</th>\n",
2022-04-20 13:03:38 +02:00
" <th>Hoofdstembureau</th>\n",
" <th>Tellocatie</th>\n",
" <th>Contactgegevens gemeente</th>\n",
" <th>Verkiezingswebsite gemeente</th>\n",
" <th>Verkiezingen</th>\n",
" <th>ID</th>\n",
" <th>UUID</th>\n",
" <th>geometry</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
2022-05-11 16:40:11 +02:00
" <td>0</td>\n",
2022-04-20 13:03:38 +02:00
" <td>1</td>\n",
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
" <td>1</td>\n",
" <td>Zorgcentrum Kempenhof</td>\n",
" <td>gezondheidszorgfunctie</td>\n",
" <td>https://www.valkenhof.nl/</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>ja</td>\n",
" <td>Valkenswaard</td>\n",
2022-04-20 13:03:38 +02:00
" <td>Valkenswaard</td>\n",
" <td>NaN</td>\n",
" <td>verkiezingen@valkenswaard.nl</td>\n",
" <td>http://www.valkenswaard.nl/verkiezingen</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0858stembureaus20220316009</td>\n",
" <td>3a612b2151fa4ab491b9e331355e6258</td>\n",
" <td>POINT (5.45515 51.34711)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
2022-05-11 16:40:11 +02:00
" <td>1</td>\n",
2022-04-20 13:03:38 +02:00
" <td>2</td>\n",
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
" <td>2</td>\n",
" <td>Buurtgebouw De Horizon</td>\n",
" <td>bijeenkomstfunctie</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Valkenswaard</td>\n",
2022-04-20 13:03:38 +02:00
" <td>Valkenswaard</td>\n",
" <td>NaN</td>\n",
" <td>verkiezingen@valkenswaard.nl</td>\n",
" <td>http://www.valkenswaard.nl/verkiezingen</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0858stembureaus20220316009</td>\n",
" <td>9a01d765af0a467ea37f08d92db114ba</td>\n",
" <td>POINT (5.45137 51.34955)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
2022-05-11 16:40:11 +02:00
" <td>2</td>\n",
2022-04-20 13:03:38 +02:00
" <td>3</td>\n",
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
" <td>3</td>\n",
" <td>Speeltuin Geenhoven</td>\n",
" <td>bijeenkomstfunctie</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Valkenswaard</td>\n",
2022-04-20 13:03:38 +02:00
" <td>Valkenswaard</td>\n",
" <td>NaN</td>\n",
" <td>verkiezingen@valkenswaard.nl</td>\n",
" <td>http://www.valkenswaard.nl/verkiezingen</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0858stembureaus20220316009</td>\n",
" <td>fc5869d33fbc4b06be659149fa615f4c</td>\n",
" <td>POINT (5.44827 51.35702)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
2022-05-11 16:40:11 +02:00
" <td>3</td>\n",
2022-04-20 13:03:38 +02:00
" <td>4</td>\n",
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
" <td>4</td>\n",
" <td>Ontmoetingscentrum De zoete inval</td>\n",
" <td>bijeenkomstfunctie</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Valkenswaard</td>\n",
2022-04-20 13:03:38 +02:00
" <td>Valkenswaard</td>\n",
" <td>NaN</td>\n",
" <td>verkiezingen@valkenswaard.nl</td>\n",
" <td>http://www.valkenswaard.nl/verkiezingen</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0858stembureaus20220316009</td>\n",
" <td>4427cc0b39e040ba8f75c333f19d66f0</td>\n",
" <td>POINT (5.44871 51.36022)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
2022-05-11 16:40:11 +02:00
" <td>4</td>\n",
2022-04-20 13:03:38 +02:00
" <td>5</td>\n",
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
" <td>5</td>\n",
" <td>Gymnastiekzaal 't Gegraaf</td>\n",
" <td>sportfunctie</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Valkenswaard</td>\n",
2022-04-20 13:03:38 +02:00
" <td>Valkenswaard</td>\n",
" <td>NaN</td>\n",
" <td>verkiezingen@valkenswaard.nl</td>\n",
" <td>http://www.valkenswaard.nl/verkiezingen</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0858stembureaus20220316009</td>\n",
" <td>a893bb9add324ce29769f1c39afcc48d</td>\n",
" <td>POINT (5.45331 51.36514)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9270</th>\n",
2022-05-11 16:40:11 +02:00
" <td>9270</td>\n",
2022-05-03 13:06:50 +02:00
" <td>38745</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
" <td>4</td>\n",
" <td>Het Hökske</td>\n",
2022-04-20 13:03:38 +02:00
" <td>bijeenkomstfunctie</td>\n",
2022-05-03 13:06:50 +02:00
" <td>NaN</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Gennep</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Gennep</td>\n",
2022-04-26 14:07:35 +02:00
" <td>ja</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Klantcontactcentrum gemeente Gennep gemeente@g...</td>\n",
" <td>https://www.gennep.nl</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>NLODSGM0907stembureaus20220316009</td>\n",
" <td>f744546cd6894e5e9a4db4bbfd81b4ee</td>\n",
" <td>POINT (5.98266 51.69726)</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9271</th>\n",
2022-05-11 16:40:11 +02:00
" <td>9271</td>\n",
2022-05-03 13:06:50 +02:00
" <td>38746</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
" <td>5</td>\n",
" <td>Buurthuis VanOns</td>\n",
" <td>bijeenkomstfunctie</td>\n",
" <td>NaN</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Gennep</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Gennep</td>\n",
2022-04-20 13:03:38 +02:00
" <td>ja</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Klantcontactcentrum gemeente Gennep gemeente@g...</td>\n",
" <td>https://www.gennep.nl</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>NLODSGM0907stembureaus20220316009</td>\n",
" <td>1270081b1dc74cd7bea0f45973650408</td>\n",
" <td>POINT (5.98127 51.69000)</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9272</th>\n",
2022-05-11 16:40:11 +02:00
" <td>9272</td>\n",
2022-05-03 13:06:50 +02:00
" <td>38747</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
" <td>6</td>\n",
" <td>'t Trefpunt</td>\n",
" <td>bijeenkomstfunctie</td>\n",
" <td>NaN</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Gennep</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Gennep</td>\n",
2022-04-20 13:03:38 +02:00
" <td>ja</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Klantcontactcentrum gemeente Gennep gemeente@g...</td>\n",
" <td>https://www.gennep.nl</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>NLODSGM0907stembureaus20220316009</td>\n",
" <td>447c7742604345139e41def4cf1e4d3c</td>\n",
" <td>POINT (5.95118 51.72591)</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9273</th>\n",
2022-05-11 16:40:11 +02:00
" <td>9273</td>\n",
2022-05-03 13:06:50 +02:00
" <td>38748</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
" <td>8</td>\n",
" <td>De Uitkomst</td>\n",
" <td>bijeenkomstfunctie</td>\n",
" <td>NaN</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Gennep</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Gennep</td>\n",
2022-04-26 14:07:35 +02:00
" <td>ja</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Klantcontactcentrum gemeente Gennep gemeente@g...</td>\n",
" <td>https://www.gennep.nl</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>NLODSGM0907stembureaus20220316009</td>\n",
" <td>049cfd258c174bc49abf17883396d083</td>\n",
" <td>POINT (6.01556 51.70976)</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9274</th>\n",
2022-05-11 16:40:11 +02:00
" <td>9274</td>\n",
2022-05-03 13:06:50 +02:00
" <td>38749</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
" <td>1</td>\n",
" <td>Zaal Buurman</td>\n",
" <td>woonfunctie,bijeenkomstfunctie</td>\n",
" <td>NaN</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Gennep</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Gennep</td>\n",
2022-04-20 13:03:38 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Klantcontactcentrum gemeente Gennep gemeente@g...</td>\n",
" <td>https://www.gennep.nl</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0907stembureaus20220316009</td>\n",
" <td>1e8cbe96e72c4c6ba6303f47bec8cdb5</td>\n",
" <td>POINT (5.98514 51.70189)</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" </tbody>\n",
"</table>\n",
2022-05-11 16:40:11 +02:00
"<p>8089 rows × 41 columns</p>\n",
2022-04-20 13:03:38 +02:00
"</div>"
],
"text/plain": [
2022-05-11 16:40:11 +02:00
" Unnamed: 0 _id Gemeente CBS gemeentecode Nummer stembureau \\\n",
"0 0 1 Valkenswaard GM0858 1 \n",
"1 1 2 Valkenswaard GM0858 2 \n",
"2 2 3 Valkenswaard GM0858 3 \n",
"3 3 4 Valkenswaard GM0858 4 \n",
"4 4 5 Valkenswaard GM0858 5 \n",
"... ... ... ... ... ... \n",
"9270 9270 38745 Gennep GM0907 4 \n",
"9271 9271 38746 Gennep GM0907 5 \n",
"9272 9272 38747 Gennep GM0907 6 \n",
"9273 9273 38748 Gennep GM0907 8 \n",
"9274 9274 38749 Gennep GM0907 1 \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-03 13:06:50 +02:00
" Naam stembureau Gebruiksdoel van het gebouw \\\n",
"0 Zorgcentrum Kempenhof gezondheidszorgfunctie \n",
"1 Buurtgebouw De Horizon bijeenkomstfunctie \n",
"2 Speeltuin Geenhoven bijeenkomstfunctie \n",
"3 Ontmoetingscentrum De zoete inval bijeenkomstfunctie \n",
"4 Gymnastiekzaal 't Gegraaf sportfunctie \n",
"... ... ... \n",
"9270 Het Hökske bijeenkomstfunctie \n",
"9271 Buurthuis VanOns bijeenkomstfunctie \n",
"9272 't Trefpunt bijeenkomstfunctie \n",
"9273 De Uitkomst bijeenkomstfunctie \n",
"9274 Zaal Buurman woonfunctie,bijeenkomstfunctie \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-11 16:40:11 +02:00
" Website locatie Wijknaam CBS wijknummer ... \\\n",
"0 https://www.valkenhof.nl/ NaN NaN ... \n",
"1 NaN NaN NaN ... \n",
"2 NaN NaN NaN ... \n",
"3 NaN NaN NaN ... \n",
"4 NaN NaN NaN ... \n",
"... ... ... ... ... \n",
"9270 NaN NaN NaN ... \n",
"9271 NaN NaN NaN ... \n",
"9272 NaN NaN NaN ... \n",
"9273 NaN NaN NaN ... \n",
"9274 NaN NaN NaN ... \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-11 16:40:11 +02:00
" Gehandicaptentoilet Kieskring ID Hoofdstembureau Tellocatie \\\n",
"0 ja Valkenswaard Valkenswaard NaN \n",
"1 NaN Valkenswaard Valkenswaard NaN \n",
"2 NaN Valkenswaard Valkenswaard NaN \n",
"3 NaN Valkenswaard Valkenswaard NaN \n",
"4 NaN Valkenswaard Valkenswaard NaN \n",
"... ... ... ... ... \n",
"9270 NaN Gennep Gennep ja \n",
"9271 NaN Gennep Gennep ja \n",
"9272 NaN Gennep Gennep ja \n",
"9273 NaN Gennep Gennep ja \n",
"9274 NaN Gennep Gennep NaN \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-03 13:06:50 +02:00
" Contactgegevens gemeente \\\n",
"0 verkiezingen@valkenswaard.nl \n",
"1 verkiezingen@valkenswaard.nl \n",
"2 verkiezingen@valkenswaard.nl \n",
"3 verkiezingen@valkenswaard.nl \n",
"4 verkiezingen@valkenswaard.nl \n",
"... ... \n",
"9270 Klantcontactcentrum gemeente Gennep gemeente@g... \n",
"9271 Klantcontactcentrum gemeente Gennep gemeente@g... \n",
"9272 Klantcontactcentrum gemeente Gennep gemeente@g... \n",
"9273 Klantcontactcentrum gemeente Gennep gemeente@g... \n",
"9274 Klantcontactcentrum gemeente Gennep gemeente@g... \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-04-26 14:07:35 +02:00
" Verkiezingswebsite gemeente Verkiezingen \\\n",
"0 http://www.valkenswaard.nl/verkiezingen NaN \n",
"1 http://www.valkenswaard.nl/verkiezingen NaN \n",
"2 http://www.valkenswaard.nl/verkiezingen NaN \n",
"3 http://www.valkenswaard.nl/verkiezingen NaN \n",
"4 http://www.valkenswaard.nl/verkiezingen NaN \n",
"... ... ... \n",
2022-05-03 13:06:50 +02:00
"9270 https://www.gennep.nl NaN \n",
"9271 https://www.gennep.nl NaN \n",
"9272 https://www.gennep.nl NaN \n",
"9273 https://www.gennep.nl NaN \n",
"9274 https://www.gennep.nl NaN \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-04-26 14:07:35 +02:00
" ID UUID \\\n",
"0 NLODSGM0858stembureaus20220316009 3a612b2151fa4ab491b9e331355e6258 \n",
"1 NLODSGM0858stembureaus20220316009 9a01d765af0a467ea37f08d92db114ba \n",
"2 NLODSGM0858stembureaus20220316009 fc5869d33fbc4b06be659149fa615f4c \n",
"3 NLODSGM0858stembureaus20220316009 4427cc0b39e040ba8f75c333f19d66f0 \n",
"4 NLODSGM0858stembureaus20220316009 a893bb9add324ce29769f1c39afcc48d \n",
"... ... ... \n",
2022-05-03 13:06:50 +02:00
"9270 NLODSGM0907stembureaus20220316009 f744546cd6894e5e9a4db4bbfd81b4ee \n",
"9271 NLODSGM0907stembureaus20220316009 1270081b1dc74cd7bea0f45973650408 \n",
"9272 NLODSGM0907stembureaus20220316009 447c7742604345139e41def4cf1e4d3c \n",
"9273 NLODSGM0907stembureaus20220316009 049cfd258c174bc49abf17883396d083 \n",
"9274 NLODSGM0907stembureaus20220316009 1e8cbe96e72c4c6ba6303f47bec8cdb5 \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-11 16:40:11 +02:00
" geometry \n",
"0 POINT (5.45515 51.34711) \n",
"1 POINT (5.45137 51.34955) \n",
"2 POINT (5.44827 51.35702) \n",
"3 POINT (5.44871 51.36022) \n",
"4 POINT (5.45331 51.36514) \n",
"... ... \n",
"9270 POINT (5.98266 51.69726) \n",
"9271 POINT (5.98127 51.69000) \n",
"9272 POINT (5.95118 51.72591) \n",
"9273 POINT (6.01556 51.70976) \n",
"9274 POINT (5.98514 51.70189) \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-11 16:40:11 +02:00
"[8089 rows x 41 columns]"
2022-04-20 13:03:38 +02:00
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 86,
2022-04-20 13:03:38 +02:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
2022-05-06 14:51:01 +02:00
"# We only want to analyse stemlokalen so deduplicate the stembureaus based on their location's coordinates\n",
"gdf_wims_dedupe = gdf_wims.drop_duplicates(subset=\"geometry\", keep=False)\n",
"df_geojson_dedupe = df_geojson_clean.drop_duplicates(subset=\"geometry\", keep=False)\n",
2022-05-03 13:06:50 +02:00
"gdf_wims_dedupe"
2022-04-20 13:03:38 +02:00
]
},
2022-05-06 14:51:01 +02:00
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Voor dit onderzoek zijn we enkel geïnteresseerd in de locaties van stembureaus, oftewel de stemlokalen. Hierboven hebben we de stembureaus uit de wims dataset gededupliceerd op basis van de coördinaten van hun locatie.\n",
"\n",
"Het aantal stembureaus: 9275\n",
"\n",
"Het aantal stemlokalen: 8089\n",
"\n",
"Er zijn dus 1186 stembureaus gevestigd op een locatie van minimaal één ander stembureau."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Plots van alle stemlokalen op de kaart\n",
"### Stemlokalen uit de wims dataset"
]
},
2022-04-20 13:03:38 +02:00
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 87,
2022-04-20 13:03:38 +02:00
"metadata": {},
"outputs": [
2022-05-03 13:06:50 +02:00
{
2022-05-11 16:40:11 +02:00
"data": {
"text/plain": [
"<AxesSubplot:>"
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 87,
2022-05-11 16:40:11 +02:00
"metadata": {},
"output_type": "execute_result"
2022-05-03 13:06:50 +02:00
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAuIAAANOCAYAAABUSmkeAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAEAAElEQVR4nOz9e7Qd1Z3nCX53PM/jXj2u7pWMhMBXCBtM90K2JSAlY1vGDwzprPJ0ZXW5liGNjVXZFFWZtqfXdE2t7p7VvbLWVOeAsYtiumRsbCDLNZ1TTa/ONMZpk0pjCwOSnaJq0thGIAOSQPelxz2viBOP+eNox42Is3fEjjjn3If4fdZioXte8Y747t/+/b4/FoYhCIIgCIIgCIJYXrSVXgGCIAiCIAiCeDtCQpwgCIIgCIIgVgAS4gRBEARBEASxApAQJwiCIAiCIIgVgIQ4QRAEQRAEQawAxkqvgIjJycnwne9850qvBkEQBEEQBEEMxM9//vO5MAynRO+tSiH+zne+E0ePHl3p1SAIgiAIgiCIgWCMvSZ7j1JTCIIgCIIgCGIFICFOEARBEARBECsACXGCIAiCIAiCWAFIiBMEQRAEQRDECkBCnCAIgiAIgiBWABLiBEEQBEEQBLECkBAnCIIgCIIgiBWAhDhBEARBEARBrAAkxAmCIAiCIAhiBSAhThAEQRAEQRArAAlxgiAIgiAIglgBSIgTBEEQBEEQxApAQpwgCIIgCIIgVgAS4gRBEARBEASxApAQJwiCIAiCIIgVgIQ4QRAEQRAEQawAJMQJgiAIgiAIYgUgIU4QBEEQBEEQKwAJcYIgCIIgCIJYAUiIEwRBEARBEMQKQEKcIAiCIAiCIFYAEuIEQRAEQRAEsQKQECcIgiAIgiCIFYCEOEEQBEEQBEGsACTECYIgCIIgCGIFICFOEARBEARBECsACXGCIAiCIAiCWA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ZfDNM2VXpW3PYyxn8tqJJWEeOrH/h8AGmEY/r9ir10J4HthGP4XRb8rYvfu3eHRo0cLrRdBEARB8JSKhYUFrF+/Hhs2bIhall/q8Mhxu92OIsHxiCgXrmnRrRI15laFo8q7Nk0TpmkiCIJcF5NKpZL5GZGd4dsVXdcxPT1NriorTJYQz707McbqALQwDBcv/vvjAP4nxtjVYRi+fPFjvwfgV6rfLbshBEEQBCGj0+ng9OnTkVhst9s4c+YM1q9fj4mJCSXf67VGEARoNpu4cOECLly4AN/3o26RMooI1Wq1GnlkN5tNAMChEw08euwc5po+Jus67ty1AfunxwqvO88l1zQtGhQMAxLhS/i+j9/+9reYnp6GbdsrvTqEAJUwwRYAT1y8eRkA/n0Yhk8xxv4jY+zd6NkXvoaLjimMsa0AHg7D8DbZd4e/GQRBEMTbFd/3MTMzg/n5+b73eIT83LlzqFQqmJiYwPr166Hr+gqs6eBwh5BOp4MLFy6g0WgULka0bVvZO5svj+d+HzrRwIPPLcDxe2J3tunjwecWAKBPjHP7wTAMhUWTlmUBGJ6PNyHG8zz89re/xY4dOyhNZRVSODVlOaDUFIIgCCKPMAxx/vx5vPXWW4WK8jRNw4YNGzAxMbGqpuy5fV/WfyqiOy8invd+HO6CwnOt73riJGab/QWZU3Udj3z68r7XuRiPC3Fe8BkX+EWwbRuO4xT+3tsd27YxPT39tknVWk0MlJpCEARBEKuNTqeDN998M0qXKEIQBFhYWMDCwgKq1WoUJR+l/3IYhn252a7rJv4epuNIFqoFjIwxBEGQEG5zAhEue900zcjvm8P3A0XBlx/HcfD666/jne98J3mNryJIiBMEQRBrBs/zMDc3h7m54fSIa7fbOHXqFN566y1s3LgRGzduhGVZkQc2t+bj/47/J3td9P5Kzz7z/Hi+XTw9JUv
2022-05-03 13:06:50 +02:00
"text/plain": [
2022-05-11 16:40:11 +02:00
"<Figure size 1080x1080 with 1 Axes>"
2022-05-03 13:06:50 +02:00
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"fig, ax = plt.subplots(figsize = (15,15))\n",
"nl_map.to_crs(epsg=4326).plot(ax=ax, color='lightgrey')\n",
"gdf_wims_dedupe.plot(ax=ax)"
]
},
2022-05-06 14:51:01 +02:00
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Stemlokalen uit de OSF/VK GeoJSON dataset"
]
},
2022-05-03 13:06:50 +02:00
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 88,
2022-05-03 13:06:50 +02:00
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<AxesSubplot:>"
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 88,
2022-05-03 13:06:50 +02:00
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
2022-05-09 18:30:16 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAuIAAANOCAYAAABUSmkeAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAEAAElEQVR4nOz9e7Rc1X3ni37netZj6723ZAkJWSDZxpy+UgwCgvyIDDiYV+Jx0qfjjlEsm3DbhE47dvre09f39Lkj3fTt7gSM3TQerdghBtzp46Qv52AHE2Oi2I4AIeyI9khwLEAWeiDtl6S967VWrcf9ozTXXrXWnGvNVY/9kH6fMRi29t5VtWrVqqrv/M3v7/tjYRiCIAiCIAiCIIj5RVvoAyAIgiAIgiCISxES4gRBEARBEASxAJAQJwiCIAiCIIgFgIQ4QRAEQRAEQSwAJMQJgiAIgiAIYgEwFvoARIyOjobvfOc7F/owCIIgCIIgCKIvfvSjH02GYTgm+t2iFOLvfOc78corryz0YRAEQRAEQRBEXzDGjsl+R9YUgiAIgiAIglgASIgTBEEQBEEQxAJAQpwgCIIgCIIgFgAS4gRBEARBEASxAJAQJwiCIAiCIIgFgIQ4QRAEQRAEQSwAJMQJgiAIgiAIYgEgIU4QBEEQBEE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wPT2N6elplMvlqEo+zPzlMAxT3mzXdbv+PcjEkSxUGxgZYwiCoEu4TQpEuOznpmlGed8cfh6oCj7/OI6Dt956C+985zspa3wRQUKcIAiCWDJ4nofJyUlMTg5mRlyz2cTJkydx+vRprFq1CqtWrYJlWVEGNo/m4/8//p/s56LfL/TuM/fH8+fF7SlZ4t80zWi
2022-05-03 13:06:50 +02:00
"text/plain": [
"<Figure size 1080x1080 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"fig, ax = plt.subplots(figsize = (15,15))\n",
"nl_map.to_crs(epsg=4326).plot(ax=ax, color='lightgrey')\n",
"df_geojson_clean.plot(ax=ax)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
2022-05-06 14:51:01 +02:00
"Nu we een kaart van nederland met de stemlokalen erop hebben, kunnen we als eerste voorbeeld gaan kijken hoe dit zich verhoudt met de bevolkingsdichtheid. De kaart is opgehaald van het CBS, eerst gaan we kijken hoe de kaart er op zichzelf met dezelfde projectie uitziet."
2022-05-03 13:06:50 +02:00
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 89,
2022-05-03 13:06:50 +02:00
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<AxesSubplot:>"
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 89,
2022-05-03 13:06:50 +02:00
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
2022-05-09 18:30:16 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAOQAAAD4CAYAAAD8Q0ptAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAB/IklEQVR4nO39eZxe53HfiX6rnvM2dgIEQYIkSHBfRFIUJVGStViyZNmWLFl2bMdLnM3Zc+PMJLmfJHaSmTs3mcz1jOfexDc3i2U769jjce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vzqM7DvDQswdYMREuW7eSGzeuYfu+Y7znNRu5ddPaU/6ZLo5ZQr6K4uCxno/c/Qx3PbWXI8cW0FLYdXCBe7fsoajy/W+4ktdvvvBlf/1Hdhzgn33yIeaz2rgkU6eU6BRVEDegJFJpTObmoiAKDFZxM4oo5tE0GlGNVAWXqI4xPIxq6llNA3FVtAExaoBGG5tnUpE4SxYKjmFDsHH6fmBu2TIkE7OhvHGmjtpuCe6Kw6SU8QHhtWLmoMpCFZ7edZindh3CBd5104ZT+XUdN2YJ+SqJh7Yf4Bc/9yiHjvV0Wrhp0zre+5pLWb96Gf/hD5/ih954Ba+5/OU/zQ/ND/zbP3ySY31sX7gHaqqQZ0MgmTEuyZEx8C7qm2b76l3ccupxhpNMyqEfmIhiMkQyFkVMEM3Kicbnu1DNECnZGgtqjmuMQzoC8AFFVTGLc2a1IccnAiVaVcm21iSuD3NcDbxEoqugJtA5Yk4dDBehK4V1Kybcevm6U/iNHT9
2022-05-03 13:06:50 +02:00
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
2022-05-09 18:30:16 +02:00
"nl_map_cbs = gpd.read_file(r'../data/shape/Netherlands_shapefile/cbs_vk500_2021_v1.gpkg')\n",
2022-05-03 13:06:50 +02:00
"nl_map_cbs.to_crs(epsg=4326).plot()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
2022-05-06 14:51:01 +02:00
"Het verwerken van de 100m bij 100m vierkanten kaart duurde lang (langer dan een half uur) op de laptop, en is dus niet ideaal tenzij we dit niveau van detail écht nodig hebben. Er is namelijk nog een andere kaart met dezelfde gegevens beschikbaar, maar met een grid van 500 bij 500 meter in plaats van 100 bij 100. Laten we dus kijken hoe vaak een stemlokaal dichterbij dan 100 meter van de dichtstbijzijnde andere is. De makkelijkste manier om dat te doen zonder alle punten met alle andere te vergelijken (wat lang duurt), is een extra dataframe maken als een kopie, alle indexen 1 opschuiven (want alle stemlokalen zijn al in een volgorde van clustering), en dan de laagste afstand bekijken."
2022-05-03 13:06:50 +02:00
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 90,
2022-05-03 13:06:50 +02:00
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
2022-05-11 16:40:11 +02:00
"11165 0.002608\n",
"1021 0.004853\n",
"3196 0.004875\n",
"1923 2.693202\n",
"3757 3.609362\n",
" ... \n",
"7444 253385.654588\n",
"9711 263408.187856\n",
"4392 266925.200994\n",
"9297 271954.076837\n",
"0 NaN\n",
"Name: distance, Length: 11670, dtype: float64\n"
2022-05-03 13:06:50 +02:00
]
}
],
"source": [
2022-05-06 14:51:01 +02:00
"# Use Rijksdriehoekscoördinaten (EPSG:28992) as this uses meters as unit so we can calculate the distance in meters\n",
2022-05-03 13:06:50 +02:00
"df_shifted = df_geojson_clean.to_crs('EPSG:28992')\n",
"\n",
"df_shifted['geometry (shifted)'] = df_shifted['geometry'].shift(periods=1)\n",
"df_shifted['distance'] = df_shifted['geometry'].distance(df_shifted['geometry (shifted)'])\n",
"df_shifted.sort_values(['distance'], inplace=True, ascending=True)\n",
"zero_mask_booth = df_shifted['distance'] == 0.000000\n",
"df_shifted = df_shifted[~zero_mask_booth]\n",
"print(df_shifted['distance'])"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
2022-05-06 14:51:01 +02:00
"Los van bovenstaande resultaten blijkt het dat de 100m kaart niet dezelfde inwonersgegevens heeft als de 500m kaart. Deze hebben we echter nodig voor de analyse, dus we gaan verder met de 500 bij 500 meter kaart. Laten we nu een projectie proberen te maken met de bevolkingsdichtheid erop om het te vergelijken met de stemlokalen en hun posities en clustering."
2022-05-03 13:06:50 +02:00
]
},
{
"cell_type": "code",
2022-05-09 18:30:16 +02:00
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 91,
2022-05-03 13:06:50 +02:00
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
2022-05-09 18:30:16 +02:00
"['crs28992res500m', 'aantal_inwoners', 'aantal_mannen', 'aantal_vrouwen', 'aantal_inwoners_0_tot_15_jaar', 'aantal_inwoners_15_tot_25_jaar', 'aantal_inwoners_25_tot_45_jaar', 'aantal_inwoners_45_tot_65_jaar', 'aantal_inwoners_65_jaar_en_ouder', 'percentage_nederlandse_achtergrond', 'percentage_westerse_migr_achtergr', 'percentage_niet_westerse_migr_achtergr', 'aantal_personen_met_uitkering_onder_aowlft', 'aantal_part_huishoudens', 'aantal_eenpersoonshuishoudens', 'aantal_meerpersoonshuishoudens_zonder_kind', 'aantal_eenouderhuishoudens', 'aantal_tweeouderhuishoudens', 'gemiddelde_huishoudensgrootte', 'aantal_woningen', 'aantal_woningen_bouwjaar_voor_1945', 'aantal_woningen_bouwjaar_45_tot_65', 'aantal_woningen_bouwjaar_65_tot_75', 'aantal_woningen_bouwjaar_75_tot_85', 'aantal_woningen_bouwjaar_85_tot_95', 'aantal_woningen_bouwjaar_95_tot_05', 'aantal_woningen_bouwjaar_05_tot_15', 'aantal_woningen_bouwjaar_15_en_later', 'aantal_meergezins_woningen', 'percentage_koopwoningen', 'percentage_huurwoningen', 'aantal_huurwoningen_in_bezit_woningcorporaties', 'aantal_niet_bewoonde_woningen', 'gemiddelde_woz_waarde_woning', 'omgevingsadressendichtheid', 'stedelijkheid', 'geometry']\n"
2022-05-03 13:06:50 +02:00
]
},
2022-04-20 13:03:38 +02:00
{
"data": {
2022-04-26 14:07:35 +02:00
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
2022-05-09 18:30:16 +02:00
" <th>crs28992res500m</th>\n",
" <th>aantal_inwoners</th>\n",
" <th>stedelijkheid</th>\n",
2022-04-26 14:07:35 +02:00
" <th>geometry</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>E2260N6190</td>\n",
" <td>-99997</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
" <td>MULTIPOLYGON (((226000.000 619000.000, 226000....</td>\n",
2022-04-26 14:07:35 +02:00
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>E2265N6190</td>\n",
" <td>-99997</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
" <td>MULTIPOLYGON (((226500.000 619500.000, 227000....</td>\n",
2022-04-26 14:07:35 +02:00
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>E2270N6190</td>\n",
" <td>-99997</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
" <td>MULTIPOLYGON (((227000.000 619500.000, 227500....</td>\n",
2022-04-26 14:07:35 +02:00
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>E2275N6190</td>\n",
" <td>-99997</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
" <td>MULTIPOLYGON (((227500.000 619500.000, 228000....</td>\n",
2022-04-26 14:07:35 +02:00
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>E2280N6190</td>\n",
" <td>-99997</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
" <td>MULTIPOLYGON (((228000.000 619500.000, 228500....</td>\n",
2022-04-26 14:07:35 +02:00
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
2022-05-09 18:30:16 +02:00
" <td>...</td>\n",
2022-04-26 14:07:35 +02:00
" </tr>\n",
" <tr>\n",
" <th>151103</th>\n",
" <td>E1995N3070</td>\n",
" <td>-99997</td>\n",
2022-05-09 18:30:16 +02:00
" <td>5</td>\n",
" <td>MULTIPOLYGON (((199500.000 307500.000, 200000....</td>\n",
2022-04-26 14:07:35 +02:00
" </tr>\n",
" <tr>\n",
" <th>151104</th>\n",
" <td>E1905N3065</td>\n",
" <td>-99997</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
" <td>MULTIPOLYGON (((190500.000 307000.000, 191000....</td>\n",
2022-04-26 14:07:35 +02:00
" </tr>\n",
" <tr>\n",
" <th>151105</th>\n",
" <td>E1910N3065</td>\n",
" <td>-99997</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
" <td>MULTIPOLYGON (((191000.000 307000.000, 191500....</td>\n",
2022-04-26 14:07:35 +02:00
" </tr>\n",
" <tr>\n",
" <th>151106</th>\n",
" <td>E1920N3065</td>\n",
2022-05-09 18:30:16 +02:00
" <td>15</td>\n",
" <td>5</td>\n",
" <td>MULTIPOLYGON (((192000.000 307000.000, 192500....</td>\n",
2022-04-26 14:07:35 +02:00
" </tr>\n",
" <tr>\n",
" <th>151107</th>\n",
" <td>E1925N3065</td>\n",
" <td>-99997</td>\n",
2022-05-09 18:30:16 +02:00
" <td>5</td>\n",
" <td>MULTIPOLYGON (((192500.000 307000.000, 193000....</td>\n",
2022-04-26 14:07:35 +02:00
" </tr>\n",
" </tbody>\n",
"</table>\n",
2022-05-09 18:30:16 +02:00
"<p>151108 rows × 4 columns</p>\n",
2022-04-26 14:07:35 +02:00
"</div>"
],
"text/plain": [
2022-05-09 18:30:16 +02:00
" crs28992res500m aantal_inwoners stedelijkheid \\\n",
"0 E2260N6190 -99997 -99997 \n",
"1 E2265N6190 -99997 -99997 \n",
"2 E2270N6190 -99997 -99997 \n",
"3 E2275N6190 -99997 -99997 \n",
"4 E2280N6190 -99997 -99997 \n",
"... ... ... ... \n",
"151103 E1995N3070 -99997 5 \n",
"151104 E1905N3065 -99997 -99997 \n",
"151105 E1910N3065 -99997 -99997 \n",
"151106 E1920N3065 15 5 \n",
"151107 E1925N3065 -99997 5 \n",
2022-04-26 14:07:35 +02:00
"\n",
2022-05-09 18:30:16 +02:00
" geometry \n",
"0 MULTIPOLYGON (((226000.000 619000.000, 226000.... \n",
"1 MULTIPOLYGON (((226500.000 619500.000, 227000.... \n",
"2 MULTIPOLYGON (((227000.000 619500.000, 227500.... \n",
"3 MULTIPOLYGON (((227500.000 619500.000, 228000.... \n",
"4 MULTIPOLYGON (((228000.000 619500.000, 228500.... \n",
"... ... \n",
"151103 MULTIPOLYGON (((199500.000 307500.000, 200000.... \n",
"151104 MULTIPOLYGON (((190500.000 307000.000, 191000.... \n",
"151105 MULTIPOLYGON (((191000.000 307000.000, 191500.... \n",
"151106 MULTIPOLYGON (((192000.000 307000.000, 192500.... \n",
"151107 MULTIPOLYGON (((192500.000 307000.000, 193000.... \n",
"\n",
"[151108 rows x 4 columns]"
2022-04-26 14:07:35 +02:00
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 91,
2022-04-26 14:07:35 +02:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"print(list(nl_map_cbs))\n",
2022-05-09 18:30:16 +02:00
"nl_map_dst = nl_map_cbs.drop(columns=['aantal_mannen', 'aantal_vrouwen', 'aantal_inwoners_0_tot_15_jaar', 'aantal_inwoners_15_tot_25_jaar', 'aantal_inwoners_25_tot_45_jaar', 'aantal_inwoners_45_tot_65_jaar', 'aantal_inwoners_65_jaar_en_ouder', 'percentage_nederlandse_achtergrond', 'percentage_westerse_migr_achtergr', 'percentage_niet_westerse_migr_achtergr', 'aantal_personen_met_uitkering_onder_aowlft', 'aantal_part_huishoudens', 'aantal_eenpersoonshuishoudens', 'aantal_meerpersoonshuishoudens_zonder_kind', 'aantal_eenouderhuishoudens', 'aantal_tweeouderhuishoudens', 'gemiddelde_huishoudensgrootte', 'aantal_woningen', 'aantal_woningen_bouwjaar_voor_1945', 'aantal_woningen_bouwjaar_45_tot_65', 'aantal_woningen_bouwjaar_65_tot_75', 'aantal_woningen_bouwjaar_75_tot_85', 'aantal_woningen_bouwjaar_85_tot_95', 'aantal_woningen_bouwjaar_95_tot_05', 'aantal_woningen_bouwjaar_05_tot_15', 'aantal_woningen_bouwjaar_15_en_later', 'aantal_meergezins_woningen', 'percentage_koopwoningen', 'percentage_huurwoningen', 'aantal_huurwoningen_in_bezit_woningcorporaties', 'aantal_niet_bewoonde_woningen', 'gemiddelde_woz_waarde_woning', 'omgevingsadressendichtheid'])\n",
2022-04-26 14:07:35 +02:00
"\n",
"nl_map_dst"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"We kunnen zien dat er gemeente zijn die geen stemlokalen hebben, dit klopt. [In de verkiezingen van 2022 hebben 12 gemeentes niet meegedaan](https://nl.wikipedia.org/wiki/Nederlandse_gemeenteraadsverkiezingen_2022). Er zijn dus in totaal 333 gemeentes met stemlokalen. We willen de bevolkingsdichtheiddata van de gemeentes die niet meededen dus weggooien, hiervoor moeten we eerst kijken welke alleen binnen de gemeentes vallen die we niet willen houden."
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 92,
2022-04-26 14:07:35 +02:00
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"0 Gemeenteraad Aa en Hunze 2022\n",
"1 Gemeenteraad Aa en Hunze 2022\n",
"2 Gemeenteraad Aa en Hunze 2022\n",
"3 Gemeenteraad Aa en Hunze 2022\n",
"4 Gemeenteraad Aa en Hunze 2022\n",
" ... \n",
"12591 Gemeenteraad 's-Hertogenbosch 2022\n",
"12592 Gemeenteraad 's-Hertogenbosch 2022\n",
"12593 Gemeenteraad 's-Hertogenbosch 2022\n",
"12594 Gemeenteraad 's-Hertogenbosch 2022\n",
"12595 Gemeenteraad 's-Hertogenbosch 2022\n",
"Name: electionName, Length: 12596, dtype: object\n",
"0 Aa en Hunze\n",
"27 Aalsmeer\n",
"46 Aalten\n",
"74 Achtkarspelen\n",
"95 Alblasserdam\n",
" ... \n",
"11976 Zwartewaterland\n",
"11997 Zwijndrecht\n",
"12031 Zwolle\n",
"12122 's-Gravenhage\n",
"12495 's-Hertogenbosch\n",
"Name: electionName, Length: 333, dtype: object\n"
]
}
],
"source": [
"print(df_geojson['electionName'])\n",
"\n",
"#get all municipalities that are in the election\n",
"gemeentes = df_geojson['electionName'].str.slice(13, -5).drop_duplicates()\n",
"print(gemeentes)"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 93,
2022-04-26 14:07:35 +02:00
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Shape of clean: (333, 38)\n",
"Shape of election: (330, 38)\n"
]
},
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>GM_CODE</th>\n",
" <th>GM_NAAM</th>\n",
" <th>H2O</th>\n",
" <th>OAD</th>\n",
" <th>STED</th>\n",
" <th>BEV_DICHTH</th>\n",
" <th>AANT_INW</th>\n",
" <th>AANT_MAN</th>\n",
" <th>AANT_VROUW</th>\n",
" <th>P_00_14_JR</th>\n",
" <th>...</th>\n",
" <th>P_TURKIJE</th>\n",
" <th>P_OVER_NW</th>\n",
" <th>OPP_TOT</th>\n",
" <th>OPP_LAND</th>\n",
" <th>OPP_WATER</th>\n",
" <th>JRSTATCODE</th>\n",
" <th>JAAR</th>\n",
" <th>Shape_Leng</th>\n",
" <th>Shape_Area</th>\n",
" <th>geometry</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>113</th>\n",
" <td>GM0164</td>\n",
" <td>Hengelo</td>\n",
" <td>NEE</td>\n",
" <td>1845</td>\n",
" <td>2</td>\n",
" <td>1332</td>\n",
" <td>81049</td>\n",
" <td>40776</td>\n",
" <td>40273</td>\n",
" <td>15</td>\n",
" <td>...</td>\n",
" <td>6</td>\n",
" <td>7</td>\n",
" <td>6183</td>\n",
" <td>6084</td>\n",
" <td>99</td>\n",
" <td>2021GM0164</td>\n",
" <td>2021</td>\n",
" <td>47510.255914</td>\n",
" <td>6.183056e+07</td>\n",
" <td>POLYGON ((251978.591 481220.258, 251979.382 48...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>191</th>\n",
" <td>GM0373</td>\n",
" <td>Bergen (NH.)</td>\n",
" <td>NEE</td>\n",
" <td>819</td>\n",
" <td>4</td>\n",
" <td>300</td>\n",
" <td>29715</td>\n",
" <td>14317</td>\n",
" <td>15398</td>\n",
" <td>12</td>\n",
" <td>...</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>12023</td>\n",
" <td>9896</td>\n",
" <td>2127</td>\n",
" <td>2021GM0373</td>\n",
" <td>2021</td>\n",
" <td>57488.474563</td>\n",
" <td>9.987418e+07</td>\n",
" <td>POLYGON ((105976.650 529056.951, 106002.347 52...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>328</th>\n",
" <td>GM0893</td>\n",
" <td>Bergen (L.)</td>\n",
" <td>NEE</td>\n",
" <td>318</td>\n",
" <td>5</td>\n",
" <td>127</td>\n",
" <td>13108</td>\n",
" <td>6568</td>\n",
" <td>6540</td>\n",
" <td>13</td>\n",
" <td>...</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>10850</td>\n",
" <td>10324</td>\n",
" <td>525</td>\n",
" <td>2021GM0893</td>\n",
" <td>2021</td>\n",
" <td>61497.563571</td>\n",
" <td>1.084951e+08</td>\n",
" <td>POLYGON ((199768.270 409749.960, 199758.060 40...</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>3 rows × 38 columns</p>\n",
"</div>"
],
"text/plain": [
" GM_CODE GM_NAAM H2O OAD STED BEV_DICHTH AANT_INW AANT_MAN \\\n",
"113 GM0164 Hengelo NEE 1845 2 1332 81049 40776 \n",
"191 GM0373 Bergen (NH.) NEE 819 4 300 29715 14317 \n",
"328 GM0893 Bergen (L.) NEE 318 5 127 13108 6568 \n",
"\n",
" AANT_VROUW P_00_14_JR ... P_TURKIJE P_OVER_NW OPP_TOT OPP_LAND \\\n",
"113 40273 15 ... 6 7 6183 6084 \n",
"191 15398 12 ... 0 3 12023 9896 \n",
"328 6540 13 ... 0 3 10850 10324 \n",
"\n",
" OPP_WATER JRSTATCODE JAAR Shape_Leng Shape_Area \\\n",
"113 99 2021GM0164 2021 47510.255914 6.183056e+07 \n",
"191 2127 2021GM0373 2021 57488.474563 9.987418e+07 \n",
"328 525 2021GM0893 2021 61497.563571 1.084951e+08 \n",
"\n",
" geometry \n",
"113 POLYGON ((251978.591 481220.258, 251979.382 48... \n",
"191 POLYGON ((105976.650 529056.951, 106002.347 52... \n",
"328 POLYGON ((199768.270 409749.960, 199758.060 40... \n",
"\n",
"[3 rows x 38 columns]"
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 93,
2022-04-26 14:07:35 +02:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"#First let's remove the municipalities that don't have an Election from the municipality map\n",
"remove_lst = [\"Boxtel\", \"Eemsdelta\", \"Oisterwijk\", \"Vught\", \"Heerhugowaard\", \"Langedijk\", \"Boxmeer\", \"Cuijk\", \"Sint Anthonis\", \"Mill en Sint Hubert\", \"Grave\", \"Landerd\", \"Uden\", \"Brielle\", \"Hellevoetsluis\", \"Westvoorne\", \"Purmerend\", \"Beemster\", \"Weesp\"]\n",
"\n",
"\n",
"nl_map_clean = nl_map[~nl_map[\"GM_NAAM\"].isin(remove_lst)]\n",
"nl_map_clean = nl_map_clean.query(\"H2O != 'JA'\")\n",
"nl_map_clean = nl_map_clean.query(\"GM_NAAM != 'Buitenland'\")\n",
"\n",
"\n",
"nl_map_election = nl_map[nl_map[\"GM_NAAM\"].isin(gemeentes)]\n",
"nl_map_election = nl_map_election.query(\"H2O != 'JA'\")\n",
"\n",
"print(\"Shape of clean: {}\".format(nl_map_clean.shape))\n",
"print(\"Shape of election: {}\".format(nl_map_election.shape))\n",
"\n",
"diff = pd.concat([nl_map_election, nl_map_clean]).drop_duplicates(keep=False)\n",
"diff"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Het is een andere vorm omdat deze drie gemeentes een andere format hadden voor de naam van hun verkiezingen, en dus niet op dezelfde manier gefilterd konden worden, ze staan wel in de lijst, dit is dus correct, we gebruiken de clean dataframe.\n",
"Nu we dezelfde lijst hebben van gemeentes die in de verkiezingen meededen kunnen we verder."
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 94,
2022-04-26 14:07:35 +02:00
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<AxesSubplot:>"
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 94,
2022-04-26 14:07:35 +02:00
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
2022-05-09 18:30:16 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAt4AAANOCAYAAAAmhQuoAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAEAAElEQVR4nOz9e7xkVX3mjz/7Uvc691ufc/rCaRoBGdOtNpeAaFpAEIWRXL4TE8AQle/IMBOiMYnjTOY3meFrEgJixuAEjShgnDhGjBcEEXuiabBplEYnItL2obtPn9Pnfqt71d7r90f12mfXrrX2Xruqzq378369fEnXqcu+Ve1nfdazno/GGANBEARBEARBEKuLvt4bQBAEQRAEQRBnAyS8CYIgCIIgCGINIOFNEARBEARBEGsACW+CIAiCIAiCWANIeBMEQRAEQRDEGmCu9waI6O3tZeecc856bwZBEARBEARBhOKHP/zhDGOsT/S3DSm8zznnHDz//PPrv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sw1o129qLN986Eomgt7cXsVisJgPbtm3E43FEo1EAVeEVVL1Mp9M4//zzG65yxuPxum3t6+tr6L2IFWzbRrFYxPLyMjKZjLOItVEYY1haWsLS0hI6OjrQ1dWFcrmMkydPAqjOXGSzWZTLZSSTSeTzeeoKusEg4U0QBEFsWhhjOHHiBEqlUsOCWIQsw/qlqQKePppTzrb2bquu67BtG319fY6nOghd15FIJAKfR5XNjQFjDIVCATMzM1haWlq1WZHFxUUsLi46/06lUojFYshkMiiVSrBtG8eOHUMkEkF3dze6urroGtkAkPAmCIIgNi08vcSv2ctLUwU8cSQL26V/+gKEuSzD2vs
2022-04-26 14:07:35 +02:00
"text/plain": [
"<Figure size 1080x1080 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"fig, ax = plt.subplots(figsize = (15,15))\n",
"nl_map_clean.to_crs(epsg=4326).plot(ax=ax, color='lightgrey')\n",
"df_geojson_clean.plot(ax=ax)"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 95,
2022-04-26 14:07:35 +02:00
"metadata": {},
"outputs": [
{
2022-04-04 15:09:40 +02:00
"data": {
"text/plain": [
"<AxesSubplot:>"
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 95,
2022-04-04 15:09:40 +02:00
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
2022-05-09 18:30:16 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAOMAAAD4CAYAAAAen1EUAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAACDyklEQVR4nO39d5xl13XfiX7X3udWVVdXdc4JHdDIIAJBkAQogkmMEimKVKCVLMkm7WfJIz/ZEj2ynj0zDrJlj63x2M/ikyz52aKCRVGiCBJMIgkGkUTOqYHOsTpUDveevdf8sdY+VU00iEYH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vDIISY7NWuX9PHuV63ntVtX8PDeE9x21WredtXZ10xffeowf/XUQUQiWd0hEHOo5CmpGjY1Z4tUMcQyRPEIFj16Wvrp5SN1XVs7NOKdU0E0mAMGT3AdTUMGsiAxWG2q2aMpVCXS5kDw1De0LMVNuUaTvS4idOqav3hgH8k/b+fRcVQTY52arc8M8Ibtz9tNc16t64yvAPsf39rFt3cc5VUbl/Darcu5dv0Sm9kBr9q4lFdtPHvQ9chkhz+7by/kgERBAwS1KAaglRCyjU00Y1C6bH/JKgTsqSKAClnEol8UqEE0E2L0sYQnojkhJFShoxCCICEYoiZauppFQL1hFKxLGxSyN3SyJkKsiD76CMEeSwqafcQS7Pg6qsQYmZjJ7Bqa4A3bV3Jios1XnzxET1Vx+xUr6I2RvnMI9ZtrXWe8iG2mTvy3b+7i/t3HWdQX+cCrN7Fs4MUB2QCff/QQmcw7r1v3os/94uOH+dSD+5jpZJt
2022-04-04 15:09:40 +02:00
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
2022-04-14 15:43:51 +02:00
"metadata": {
"needs_background": "light"
},
2022-04-04 15:09:40 +02:00
"output_type": "display_data"
}
],
"source": [
2022-04-26 14:07:35 +02:00
"nl_map_dst['savedindex'] = nl_map_dst.index #Save the index values as a new column\n",
"\n",
"intersecting = nl_map_clean.sjoin(nl_map_dst, how='inner')['savedindex'] #Find the polygons that intersect. Keep savedindex as a series\n",
"\n",
"nl_map_dst = nl_map_dst.loc[nl_map_dst.savedindex.isin(intersecting)] #Filter away these, \"savedindex is in intersecting\"\n",
"\n",
"nl_map_dst.to_crs(epsg=4326).plot()\n",
"\n"
2022-04-04 15:09:40 +02:00
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 96,
2022-04-04 15:09:40 +02:00
"metadata": {},
"outputs": [
{
2022-04-26 14:07:35 +02:00
"name": "stderr",
2022-04-04 15:09:40 +02:00
"output_type": "stream",
"text": [
2022-05-09 18:30:16 +02:00
"/home/lillian/.conda/envs/stembureaus/lib/python3.10/site-packages/geopandas/geodataframe.py:1351: SettingWithCopyWarning: \n",
2022-04-26 14:07:35 +02:00
"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: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
" super().__setitem__(key, value)\n"
2022-04-12 16:39:06 +02:00
]
}
],
"source": [
2022-04-26 14:07:35 +02:00
"import folium\n",
"from folium import plugins\n",
2022-04-12 16:39:06 +02:00
"\n",
2022-04-26 14:07:35 +02:00
"#Location is Amersfoort, the central point of the continental Netherlands\n",
"map = folium.Map(location = [52.155, 5.3875], zoom_start = 9, tiles=\"cartodbdark_matter\", prefer_canvas=True)\n",
"\n",
"nl_map_dst.to_crs(epsg=4326)\n",
"#Make sure the index is a string so folium can read it correctly as a key.\n",
2022-05-09 18:30:16 +02:00
"nl_map_dst['crs28992res500m'] = nl_map_dst['crs28992res500m'].apply(lambda x: str(x))\n",
2022-04-26 14:07:35 +02:00
"\n",
"nl_map_dst_zero = nl_map_dst.copy()\n",
"\n",
2022-05-09 18:30:16 +02:00
"zero_mask_pop = nl_map_dst['aantal_inwoners'] == -99997\n",
2022-04-26 14:07:35 +02:00
"nl_map_dst = nl_map_dst[~zero_mask_pop]\n",
2022-05-09 18:30:16 +02:00
"zero_mask_pop2 = nl_map_dst['aantal_inwoners'] == 0\n",
2022-04-26 14:07:35 +02:00
"nl_map_dst = nl_map_dst[~zero_mask_pop2]\n",
"\n",
"folium.Choropleth(\n",
" geo_data = nl_map_dst,\n",
" name=\"Bevolkingsdichtheid\",\n",
" data = nl_map_dst,\n",
2022-05-09 18:30:16 +02:00
" columns = [\"crs28992res500m\", \"aantal_inwoners\"],\n",
" key_on = 'feature.properties.crs28992res500m',\n",
2022-04-26 14:07:35 +02:00
" fill_color = 'RdPu',\n",
" nan_fill_color= 'white',\n",
" fill_opacity = 0.7,\n",
" nan_fill_opacity = 0.7,\n",
" line_opacity = 0,\n",
" legend_name = 'Bevolkingsdichtheid',\n",
" smooth_factor = 1.0,\n",
" show=False\n",
").add_to(map)\n",
"map\n",
"\n",
"# Renders the map to an HTML file and displays it in an embed.\n",
"def embed_map(m):\n",
" #from IPython.display import IFrame\n",
" m.save('index.html')\n",
" #return IFrame('index.html', width='100%', height='750px')"
2022-04-12 16:39:06 +02:00
]
},
{
2022-04-26 14:07:35 +02:00
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 97,
2022-04-12 16:39:06 +02:00
"metadata": {},
2022-04-26 14:07:35 +02:00
"outputs": [],
2022-04-12 16:39:06 +02:00
"source": [
2022-04-26 14:07:35 +02:00
"gdf_wims_hmp = [[point.xy[1][0], point.xy[0][0]] for point in gdf_wims.geometry]\n",
"\n",
"plugins.HeatMap(gdf_wims_hmp, name=\"Stemlokalen Heatmap\").add_to(map)\n",
"\n",
"folium.LayerControl().add_to(map)\n",
"\n",
"\n",
"\n",
"embed_map(map)\n",
"\n",
"\n"
2022-04-12 16:39:06 +02:00
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 98,
2022-04-12 16:39:06 +02:00
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
2022-05-09 18:30:16 +02:00
" <th>crs28992res500m</th>\n",
" <th>aantal_inwoners</th>\n",
" <th>stedelijkheid</th>\n",
2022-04-12 16:39:06 +02:00
" <th>geometry</th>\n",
2022-04-26 14:07:35 +02:00
" <th>savedindex</th>\n",
2022-04-12 16:39:06 +02:00
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
2022-04-14 15:43:51 +02:00
" <th>2</th>\n",
" <td>E2270N6190</td>\n",
" <td>-99997</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
2022-04-26 14:07:35 +02:00
" <td>POINT (227250.000 619250.000)</td>\n",
" <td>2</td>\n",
2022-04-12 16:39:06 +02:00
" </tr>\n",
" <tr>\n",
2022-04-14 15:43:51 +02:00
" <th>3</th>\n",
" <td>E2275N6190</td>\n",
" <td>-99997</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
2022-04-26 14:07:35 +02:00
" <td>POINT (227750.000 619250.000)</td>\n",
" <td>3</td>\n",
2022-04-12 16:39:06 +02:00
" </tr>\n",
" <tr>\n",
2022-04-14 15:43:51 +02:00
" <th>4</th>\n",
" <td>E2280N6190</td>\n",
" <td>-99997</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
2022-04-26 14:07:35 +02:00
" <td>POINT (228250.000 619250.000)</td>\n",
" <td>4</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7</th>\n",
" <td>E2265N6185</td>\n",
" <td>-99997</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
2022-04-26 14:07:35 +02:00
" <td>POINT (226750.000 618750.000)</td>\n",
" <td>7</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8</th>\n",
" <td>E2270N6185</td>\n",
" <td>-99997</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
2022-04-26 14:07:35 +02:00
" <td>POINT (227250.000 618750.000)</td>\n",
" <td>8</td>\n",
2022-04-12 16:39:06 +02:00
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
2022-04-26 14:07:35 +02:00
" <td>...</td>\n",
2022-05-09 18:30:16 +02:00
" <td>...</td>\n",
2022-04-12 16:39:06 +02:00
" </tr>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>151102</th>\n",
" <td>E1990N3070</td>\n",
2022-04-14 15:43:51 +02:00
" <td>-99997</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
2022-04-26 14:07:35 +02:00
" <td>POINT (199250.000 307250.000)</td>\n",
" <td>151102</td>\n",
2022-04-12 16:39:06 +02:00
" </tr>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>151103</th>\n",
" <td>E1995N3070</td>\n",
2022-04-14 15:43:51 +02:00
" <td>-99997</td>\n",
2022-05-09 18:30:16 +02:00
" <td>5</td>\n",
2022-04-26 14:07:35 +02:00
" <td>POINT (199750.000 307250.000)</td>\n",
" <td>151103</td>\n",
2022-04-12 16:39:06 +02:00
" </tr>\n",
" <tr>\n",
2022-04-14 15:43:51 +02:00
" <th>151105</th>\n",
" <td>E1910N3065</td>\n",
" <td>-99997</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
2022-04-26 14:07:35 +02:00
" <td>POINT (191250.000 306750.000)</td>\n",
" <td>151105</td>\n",
2022-04-12 16:39:06 +02:00
" </tr>\n",
" <tr>\n",
" <th>151106</th>\n",
" <td>E1920N3065</td>\n",
2022-05-09 18:30:16 +02:00
" <td>15</td>\n",
" <td>5</td>\n",
2022-04-26 14:07:35 +02:00
" <td>POINT (192250.000 306750.000)</td>\n",
" <td>151106</td>\n",
2022-04-12 16:39:06 +02:00
" </tr>\n",
2022-04-14 15:43:51 +02:00
" <tr>\n",
" <th>151107</th>\n",
" <td>E1925N3065</td>\n",
" <td>-99997</td>\n",
2022-05-09 18:30:16 +02:00
" <td>5</td>\n",
2022-04-26 14:07:35 +02:00
" <td>POINT (192750.000 306750.000)</td>\n",
" <td>151107</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
2022-04-12 16:39:06 +02:00
" </tbody>\n",
"</table>\n",
2022-05-09 18:30:16 +02:00
"<p>140002 rows × 5 columns</p>\n",
2022-04-12 16:39:06 +02:00
"</div>"
],
"text/plain": [
2022-05-09 18:30:16 +02:00
" crs28992res500m aantal_inwoners stedelijkheid \\\n",
"2 E2270N6190 -99997 -99997 \n",
"3 E2275N6190 -99997 -99997 \n",
"4 E2280N6190 -99997 -99997 \n",
"7 E2265N6185 -99997 -99997 \n",
"8 E2270N6185 -99997 -99997 \n",
"... ... ... ... \n",
"151102 E1990N3070 -99997 -99997 \n",
"151103 E1995N3070 -99997 5 \n",
"151105 E1910N3065 -99997 -99997 \n",
"151106 E1920N3065 15 5 \n",
"151107 E1925N3065 -99997 5 \n",
2022-04-12 16:39:06 +02:00
"\n",
2022-05-09 18:30:16 +02:00
" geometry savedindex \n",
"2 POINT (227250.000 619250.000) 2 \n",
"3 POINT (227750.000 619250.000) 3 \n",
"4 POINT (228250.000 619250.000) 4 \n",
"7 POINT (226750.000 618750.000) 7 \n",
"8 POINT (227250.000 618750.000) 8 \n",
"... ... ... \n",
"151102 POINT (199250.000 307250.000) 151102 \n",
"151103 POINT (199750.000 307250.000) 151103 \n",
"151105 POINT (191250.000 306750.000) 151105 \n",
"151106 POINT (192250.000 306750.000) 151106 \n",
"151107 POINT (192750.000 306750.000) 151107 \n",
"\n",
"[140002 rows x 5 columns]"
2022-04-12 16:39:06 +02:00
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 98,
2022-04-12 16:39:06 +02:00
"metadata": {},
"output_type": "execute_result"
2022-04-04 15:09:40 +02:00
}
],
"source": [
2022-04-26 14:07:35 +02:00
"nl_map_dst_points = nl_map_dst.copy()\n",
"nl_map_dst_points['geometry'] = nl_map_dst_points['geometry'].centroid\n",
2022-04-13 15:08:29 +02:00
"\n",
2022-04-26 14:07:35 +02:00
"nl_map_dst_zero_points = nl_map_dst_zero.copy()\n",
"nl_map_dst_zero_points['geometry'] = nl_map_dst_zero_points['geometry'].centroid\n",
"\n",
"nl_map_dst_zero_points"
2022-03-30 15:43:08 +02:00
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 99,
2022-04-26 14:07:35 +02:00
"metadata": {
"scrolled": false
},
2022-04-13 15:08:29 +02:00
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
2022-05-09 18:30:16 +02:00
" <th>crs28992res500m</th>\n",
" <th>aantal_inwoners</th>\n",
" <th>stedelijkheid</th>\n",
2022-04-13 15:08:29 +02:00
" <th>geometry</th>\n",
2022-04-26 14:07:35 +02:00
" <th>savedindex</th>\n",
2022-05-11 16:40:11 +02:00
" <th>Unnamed: 0</th>\n",
2022-04-26 14:07:35 +02:00
" <th>_id</th>\n",
" <th>Gemeente</th>\n",
" <th>CBS gemeentecode</th>\n",
" <th>Nummer stembureau</th>\n",
" <th>...</th>\n",
2022-05-11 16:40:11 +02:00
" <th>Gehandicaptentoilet</th>\n",
" <th>Kieskring ID</th>\n",
2022-04-26 14:07:35 +02:00
" <th>Hoofdstembureau</th>\n",
" <th>Tellocatie</th>\n",
" <th>Contactgegevens gemeente</th>\n",
" <th>Verkiezingswebsite gemeente</th>\n",
" <th>Verkiezingen</th>\n",
" <th>ID</th>\n",
" <th>UUID</th>\n",
" <th>dist</th>\n",
2022-04-13 15:08:29 +02:00
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>0</th>\n",
" <td>E2050N6110</td>\n",
" <td>5</td>\n",
2022-05-09 18:30:16 +02:00
" <td>5</td>\n",
2022-04-26 14:07:35 +02:00
" <td>POINT (205250.000 611250.000)</td>\n",
" <td>267</td>\n",
2022-05-11 16:40:11 +02:00
" <td>5710</td>\n",
2022-04-26 14:07:35 +02:00
" <td>30871</td>\n",
" <td>Schiermonnikoog</td>\n",
" <td>GM0088</td>\n",
" <td>1</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>ja</td>\n",
" <td>Schiermonnikoog</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Schiermonnikoog</td>\n",
" <td>NaN</td>\n",
" <td>postbus20@schiermonnikoog.nl, 0519-535050</td>\n",
" <td>https://www.schiermonnikoog.nl/in-de-gemeente/...</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0088stembureaus20220316009</td>\n",
" <td>35abba36eca7485c89e82b2917633ae7</td>\n",
" <td>1331.950309</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>E2060N6110</td>\n",
2022-05-09 18:30:16 +02:00
" <td>10</td>\n",
" <td>5</td>\n",
2022-04-26 14:07:35 +02:00
" <td>POINT (206250.000 611250.000)</td>\n",
" <td>269</td>\n",
2022-05-11 16:40:11 +02:00
" <td>5710</td>\n",
2022-04-26 14:07:35 +02:00
" <td>30871</td>\n",
" <td>Schiermonnikoog</td>\n",
" <td>GM0088</td>\n",
" <td>1</td>\n",
2022-04-13 15:08:29 +02:00
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>ja</td>\n",
" <td>Schiermonnikoog</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Schiermonnikoog</td>\n",
" <td>NaN</td>\n",
" <td>postbus20@schiermonnikoog.nl, 0519-535050</td>\n",
" <td>https://www.schiermonnikoog.nl/in-de-gemeente/...</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0088stembureaus20220316009</td>\n",
" <td>35abba36eca7485c89e82b2917633ae7</td>\n",
" <td>688.536284</td>\n",
2022-04-13 15:08:29 +02:00
" </tr>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>2</th>\n",
" <td>E2055N6105</td>\n",
" <td>20</td>\n",
2022-05-09 18:30:16 +02:00
" <td>5</td>\n",
2022-04-26 14:07:35 +02:00
" <td>POINT (205750.000 610750.000)</td>\n",
" <td>292</td>\n",
2022-05-11 16:40:11 +02:00
" <td>5710</td>\n",
2022-04-26 14:07:35 +02:00
" <td>30871</td>\n",
" <td>Schiermonnikoog</td>\n",
" <td>GM0088</td>\n",
" <td>1</td>\n",
2022-04-13 15:08:29 +02:00
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>ja</td>\n",
" <td>Schiermonnikoog</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Schiermonnikoog</td>\n",
" <td>NaN</td>\n",
" <td>postbus20@schiermonnikoog.nl, 0519-535050</td>\n",
" <td>https://www.schiermonnikoog.nl/in-de-gemeente/...</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0088stembureaus20220316009</td>\n",
" <td>35abba36eca7485c89e82b2917633ae7</td>\n",
" <td>672.375861</td>\n",
2022-04-13 15:08:29 +02:00
" </tr>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>3</th>\n",
" <td>E2060N6105</td>\n",
" <td>185</td>\n",
2022-05-09 18:30:16 +02:00
" <td>5</td>\n",
2022-04-26 14:07:35 +02:00
" <td>POINT (206250.000 610750.000)</td>\n",
" <td>293</td>\n",
2022-05-11 16:40:11 +02:00
" <td>5710</td>\n",
2022-04-26 14:07:35 +02:00
" <td>30871</td>\n",
" <td>Schiermonnikoog</td>\n",
" <td>GM0088</td>\n",
" <td>1</td>\n",
2022-04-13 15:08:29 +02:00
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>ja</td>\n",
" <td>Schiermonnikoog</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Schiermonnikoog</td>\n",
" <td>NaN</td>\n",
" <td>postbus20@schiermonnikoog.nl, 0519-535050</td>\n",
" <td>https://www.schiermonnikoog.nl/in-de-gemeente/...</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0088stembureaus20220316009</td>\n",
" <td>35abba36eca7485c89e82b2917633ae7</td>\n",
" <td>228.220493</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>E2065N6105</td>\n",
2022-05-09 18:30:16 +02:00
" <td>335</td>\n",
" <td>5</td>\n",
2022-04-26 14:07:35 +02:00
" <td>POINT (206750.000 610750.000)</td>\n",
" <td>294</td>\n",
2022-05-11 16:40:11 +02:00
" <td>5710</td>\n",
2022-04-26 14:07:35 +02:00
" <td>30871</td>\n",
" <td>Schiermonnikoog</td>\n",
" <td>GM0088</td>\n",
" <td>1</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>ja</td>\n",
" <td>Schiermonnikoog</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Schiermonnikoog</td>\n",
" <td>NaN</td>\n",
" <td>postbus20@schiermonnikoog.nl, 0519-535050</td>\n",
" <td>https://www.schiermonnikoog.nl/in-de-gemeente/...</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0088stembureaus20220316009</td>\n",
" <td>35abba36eca7485c89e82b2917633ae7</td>\n",
" <td>389.974214</td>\n",
2022-04-13 15:08:29 +02:00
" </tr>\n",
" </tbody>\n",
"</table>\n",
2022-05-11 16:40:11 +02:00
"<p>5 rows × 46 columns</p>\n",
2022-04-13 15:08:29 +02:00
"</div>"
],
"text/plain": [
2022-05-09 18:30:16 +02:00
" crs28992res500m aantal_inwoners stedelijkheid \\\n",
"0 E2050N6110 5 5 \n",
"1 E2060N6110 10 5 \n",
"2 E2055N6105 20 5 \n",
"3 E2060N6105 185 5 \n",
"4 E2065N6105 335 5 \n",
2022-04-26 14:07:35 +02:00
"\n",
2022-05-11 16:40:11 +02:00
" geometry savedindex Unnamed: 0 _id \\\n",
"0 POINT (205250.000 611250.000) 267 5710 30871 \n",
"1 POINT (206250.000 611250.000) 269 5710 30871 \n",
"2 POINT (205750.000 610750.000) 292 5710 30871 \n",
"3 POINT (206250.000 610750.000) 293 5710 30871 \n",
"4 POINT (206750.000 610750.000) 294 5710 30871 \n",
2022-04-26 14:07:35 +02:00
"\n",
2022-05-11 16:40:11 +02:00
" Gemeente CBS gemeentecode Nummer stembureau ... \\\n",
"0 Schiermonnikoog GM0088 1 ... \n",
"1 Schiermonnikoog GM0088 1 ... \n",
"2 Schiermonnikoog GM0088 1 ... \n",
"3 Schiermonnikoog GM0088 1 ... \n",
"4 Schiermonnikoog GM0088 1 ... \n",
2022-04-26 14:07:35 +02:00
"\n",
2022-05-11 16:40:11 +02:00
" Gehandicaptentoilet Kieskring ID Hoofdstembureau Tellocatie \\\n",
"0 ja Schiermonnikoog Schiermonnikoog NaN \n",
"1 ja Schiermonnikoog Schiermonnikoog NaN \n",
"2 ja Schiermonnikoog Schiermonnikoog NaN \n",
"3 ja Schiermonnikoog Schiermonnikoog NaN \n",
"4 ja Schiermonnikoog Schiermonnikoog NaN \n",
"\n",
" Contactgegevens gemeente \\\n",
"0 postbus20@schiermonnikoog.nl, 0519-535050 \n",
"1 postbus20@schiermonnikoog.nl, 0519-535050 \n",
"2 postbus20@schiermonnikoog.nl, 0519-535050 \n",
"3 postbus20@schiermonnikoog.nl, 0519-535050 \n",
"4 postbus20@schiermonnikoog.nl, 0519-535050 \n",
2022-04-13 15:08:29 +02:00
"\n",
2022-05-09 18:30:16 +02:00
" Verkiezingswebsite gemeente Verkiezingen \\\n",
"0 https://www.schiermonnikoog.nl/in-de-gemeente/... NaN \n",
"1 https://www.schiermonnikoog.nl/in-de-gemeente/... NaN \n",
"2 https://www.schiermonnikoog.nl/in-de-gemeente/... NaN \n",
"3 https://www.schiermonnikoog.nl/in-de-gemeente/... NaN \n",
"4 https://www.schiermonnikoog.nl/in-de-gemeente/... NaN \n",
2022-04-13 15:08:29 +02:00
"\n",
2022-04-26 14:07:35 +02:00
" ID UUID \\\n",
"0 NLODSGM0088stembureaus20220316009 35abba36eca7485c89e82b2917633ae7 \n",
"1 NLODSGM0088stembureaus20220316009 35abba36eca7485c89e82b2917633ae7 \n",
"2 NLODSGM0088stembureaus20220316009 35abba36eca7485c89e82b2917633ae7 \n",
"3 NLODSGM0088stembureaus20220316009 35abba36eca7485c89e82b2917633ae7 \n",
"4 NLODSGM0088stembureaus20220316009 35abba36eca7485c89e82b2917633ae7 \n",
2022-04-13 15:08:29 +02:00
"\n",
2022-05-11 16:40:11 +02:00
" dist \n",
"0 1331.950309 \n",
"1 688.536284 \n",
"2 672.375861 \n",
"3 228.220493 \n",
"4 389.974214 \n",
2022-04-26 14:07:35 +02:00
"\n",
2022-05-11 16:40:11 +02:00
"[5 rows x 46 columns]"
2022-04-13 15:08:29 +02:00
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 99,
2022-04-13 15:08:29 +02:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
2022-04-26 14:07:35 +02:00
"import numpy as np\n",
2022-04-13 15:08:29 +02:00
"\n",
2022-04-26 14:07:35 +02:00
"from scipy.spatial import cKDTree\n",
"from shapely.geometry import Point\n",
"#Found on https://gis.stackexchange.com/questions/222315/finding-nearest-point-in-other-geodataframe-using-geopandas\n",
"def ckdnearest(gdA, gdB):\n",
2022-04-20 13:03:38 +02:00
"\n",
2022-04-26 14:07:35 +02:00
" nA = np.array(list(gdA.geometry.apply(lambda x: (x.x, x.y))))\n",
" nB = np.array(list(gdB.geometry.apply(lambda x: (x.x, x.y))))\n",
" btree = cKDTree(nB)\n",
" dist, idx = btree.query(nA, k=1)\n",
" gdB_nearest = gdB.iloc[idx].drop(columns=\"geometry\").reset_index(drop=True)\n",
" gdf = pd.concat(\n",
" [\n",
" gdA.reset_index(drop=True),\n",
" gdB_nearest,\n",
" pd.Series(dist, name='dist')\n",
" ], \n",
" axis=1)\n",
2022-04-13 15:08:29 +02:00
"\n",
2022-04-26 14:07:35 +02:00
" return gdf\n",
2022-04-13 15:08:29 +02:00
"\n",
2022-04-26 14:07:35 +02:00
"#error bar is +- sqrt(250²*2)m ≈ +-353.553390593m\n",
"error = np.sqrt(250**2 + 250**2)\n",
2022-05-03 13:06:50 +02:00
"df_nearest = ckdnearest(nl_map_dst_points.to_crs(epsg=28992), gdf_wims_dedupe.to_crs(epsg=28992))\n",
2022-04-26 14:07:35 +02:00
"df_nearest.head()\n",
"\n"
2022-04-13 15:08:29 +02:00
]
},
2022-04-14 15:43:51 +02:00
{
2022-04-26 14:07:35 +02:00
"cell_type": "markdown",
2022-04-14 15:43:51 +02:00
"metadata": {},
"source": [
2022-04-26 14:07:35 +02:00
"Het was mooier geweest als we het konden filteren op alleen stemgerechtigden en niet op de gehele populatiedichtheid, maar het CBS geeft geen data vrij die daarbij helpt. Er is een categorie voor 0-14 jaar oude mensen, maar niet alle minderjarigen of niet stemgerechtigde. Het moet dus maar met totale bevolkingsdichtheid om een idee te krijgen."
2022-04-14 15:43:51 +02:00
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 100,
2022-04-14 15:43:51 +02:00
"metadata": {},
2022-04-13 15:08:29 +02:00
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
2022-05-09 18:30:16 +02:00
" <th>crs28992res500m</th>\n",
" <th>aantal_inwoners</th>\n",
" <th>stedelijkheid</th>\n",
2022-04-13 15:08:29 +02:00
" <th>geometry</th>\n",
2022-04-14 15:43:51 +02:00
" <th>savedindex</th>\n",
2022-05-11 16:40:11 +02:00
" <th>Unnamed: 0</th>\n",
2022-04-26 14:07:35 +02:00
" <th>_id</th>\n",
" <th>Gemeente</th>\n",
" <th>CBS gemeentecode</th>\n",
" <th>Nummer stembureau</th>\n",
" <th>...</th>\n",
2022-05-11 16:40:11 +02:00
" <th>Gehandicaptentoilet</th>\n",
" <th>Kieskring ID</th>\n",
2022-04-26 14:07:35 +02:00
" <th>Hoofdstembureau</th>\n",
" <th>Tellocatie</th>\n",
" <th>Contactgegevens gemeente</th>\n",
" <th>Verkiezingswebsite gemeente</th>\n",
" <th>Verkiezingen</th>\n",
" <th>ID</th>\n",
" <th>UUID</th>\n",
" <th>dist</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>E2270N6190</td>\n",
" <td>0</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
2022-04-26 14:07:35 +02:00
" <td>POINT (227250.000 619250.000)</td>\n",
" <td>2</td>\n",
2022-05-11 16:40:11 +02:00
" <td>5817</td>\n",
2022-04-26 14:07:35 +02:00
" <td>31030</td>\n",
" <td>Het Hogeland</td>\n",
" <td>GM1966</td>\n",
" <td>1</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Het Hogeland</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Het Hogeland</td>\n",
" <td>NaN</td>\n",
" <td>verkiezingen@hethogeland.nl</td>\n",
" <td>https://hethogeland.nl/bestuur-en-organisatie/...</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM1966stembureaus20220316009</td>\n",
" <td>6df04b8dd4be4aa3b4a03f221ab5ad17</td>\n",
" <td>17236.920436</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>E2275N6190</td>\n",
" <td>0</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
2022-04-26 14:07:35 +02:00
" <td>POINT (227750.000 619250.000)</td>\n",
" <td>3</td>\n",
2022-05-11 16:40:11 +02:00
" <td>5817</td>\n",
2022-04-26 14:07:35 +02:00
" <td>31030</td>\n",
" <td>Het Hogeland</td>\n",
" <td>GM1966</td>\n",
" <td>1</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Het Hogeland</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Het Hogeland</td>\n",
" <td>NaN</td>\n",
" <td>verkiezingen@hethogeland.nl</td>\n",
" <td>https://hethogeland.nl/bestuur-en-organisatie/...</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM1966stembureaus20220316009</td>\n",
" <td>6df04b8dd4be4aa3b4a03f221ab5ad17</td>\n",
" <td>17280.014918</td>\n",
2022-04-13 15:08:29 +02:00
" </tr>\n",
" <tr>\n",
2022-04-14 15:43:51 +02:00
" <th>2</th>\n",
" <td>E2280N6190</td>\n",
2022-04-26 14:07:35 +02:00
" <td>0</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
2022-04-14 15:43:51 +02:00
" <td>POINT (228250.000 619250.000)</td>\n",
" <td>4</td>\n",
2022-05-11 16:40:11 +02:00
" <td>5817</td>\n",
2022-04-26 14:07:35 +02:00
" <td>31030</td>\n",
" <td>Het Hogeland</td>\n",
" <td>GM1966</td>\n",
" <td>1</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Het Hogeland</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Het Hogeland</td>\n",
" <td>NaN</td>\n",
" <td>verkiezingen@hethogeland.nl</td>\n",
" <td>https://hethogeland.nl/bestuur-en-organisatie/...</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM1966stembureaus20220316009</td>\n",
" <td>6df04b8dd4be4aa3b4a03f221ab5ad17</td>\n",
" <td>17337.427867</td>\n",
2022-04-13 15:08:29 +02:00
" </tr>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>3</th>\n",
2022-04-14 15:43:51 +02:00
" <td>E2265N6185</td>\n",
2022-04-26 14:07:35 +02:00
" <td>0</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
2022-04-14 15:43:51 +02:00
" <td>POINT (226750.000 618750.000)</td>\n",
" <td>7</td>\n",
2022-05-11 16:40:11 +02:00
" <td>5817</td>\n",
2022-04-26 14:07:35 +02:00
" <td>31030</td>\n",
" <td>Het Hogeland</td>\n",
" <td>GM1966</td>\n",
" <td>1</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Het Hogeland</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Het Hogeland</td>\n",
" <td>NaN</td>\n",
" <td>verkiezingen@hethogeland.nl</td>\n",
" <td>https://hethogeland.nl/bestuur-en-organisatie/...</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM1966stembureaus20220316009</td>\n",
" <td>6df04b8dd4be4aa3b4a03f221ab5ad17</td>\n",
" <td>16708.725120</td>\n",
2022-04-13 15:08:29 +02:00
" </tr>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>4</th>\n",
2022-04-14 15:43:51 +02:00
" <td>E2270N6185</td>\n",
2022-04-26 14:07:35 +02:00
" <td>0</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
2022-04-14 15:43:51 +02:00
" <td>POINT (227250.000 618750.000)</td>\n",
" <td>8</td>\n",
2022-05-11 16:40:11 +02:00
" <td>5817</td>\n",
2022-04-26 14:07:35 +02:00
" <td>31030</td>\n",
" <td>Het Hogeland</td>\n",
" <td>GM1966</td>\n",
" <td>1</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Het Hogeland</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Het Hogeland</td>\n",
" <td>NaN</td>\n",
" <td>verkiezingen@hethogeland.nl</td>\n",
" <td>https://hethogeland.nl/bestuur-en-organisatie/...</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM1966stembureaus20220316009</td>\n",
" <td>6df04b8dd4be4aa3b4a03f221ab5ad17</td>\n",
" <td>16738.249149</td>\n",
2022-04-13 15:08:29 +02:00
" </tr>\n",
2022-04-14 15:43:51 +02:00
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
2022-04-26 14:07:35 +02:00
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>139997</th>\n",
2022-04-14 15:43:51 +02:00
" <td>E1990N3070</td>\n",
2022-04-26 14:07:35 +02:00
" <td>0</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
2022-04-14 15:43:51 +02:00
" <td>POINT (199250.000 307250.000)</td>\n",
" <td>151102</td>\n",
2022-05-11 16:40:11 +02:00
" <td>498</td>\n",
2022-05-03 13:06:50 +02:00
" <td>4103</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Vaals</td>\n",
" <td>GM0981</td>\n",
2022-05-03 13:06:50 +02:00
" <td>3</td>\n",
2022-04-26 14:07:35 +02:00
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Vaals</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Vaals</td>\n",
2022-05-03 13:06:50 +02:00
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Team verkiezingen, verkiezingen2022@vaals.nl</td>\n",
" <td>http://www.vaals.nl/verkiezingen</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0981stembureaus20220316009</td>\n",
2022-05-03 13:06:50 +02:00
" <td>3dfcfccd163145698a33b19623c5c3f3</td>\n",
" <td>2010.126740</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>139998</th>\n",
2022-04-14 15:43:51 +02:00
" <td>E1995N3070</td>\n",
2022-04-26 14:07:35 +02:00
" <td>0</td>\n",
2022-05-09 18:30:16 +02:00
" <td>5</td>\n",
2022-04-14 15:43:51 +02:00
" <td>POINT (199750.000 307250.000)</td>\n",
" <td>151103</td>\n",
2022-05-11 16:40:11 +02:00
" <td>498</td>\n",
2022-05-03 13:06:50 +02:00
" <td>4103</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Vaals</td>\n",
" <td>GM0981</td>\n",
2022-05-03 13:06:50 +02:00
" <td>3</td>\n",
2022-04-26 14:07:35 +02:00
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Vaals</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Vaals</td>\n",
2022-05-03 13:06:50 +02:00
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Team verkiezingen, verkiezingen2022@vaals.nl</td>\n",
" <td>http://www.vaals.nl/verkiezingen</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM0981stembureaus20220316009</td>\n",
2022-05-03 13:06:50 +02:00
" <td>3dfcfccd163145698a33b19623c5c3f3</td>\n",
" <td>1949.951758</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>139999</th>\n",
2022-04-14 15:43:51 +02:00
" <td>E1910N3065</td>\n",
2022-04-26 14:07:35 +02:00
" <td>0</td>\n",
2022-05-09 18:30:16 +02:00
" <td>-99997</td>\n",
2022-04-14 15:43:51 +02:00
" <td>POINT (191250.000 306750.000)</td>\n",
" <td>151105</td>\n",
2022-05-11 16:40:11 +02:00
" <td>5276</td>\n",
2022-04-26 14:07:35 +02:00
" <td>29739</td>\n",
" <td>Gulpen-Wittem</td>\n",
" <td>GM1729</td>\n",
" <td>7</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Gulpen-Wittem</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Gulpen-Wittem</td>\n",
" <td>NaN</td>\n",
" <td>info@gulpen-wittem.nl 14 043</td>\n",
" <td>https://www.gulpen-wittem.nl/onderwerpen/verki...</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM1729stembureaus20220316009</td>\n",
" <td>feb9d0a67a2f460f906d0d21e87bf690</td>\n",
" <td>2880.233287</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>140000</th>\n",
2022-04-14 15:43:51 +02:00
" <td>E1920N3065</td>\n",
2022-05-09 18:30:16 +02:00
" <td>15</td>\n",
" <td>5</td>\n",
2022-04-14 15:43:51 +02:00
" <td>POINT (192250.000 306750.000)</td>\n",
" <td>151106</td>\n",
2022-05-11 16:40:11 +02:00
" <td>5276</td>\n",
2022-04-26 14:07:35 +02:00
" <td>29739</td>\n",
" <td>Gulpen-Wittem</td>\n",
" <td>GM1729</td>\n",
" <td>7</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Gulpen-Wittem</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Gulpen-Wittem</td>\n",
" <td>NaN</td>\n",
" <td>info@gulpen-wittem.nl 14 043</td>\n",
" <td>https://www.gulpen-wittem.nl/onderwerpen/verki...</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM1729stembureaus20220316009</td>\n",
" <td>feb9d0a67a2f460f906d0d21e87bf690</td>\n",
" <td>2746.345509</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>140001</th>\n",
2022-04-14 15:43:51 +02:00
" <td>E1925N3065</td>\n",
2022-04-26 14:07:35 +02:00
" <td>0</td>\n",
2022-05-09 18:30:16 +02:00
" <td>5</td>\n",
2022-04-14 15:43:51 +02:00
" <td>POINT (192750.000 306750.000)</td>\n",
" <td>151107</td>\n",
2022-05-11 16:40:11 +02:00
" <td>5276</td>\n",
2022-04-26 14:07:35 +02:00
" <td>29739</td>\n",
" <td>Gulpen-Wittem</td>\n",
" <td>GM1729</td>\n",
" <td>7</td>\n",
" <td>...</td>\n",
2022-05-11 16:40:11 +02:00
" <td>NaN</td>\n",
" <td>Gulpen-Wittem</td>\n",
2022-04-26 14:07:35 +02:00
" <td>Gulpen-Wittem</td>\n",
" <td>NaN</td>\n",
" <td>info@gulpen-wittem.nl 14 043</td>\n",
" <td>https://www.gulpen-wittem.nl/onderwerpen/verki...</td>\n",
" <td>NaN</td>\n",
" <td>NLODSGM1729stembureaus20220316009</td>\n",
" <td>feb9d0a67a2f460f906d0d21e87bf690</td>\n",
" <td>2813.494018</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" </tbody>\n",
"</table>\n",
2022-05-11 16:40:11 +02:00
"<p>140002 rows × 46 columns</p>\n",
2022-04-14 15:43:51 +02:00
"</div>"
],
"text/plain": [
2022-05-09 18:30:16 +02:00
" crs28992res500m aantal_inwoners stedelijkheid \\\n",
"0 E2270N6190 0 -99997 \n",
"1 E2275N6190 0 -99997 \n",
"2 E2280N6190 0 -99997 \n",
"3 E2265N6185 0 -99997 \n",
"4 E2270N6185 0 -99997 \n",
"... ... ... ... \n",
"139997 E1990N3070 0 -99997 \n",
"139998 E1995N3070 0 5 \n",
"139999 E1910N3065 0 -99997 \n",
"140000 E1920N3065 15 5 \n",
"140001 E1925N3065 0 5 \n",
2022-04-26 14:07:35 +02:00
"\n",
2022-05-11 16:40:11 +02:00
" geometry savedindex Unnamed: 0 _id \\\n",
"0 POINT (227250.000 619250.000) 2 5817 31030 \n",
"1 POINT (227750.000 619250.000) 3 5817 31030 \n",
"2 POINT (228250.000 619250.000) 4 5817 31030 \n",
"3 POINT (226750.000 618750.000) 7 5817 31030 \n",
"4 POINT (227250.000 618750.000) 8 5817 31030 \n",
"... ... ... ... ... \n",
"139997 POINT (199250.000 307250.000) 151102 498 4103 \n",
"139998 POINT (199750.000 307250.000) 151103 498 4103 \n",
"139999 POINT (191250.000 306750.000) 151105 5276 29739 \n",
"140000 POINT (192250.000 306750.000) 151106 5276 29739 \n",
"140001 POINT (192750.000 306750.000) 151107 5276 29739 \n",
2022-04-26 14:07:35 +02:00
"\n",
2022-05-11 16:40:11 +02:00
" Gemeente CBS gemeentecode Nummer stembureau ... \\\n",
"0 Het Hogeland GM1966 1 ... \n",
"1 Het Hogeland GM1966 1 ... \n",
"2 Het Hogeland GM1966 1 ... \n",
"3 Het Hogeland GM1966 1 ... \n",
"4 Het Hogeland GM1966 1 ... \n",
"... ... ... ... ... \n",
"139997 Vaals GM0981 3 ... \n",
"139998 Vaals GM0981 3 ... \n",
"139999 Gulpen-Wittem GM1729 7 ... \n",
"140000 Gulpen-Wittem GM1729 7 ... \n",
"140001 Gulpen-Wittem GM1729 7 ... \n",
2022-04-26 14:07:35 +02:00
"\n",
2022-05-11 16:40:11 +02:00
" Gehandicaptentoilet Kieskring ID Hoofdstembureau Tellocatie \\\n",
"0 NaN Het Hogeland Het Hogeland NaN \n",
"1 NaN Het Hogeland Het Hogeland NaN \n",
"2 NaN Het Hogeland Het Hogeland NaN \n",
"3 NaN Het Hogeland Het Hogeland NaN \n",
"4 NaN Het Hogeland Het Hogeland NaN \n",
"... ... ... ... ... \n",
"139997 NaN Vaals Vaals NaN \n",
"139998 NaN Vaals Vaals NaN \n",
"139999 NaN Gulpen-Wittem Gulpen-Wittem NaN \n",
"140000 NaN Gulpen-Wittem Gulpen-Wittem NaN \n",
"140001 NaN Gulpen-Wittem Gulpen-Wittem NaN \n",
2022-04-26 14:07:35 +02:00
"\n",
" Contactgegevens gemeente \\\n",
"0 verkiezingen@hethogeland.nl \n",
"1 verkiezingen@hethogeland.nl \n",
"2 verkiezingen@hethogeland.nl \n",
"3 verkiezingen@hethogeland.nl \n",
"4 verkiezingen@hethogeland.nl \n",
"... ... \n",
"139997 Team verkiezingen, verkiezingen2022@vaals.nl \n",
"139998 Team verkiezingen, verkiezingen2022@vaals.nl \n",
"139999 info@gulpen-wittem.nl 14 043 \n",
"140000 info@gulpen-wittem.nl 14 043 \n",
"140001 info@gulpen-wittem.nl 14 043 \n",
2022-04-14 15:43:51 +02:00
"\n",
2022-05-09 18:30:16 +02:00
" Verkiezingswebsite gemeente Verkiezingen \\\n",
"0 https://hethogeland.nl/bestuur-en-organisatie/... NaN \n",
"1 https://hethogeland.nl/bestuur-en-organisatie/... NaN \n",
"2 https://hethogeland.nl/bestuur-en-organisatie/... NaN \n",
"3 https://hethogeland.nl/bestuur-en-organisatie/... NaN \n",
"4 https://hethogeland.nl/bestuur-en-organisatie/... NaN \n",
"... ... ... \n",
"139997 http://www.vaals.nl/verkiezingen NaN \n",
"139998 http://www.vaals.nl/verkiezingen NaN \n",
"139999 https://www.gulpen-wittem.nl/onderwerpen/verki... NaN \n",
"140000 https://www.gulpen-wittem.nl/onderwerpen/verki... NaN \n",
"140001 https://www.gulpen-wittem.nl/onderwerpen/verki... NaN \n",
2022-04-26 14:07:35 +02:00
"\n",
" ID UUID \\\n",
"0 NLODSGM1966stembureaus20220316009 6df04b8dd4be4aa3b4a03f221ab5ad17 \n",
"1 NLODSGM1966stembureaus20220316009 6df04b8dd4be4aa3b4a03f221ab5ad17 \n",
"2 NLODSGM1966stembureaus20220316009 6df04b8dd4be4aa3b4a03f221ab5ad17 \n",
"3 NLODSGM1966stembureaus20220316009 6df04b8dd4be4aa3b4a03f221ab5ad17 \n",
"4 NLODSGM1966stembureaus20220316009 6df04b8dd4be4aa3b4a03f221ab5ad17 \n",
"... ... ... \n",
2022-05-03 13:06:50 +02:00
"139997 NLODSGM0981stembureaus20220316009 3dfcfccd163145698a33b19623c5c3f3 \n",
"139998 NLODSGM0981stembureaus20220316009 3dfcfccd163145698a33b19623c5c3f3 \n",
2022-04-26 14:07:35 +02:00
"139999 NLODSGM1729stembureaus20220316009 feb9d0a67a2f460f906d0d21e87bf690 \n",
"140000 NLODSGM1729stembureaus20220316009 feb9d0a67a2f460f906d0d21e87bf690 \n",
"140001 NLODSGM1729stembureaus20220316009 feb9d0a67a2f460f906d0d21e87bf690 \n",
"\n",
2022-05-11 16:40:11 +02:00
" dist \n",
"0 17236.920436 \n",
"1 17280.014918 \n",
"2 17337.427867 \n",
"3 16708.725120 \n",
"4 16738.249149 \n",
"... ... \n",
"139997 2010.126740 \n",
"139998 1949.951758 \n",
"139999 2880.233287 \n",
"140000 2746.345509 \n",
"140001 2813.494018 \n",
2022-04-26 14:07:35 +02:00
"\n",
2022-05-11 16:40:11 +02:00
"[140002 rows x 46 columns]"
2022-04-14 15:43:51 +02:00
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 100,
2022-04-14 15:43:51 +02:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
2022-05-09 18:30:16 +02:00
"nl_map_dst_zero_points[\"aantal_inwoners\"].mask(nl_map_dst_zero_points[\"aantal_inwoners\"] == -99997, 0, inplace=True)\n",
2022-04-26 14:07:35 +02:00
"nl_map_dst_zero_points.head()\n",
2022-05-03 13:06:50 +02:00
"df_nearest_zero = ckdnearest(nl_map_dst_zero_points.to_crs(epsg=28992), gdf_wims_dedupe.to_crs(epsg=28992))\n",
2022-05-09 18:30:16 +02:00
"df_nearest_zero[\"aantal_inwoners\"].dropna()\n",
2022-04-26 14:07:35 +02:00
"df_nearest_zero[\"dist\"].dropna()\n",
"df_nearest_zero"
2022-04-14 15:43:51 +02:00
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 101,
2022-04-26 14:07:35 +02:00
"metadata": {},
2022-04-14 15:43:51 +02:00
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
2022-04-20 13:03:38 +02:00
" <th>Gemeente</th>\n",
" <th>Naam stembureau</th>\n",
2022-04-14 15:43:51 +02:00
" <th>dist</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
2022-05-09 18:30:16 +02:00
" <th>47304</th>\n",
2022-04-26 14:07:35 +02:00
" <td>Ridderkerk</td>\n",
" <td>Gemeentehuis</td>\n",
" <td>3.835321</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-05-09 18:30:16 +02:00
" <th>32815</th>\n",
2022-04-26 14:07:35 +02:00
" <td>Baarn</td>\n",
" <td>Dorpshuis de Furs</td>\n",
" <td>4.000517</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-05-09 18:30:16 +02:00
" <th>5168</th>\n",
2022-04-26 14:07:35 +02:00
" <td>Groningen</td>\n",
" <td>Dorpshuis De Hoeksteen</td>\n",
" <td>5.577246</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-05-09 18:30:16 +02:00
" <th>38975</th>\n",
2022-04-26 14:07:35 +02:00
" <td>Montfoort</td>\n",
" <td>Zalencentrum St. Joseph</td>\n",
" <td>5.703409</td>\n",
" </tr>\n",
" <tr>\n",
2022-05-09 18:30:16 +02:00
" <th>67518</th>\n",
2022-05-03 13:06:50 +02:00
" <td>Kerkrade</td>\n",
" <td>’ t Westhoes</td>\n",
" <td>7.252446</td>\n",
" </tr>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>...</th>\n",
2022-04-14 15:43:51 +02:00
" <td>...</td>\n",
2022-04-26 14:07:35 +02:00
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
2022-05-09 18:30:16 +02:00
" <th>23422</th>\n",
2022-05-03 13:06:50 +02:00
" <td>Zeewolde</td>\n",
" <td>Het Kruispunt</td>\n",
" <td>8207.619943</td>\n",
2022-04-26 14:07:35 +02:00
" </tr>\n",
" <tr>\n",
2022-05-09 18:30:16 +02:00
" <th>22478</th>\n",
2022-05-03 13:06:50 +02:00
" <td>Lelystad</td>\n",
" <td>Gymzaal De Borg</td>\n",
" <td>8402.730770</td>\n",
2022-04-26 14:07:35 +02:00
" </tr>\n",
" <tr>\n",
2022-05-09 18:30:16 +02:00
" <th>22348</th>\n",
2022-05-03 13:06:50 +02:00
" <td>Lelystad</td>\n",
" <td>Voormalige Scholengemeenschap De Rietlanden</td>\n",
" <td>8540.805874</td>\n",
2022-04-26 14:07:35 +02:00
" </tr>\n",
" <tr>\n",
2022-05-09 18:30:16 +02:00
" <th>22477</th>\n",
2022-04-26 14:07:35 +02:00
" <td>Lelystad</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Voormalige Scholengemeenschap De Rietlanden</td>\n",
" <td>9028.790070</td>\n",
2022-04-26 14:07:35 +02:00
" </tr>\n",
" <tr>\n",
2022-05-09 18:30:16 +02:00
" <th>22619</th>\n",
2022-05-03 13:06:50 +02:00
" <td>Zeewolde</td>\n",
" <td>Panta Rhei</td>\n",
" <td>9173.600947</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" </tbody>\n",
"</table>\n",
2022-05-09 18:30:16 +02:00
"<p>68131 rows × 3 columns</p>\n",
2022-04-14 15:43:51 +02:00
"</div>"
],
"text/plain": [
2022-05-03 13:06:50 +02:00
" Gemeente Naam stembureau dist\n",
2022-05-09 18:30:16 +02:00
"47304 Ridderkerk Gemeentehuis 3.835321\n",
"32815 Baarn Dorpshuis de Furs 4.000517\n",
"5168 Groningen Dorpshuis De Hoeksteen 5.577246\n",
"38975 Montfoort Zalencentrum St. Joseph 5.703409\n",
"67518 Kerkrade ’ t Westhoes 7.252446\n",
2022-05-03 13:06:50 +02:00
"... ... ... ...\n",
2022-05-09 18:30:16 +02:00
"23422 Zeewolde Het Kruispunt 8207.619943\n",
"22478 Lelystad Gymzaal De Borg 8402.730770\n",
"22348 Lelystad Voormalige Scholengemeenschap De Rietlanden 8540.805874\n",
"22477 Lelystad Voormalige Scholengemeenschap De Rietlanden 9028.790070\n",
"22619 Zeewolde Panta Rhei 9173.600947\n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-09 18:30:16 +02:00
"[68131 rows x 3 columns]"
2022-04-26 14:07:35 +02:00
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 101,
2022-04-26 14:07:35 +02:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df_nearest.sort_values(by=['dist'], inplace=True)\n",
"df_nearest[['Gemeente', 'Naam stembureau', 'dist']]"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 102,
2022-04-26 14:07:35 +02:00
"metadata": {},
2022-05-09 18:30:16 +02:00
"outputs": [],
2022-04-14 15:43:51 +02:00
"source": [
2022-05-09 18:30:16 +02:00
"def plot_dist(df, label):\n",
" plt.figure(figsize=(13,13))\n",
" df['dist'].plot(kind=\"hist\", weights=df['aantal_inwoners'], figsize=(13,13), density=False,title=\"Afstand tot Stemlokaal per 500 x 500 m vierkant (minimaal 5 mensen in het vierkant) Staffel {}\".format(label), log=True).set_ylabel('Bevolking (Millioenen)')\n",
" plt.figure(figsize=(13,13))\n",
" df.plot.scatter(x = 'aantal_inwoners', y = 'dist', figsize=(13,13), title=\"Afstand tot Stemlokaal per 500 x 500 m vierkant (minimaal 5 mensen in het vierkant) Staffel {}\".format(label), xlabel=\"Inwoners per 500m² (laagste is 5)\", ylabel=\"Afstand tot stemlokaal (meter)\")\n",
" "
2022-04-14 15:43:51 +02:00
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 103,
2022-04-14 15:43:51 +02:00
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
2022-04-26 14:07:35 +02:00
"<AxesSubplot:xlabel='Inwoners per 500m² (inclusief lege (<5 inwoners) vierkanten)', ylabel='Afstand tot stemlokaal (meter)'>"
2022-04-14 15:43:51 +02:00
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 103,
2022-04-14 15:43:51 +02:00
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
2022-05-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IAQAA4FBAgtEknCIFAACAQwEJRpPsi6dqigMAAADtiASjaYorMCaKAwAAAO2HBKNJpoSDj6MtFwcAAADaEQlGk1DkDQAAgEMBCUaTzJ4SrikOAAAAtCMSjCbZvmu0pjgAAADQjkgwmiQaCr7U5eIAAABAO2J22yTzZwf3uygXBwAAANoRCUaTzJvZVVMcAAAAaEckGE0yODxWUxwAAABoRw1LMMzsBjN7zsy25sU+aWY7zGxT5uvsvMc+amb9ZvYHM3t9XvwkM/td5rEvmJll4lEz+24mvsHMjmrU71IfNNoDAABA52vkCsbXJJ0VEP9X59yyzNcPJMnMFku6QNKSzGv+w8yyHei+LOliScdlvrLv+W5Ju5xziyT9q6SrG/WL1MO8md01xQEAAIB21LAEwzn3S0l/rPLpb5T0HedczDn3hKR+Sa8ysyMlzXDO3eecc5JulPSmvNd8PfP9rZLOzK5utKK940mF/cLhhX3T3vHkJI0IAAAAqL/JqMG41My2ZLZQzc7E5kvanvecgUxsfub74njBa5xzCUnDknoaOfCDMTXiK54s3A4VTzpNjfhlXgEAAAC0n2YnGF+WdKykZZKekfS5TDxo5cFViFd6TQkzu9jMNprZxueff76mAdfL4HBwQ71ycQAAAKAdNTXBcM7tdM4lnXMpSV+R9KrMQwOSFuQ9tVfSYCbeGxAveI2ZhSTNVJktWc6565xzy51zyw8//PB6/To12T2aqCkOAAAAtKOmJhiZmoqsv5aUPWHqdkkXZE6GOlrpYu4HnHPPSNpjZidn6isuknRb3mvemfn+PEl3Z+o0WtKM7lBNcQAAAKA
2022-04-14 15:43:51 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
2022-05-09 18:30:16 +02:00
"df_nearest_zero.plot.scatter(x = 'aantal_inwoners', y = 'dist', figsize=(13,13), xlabel=\"Inwoners per 500m² (inclusief lege (<5 inwoners) vierkanten)\", ylabel=\"Afstand tot stemlokaal (meter)\")"
2022-04-26 14:07:35 +02:00
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 104,
2022-04-26 14:07:35 +02:00
"metadata": {},
"outputs": [],
"source": [
"FIGSIZE = (13, 13)\n",
"def plot_bargraph_with_groupings(df, groupby, colourby, title, xlabel, ylabel):\n",
"\n",
" import matplotlib.patches as mpatches\n",
"\n",
"\n",
" # Makes the bargraph.\n",
" ax = df[groupby].value_counts().plot(kind='bar',\n",
" figsize=FIGSIZE,\n",
" title=title)\n",
" \n",
"\n",
" # display the graph.\n",
" \n",
" ax.set_xlabel(xlabel)\n",
" ax.set_ylabel(ylabel)"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 105,
2022-04-26 14:07:35 +02:00
"metadata": {
2022-05-04 16:38:33 +02:00
"scrolled": false
2022-04-26 14:07:35 +02:00
},
"outputs": [
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAxQAAAV9CAYAAABpqAo5AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAEAAElEQVR4nOzdefxmc/3/8edrNjOWwTBkHzQplLEklUokQkgpSqmUFqm+6itaqVTa0y+VUpYWX62UVJIopGYYO5ElImuYkPX1++P1vuZzPufzfp/rOsd8ZuYzHvfb7bp9rs+5znXe63mf8zrbZe4uAAAAAOhi3KLOAAAAAICxi4ACAAAAQGcEFAAAAAA6I6AAAAAA0BkBBQAAAIDOCCgAAAAAdEZAAQAtmdk2ZnbzAl7mf8xsvfT+ODP75AJYppvZUxeX5TwZtekrXdvdzN5oZn9qnzsAWDAIKAA8KZnZXmZ2gZndb2a3p/fvNDNbFPlx92Xd/bpFkfaSzszWNLOfmNmdZnavmV1qZm9Mn81IAdOERZxNABizCCgAPOmY2fskfUXS5yQ9RdKqkt4u6fmSJo1CeuMX9DLRyomSbpK0jqSV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AAAADIGNWAwt0fc/dZktZUnG3YWHH50vqSZkm6VdIX0uy5+yK8YXouvWPcfQt332L69OlPMPcAAAAA+lkoT3ly93sk/UHSju5+Wwo0Hpf0LUlbptlulrRW5WtrSrolTV8zMx0AAADAIjaaT3mabmYrpPdTJL1E0lXpnoieV0i6LL0/VdJeZraUma0raaakv7j7rZLmmdlW6elOb5B0ymjlGwAAAMDgRvMpT6tJOt7Mxis
2022-04-26 14:07:35 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
2022-05-03 13:06:50 +02:00
"plot_bargraph_with_groupings(gdf_wims_dedupe, 'Gebruiksdoel van het gebouw', 'Gemeente', 'Gebruiksdoelen van Stemlokalen', 'Gebruiksdoel', 'Hoeveelheid Stemlokalen')"
2022-04-14 15:43:51 +02:00
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
2022-04-26 14:07:35 +02:00
"Dit is onbruikbaar, de categorieën moeten elk één balkje zijn, niet zoals dit."
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 106,
2022-04-26 14:07:35 +02:00
"metadata": {},
"outputs": [],
"source": [
2022-05-09 18:30:16 +02:00
"def plot_use (df, label):\n",
" plt.figure(figsize=(13,13))\n",
" df_exploded = df.drop('Gebruiksdoel van het gebouw', axis=1).join(df['Gebruiksdoel van het gebouw'].str.split(',', expand=True).stack().reset_index(level=1,drop=True).rename('Gebruiksdoel van het gebouw'))\n",
" #print(df_exploded)\n",
" plot_bargraph_with_groupings(df_exploded, 'Gebruiksdoel van het gebouw', 'Gemeente', 'Gebruiksdoelen van Stemlokalen Staffel {}'.format(label), 'Gebruiksdoel', 'Hoeveelheid Stemlokalen')\n",
2022-05-11 16:40:11 +02:00
" print(\"Staffel: {}\".format(label))\n",
" print(df_exploded['Gebruiksdoel van het gebouw'].value_counts())\n",
" \n",
2022-05-09 18:30:16 +02:00
" "
2022-04-14 15:43:51 +02:00
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 107,
2022-04-14 15:43:51 +02:00
"metadata": {},
2022-04-26 14:07:35 +02:00
"outputs": [
{
"data": {
"text/plain": [
"Amsterdam 456\n",
"Rotterdam 398\n",
"'s-Gravenhage 271\n",
"Utrecht 162\n",
"Breda 90\n",
"Eindhoven 86\n",
"Groningen 85\n",
"Apeldoorn 71\n",
"Enschede 69\n",
"Alphen aan den Rijn 66\n",
"Leiden 52\n",
"Deventer 51\n",
"West Betuwe 37\n",
"Waadhoeke 33\n",
"Amsterdam 382\n",
"Rotterdam 375\n",
"'s-Gravenhage 258\n",
"Utrecht 161\n",
"Groningen 122\n",
"Breda 89\n",
"Haarlemmermeer 79\n",
"Nijmegen 74\n",
"'s-Hertogenbosch 40\n",
"Het Hogeland 39\n",
"Zoetermeer 38\n",
"Staphorst 2\n",
"Name: Gemeente, dtype: int64"
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 107,
2022-04-26 14:07:35 +02:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
2022-05-03 13:06:50 +02:00
"\n",
2022-04-26 14:07:35 +02:00
"wims_count = gdf_wims_dedupe['Gemeente'].value_counts()\n",
"\n",
"\n",
2022-05-03 13:06:50 +02:00
"geojson_rename = df_geojson_dedupe.rename(columns = {'electionName': 'Gemeente'})\n",
2022-04-26 14:07:35 +02:00
"geojson_count = geojson_rename['Gemeente'].str.slice(13, -5).value_counts()\n",
"\n",
"pd.concat([geojson_count, wims_count]).drop_duplicates(keep=False)\n"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 108,
2022-04-26 14:07:35 +02:00
"metadata": {},
2022-04-14 15:43:51 +02:00
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
2022-04-26 14:07:35 +02:00
" <th>Openingstijden 14-03-2022</th>\n",
" <th>Openingstijden 15-03-2022</th>\n",
" <th>Openingstijden 16-03-2022</th>\n",
2022-04-20 13:03:38 +02:00
" <th>UUID</th>\n",
2022-05-03 13:06:50 +02:00
" <th>Gemeente</th>\n",
" <th>CBS gemeentecode</th>\n",
2022-04-26 14:07:35 +02:00
" <th>Openingstijden 14-03-2022 van</th>\n",
" <th>Openingstijden 14-03-2022 tot</th>\n",
" <th>Openingstijden 15-03-2022 van</th>\n",
" <th>Openingstijden 15-03-2022 tot</th>\n",
" <th>Openingstijden 16-03-2022 van</th>\n",
" <th>Openingstijden 16-03-2022 tot</th>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T10:00:00 tot 2022-03-16T13:00:00</td>\n",
" <td>3a612b2151fa4ab491b9e331355e6258</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
2022-04-14 15:43:51 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>2022-03-16T10:00:00</td>\n",
" <td>2022-03-16T13:00:00</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00 tot 2022-03-16T21:00:00</td>\n",
" <td>9a01d765af0a467ea37f08d92db114ba</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
2022-04-14 15:43:51 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>2022-03-16T07:30:00</td>\n",
" <td>2022-03-16T21:00:00</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00 tot 2022-03-16T21:00:00</td>\n",
" <td>fc5869d33fbc4b06be659149fa615f4c</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
2022-04-14 15:43:51 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00</td>\n",
" <td>2022-03-16T21:00:00</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>3</th>\n",
2022-04-14 15:43:51 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00 tot 2022-03-16T21:00:00</td>\n",
" <td>4427cc0b39e040ba8f75c333f19d66f0</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
2022-04-14 15:43:51 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>2022-03-16T07:30:00</td>\n",
" <td>2022-03-16T21:00:00</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>2022-03-14T07:30:00 tot 2022-03-14T21:00:00</td>\n",
" <td>2022-03-15T07:30:00 tot 2022-03-15T21:00:00</td>\n",
" <td>2022-03-16T07:30:00 tot 2022-03-16T21:00:00</td>\n",
" <td>a893bb9add324ce29769f1c39afcc48d</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-14T07:30:00</td>\n",
" <td>2022-03-14T21:00:00</td>\n",
" <td>2022-03-15T07:30:00</td>\n",
" <td>2022-03-15T21:00:00</td>\n",
" <td>2022-03-16T07:30:00</td>\n",
" <td>2022-03-16T21:00:00</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
2022-05-03 13:06:50 +02:00
" <td>...</td>\n",
" <td>...</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9270</th>\n",
2022-04-14 15:43:51 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00 tot 2022-03-16T21:00:00</td>\n",
2022-05-03 13:06:50 +02:00
" <td>f744546cd6894e5e9a4db4bbfd81b4ee</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
2022-04-14 15:43:51 +02:00
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>2022-03-16T07:30:00</td>\n",
" <td>2022-03-16T21:00:00</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9271</th>\n",
" <td>2022-03-14T07:30:00 tot 2022-03-14T21:00:00</td>\n",
" <td>2022-03-15T07:30:00 tot 2022-03-15T21:00:00</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00 tot 2022-03-16T21:00:00</td>\n",
2022-05-03 13:06:50 +02:00
" <td>1270081b1dc74cd7bea0f45973650408</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
" <td>2022-03-14T07:30:00</td>\n",
" <td>2022-03-14T21:00:00</td>\n",
" <td>2022-03-15T07:30:00</td>\n",
" <td>2022-03-15T21:00:00</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00</td>\n",
" <td>2022-03-16T21:00:00</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9272</th>\n",
2022-04-14 15:43:51 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>2022-03-15T07:30:00 tot 2022-03-15T21:00:00</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00 tot 2022-03-16T21:00:00</td>\n",
2022-05-03 13:06:50 +02:00
" <td>447c7742604345139e41def4cf1e4d3c</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
2022-04-26 14:07:35 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>2022-03-15T07:30:00</td>\n",
" <td>2022-03-15T21:00:00</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00</td>\n",
" <td>2022-03-16T21:00:00</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9273</th>\n",
2022-04-14 15:43:51 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00 tot 2022-03-16T21:00:00</td>\n",
2022-05-03 13:06:50 +02:00
" <td>049cfd258c174bc49abf17883396d083</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
2022-04-14 15:43:51 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>2022-03-16T07:30:00</td>\n",
" <td>2022-03-16T21:00:00</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9274</th>\n",
2022-04-14 15:43:51 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00 tot 2022-03-16T21:00:00</td>\n",
2022-05-03 13:06:50 +02:00
" <td>1e8cbe96e72c4c6ba6303f47bec8cdb5</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
2022-04-14 15:43:51 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>2022-03-16T07:30:00</td>\n",
" <td>2022-03-16T21:00:00</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" </tbody>\n",
"</table>\n",
2022-05-11 16:40:11 +02:00
"<p>8089 rows × 12 columns</p>\n",
2022-04-14 15:43:51 +02:00
"</div>"
],
"text/plain": [
2022-04-26 14:07:35 +02:00
" Openingstijden 14-03-2022 \\\n",
"0 NaN \n",
"1 NaN \n",
"2 NaN \n",
"3 NaN \n",
"4 2022-03-14T07:30:00 tot 2022-03-14T21:00:00 \n",
"... ... \n",
2022-05-03 13:06:50 +02:00
"9270 NaN \n",
"9271 2022-03-14T07:30:00 tot 2022-03-14T21:00:00 \n",
"9272 NaN \n",
"9273 NaN \n",
"9274 NaN \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-04-26 14:07:35 +02:00
" Openingstijden 15-03-2022 \\\n",
"0 NaN \n",
"1 NaN \n",
"2 NaN \n",
"3 NaN \n",
"4 2022-03-15T07:30:00 tot 2022-03-15T21:00:00 \n",
"... ... \n",
2022-05-03 13:06:50 +02:00
"9270 NaN \n",
"9271 2022-03-15T07:30:00 tot 2022-03-15T21:00:00 \n",
"9272 2022-03-15T07:30:00 tot 2022-03-15T21:00:00 \n",
"9273 NaN \n",
"9274 NaN \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-04-26 14:07:35 +02:00
" Openingstijden 16-03-2022 \\\n",
"0 2022-03-16T10:00:00 tot 2022-03-16T13:00:00 \n",
"1 2022-03-16T07:30:00 tot 2022-03-16T21:00:00 \n",
"2 2022-03-16T07:30:00 tot 2022-03-16T21:00:00 \n",
"3 2022-03-16T07:30:00 tot 2022-03-16T21:00:00 \n",
"4 2022-03-16T07:30:00 tot 2022-03-16T21:00:00 \n",
"... ... \n",
2022-05-03 13:06:50 +02:00
"9270 2022-03-16T07:30:00 tot 2022-03-16T21:00:00 \n",
"9271 2022-03-16T07:30:00 tot 2022-03-16T21:00:00 \n",
"9272 2022-03-16T07:30:00 tot 2022-03-16T21:00:00 \n",
"9273 2022-03-16T07:30:00 tot 2022-03-16T21:00:00 \n",
"9274 2022-03-16T07:30:00 tot 2022-03-16T21:00:00 \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-03 13:06:50 +02:00
" UUID Gemeente CBS gemeentecode \\\n",
"0 3a612b2151fa4ab491b9e331355e6258 Valkenswaard GM0858 \n",
"1 9a01d765af0a467ea37f08d92db114ba Valkenswaard GM0858 \n",
"2 fc5869d33fbc4b06be659149fa615f4c Valkenswaard GM0858 \n",
"3 4427cc0b39e040ba8f75c333f19d66f0 Valkenswaard GM0858 \n",
"4 a893bb9add324ce29769f1c39afcc48d Valkenswaard GM0858 \n",
"... ... ... ... \n",
"9270 f744546cd6894e5e9a4db4bbfd81b4ee Gennep GM0907 \n",
"9271 1270081b1dc74cd7bea0f45973650408 Gennep GM0907 \n",
"9272 447c7742604345139e41def4cf1e4d3c Gennep GM0907 \n",
"9273 049cfd258c174bc49abf17883396d083 Gennep GM0907 \n",
"9274 1e8cbe96e72c4c6ba6303f47bec8cdb5 Gennep GM0907 \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-03 13:06:50 +02:00
" Openingstijden 14-03-2022 van Openingstijden 14-03-2022 tot \\\n",
2022-04-26 14:07:35 +02:00
"0 NaN NaN \n",
"1 NaN NaN \n",
"2 NaN NaN \n",
"3 NaN NaN \n",
2022-05-03 13:06:50 +02:00
"4 2022-03-14T07:30:00 2022-03-14T21:00:00 \n",
2022-04-26 14:07:35 +02:00
"... ... ... \n",
2022-05-03 13:06:50 +02:00
"9270 NaN NaN \n",
"9271 2022-03-14T07:30:00 2022-03-14T21:00:00 \n",
"9272 NaN NaN \n",
"9273 NaN NaN \n",
"9274 NaN NaN \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-03 13:06:50 +02:00
" Openingstijden 15-03-2022 van Openingstijden 15-03-2022 tot \\\n",
"0 NaN NaN \n",
"1 NaN NaN \n",
"2 NaN NaN \n",
"3 NaN NaN \n",
"4 2022-03-15T07:30:00 2022-03-15T21:00:00 \n",
2022-04-26 14:07:35 +02:00
"... ... ... \n",
2022-05-03 13:06:50 +02:00
"9270 NaN NaN \n",
"9271 2022-03-15T07:30:00 2022-03-15T21:00:00 \n",
"9272 2022-03-15T07:30:00 2022-03-15T21:00:00 \n",
"9273 NaN NaN \n",
"9274 NaN NaN \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-03 13:06:50 +02:00
" Openingstijden 16-03-2022 van Openingstijden 16-03-2022 tot \n",
"0 2022-03-16T10:00:00 2022-03-16T13:00:00 \n",
"1 2022-03-16T07:30:00 2022-03-16T21:00:00 \n",
"2 2022-03-16T07:30:00 2022-03-16T21:00:00 \n",
"3 2022-03-16T07:30:00 2022-03-16T21:00:00 \n",
"4 2022-03-16T07:30:00 2022-03-16T21:00:00 \n",
"... ... ... \n",
"9270 2022-03-16T07:30:00 2022-03-16T21:00:00 \n",
"9271 2022-03-16T07:30:00 2022-03-16T21:00:00 \n",
"9272 2022-03-16T07:30:00 2022-03-16T21:00:00 \n",
"9273 2022-03-16T07:30:00 2022-03-16T21:00:00 \n",
"9274 2022-03-16T07:30:00 2022-03-16T21:00:00 \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-11 16:40:11 +02:00
"[8089 rows x 12 columns]"
2022-04-14 15:43:51 +02:00
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 108,
2022-04-13 15:08:29 +02:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
2022-05-03 13:06:50 +02:00
"gdf_wims_times = gdf_wims_dedupe.loc[:, ('Openingstijden 14-03-2022','Openingstijden 15-03-2022','Openingstijden 16-03-2022', 'UUID', 'Gemeente', 'CBS gemeentecode')]\n",
2022-04-26 14:07:35 +02:00
"gdf_wims_split = gdf_wims_times\n",
"gdf_wims_split[['Openingstijden 14-03-2022 van', 'Openingstijden 14-03-2022 tot']] = gdf_wims_times['Openingstijden 14-03-2022'].str.split(' tot ',1 , expand=True)\n",
"gdf_wims_split[['Openingstijden 15-03-2022 van', 'Openingstijden 15-03-2022 tot']] = gdf_wims_split['Openingstijden 15-03-2022'].str.split(' tot ',1 , expand=True)\n",
"gdf_wims_split[['Openingstijden 16-03-2022 van', 'Openingstijden 16-03-2022 tot']] = gdf_wims_split['Openingstijden 16-03-2022'].str.split(' tot ',1 , expand=True)\n",
"\n",
"gdf_wims_split"
2022-04-13 15:08:29 +02:00
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 109,
2022-04-14 15:43:51 +02:00
"metadata": {},
2022-04-13 15:08:29 +02:00
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
2022-04-26 14:07:35 +02:00
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>Openingstijden 14-03-2022</th>\n",
" <th>Openingstijden 15-03-2022</th>\n",
" <th>Openingstijden 16-03-2022</th>\n",
2022-04-20 13:03:38 +02:00
" <th>UUID</th>\n",
2022-05-03 13:06:50 +02:00
" <th>Gemeente</th>\n",
" <th>CBS gemeentecode</th>\n",
2022-04-26 14:07:35 +02:00
" <th>Openingstijden 14-03-2022 van</th>\n",
" <th>Openingstijden 14-03-2022 tot</th>\n",
" <th>Openingstijden 15-03-2022 van</th>\n",
" <th>Openingstijden 15-03-2022 tot</th>\n",
" <th>Openingstijden 16-03-2022 van</th>\n",
" <th>Openingstijden 16-03-2022 tot</th>\n",
2022-04-13 15:08:29 +02:00
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>0</th>\n",
2022-04-13 15:08:29 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T10:00:00 tot 2022-03-16T13:00:00</td>\n",
" <td>3a612b2151fa4ab491b9e331355e6258</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
2022-04-26 14:07:35 +02:00
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>2022-03-16 10:00:00</td>\n",
" <td>2022-03-16 13:00:00</td>\n",
2022-04-13 15:08:29 +02:00
" </tr>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>1</th>\n",
2022-04-14 15:43:51 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00 tot 2022-03-16T21:00:00</td>\n",
" <td>9a01d765af0a467ea37f08d92db114ba</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
2022-04-26 14:07:35 +02:00
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>2022-03-16 07:30:00</td>\n",
" <td>2022-03-16 21:00:00</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>2</th>\n",
2022-04-14 15:43:51 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00 tot 2022-03-16T21:00:00</td>\n",
" <td>fc5869d33fbc4b06be659149fa615f4c</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
2022-04-26 14:07:35 +02:00
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>2022-03-16 07:30:00</td>\n",
" <td>2022-03-16 21:00:00</td>\n",
2022-04-20 13:03:38 +02:00
" </tr>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>3</th>\n",
2022-04-14 15:43:51 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00 tot 2022-03-16T21:00:00</td>\n",
" <td>4427cc0b39e040ba8f75c333f19d66f0</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
2022-04-26 14:07:35 +02:00
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>2022-03-16 07:30:00</td>\n",
" <td>2022-03-16 21:00:00</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-04-26 14:07:35 +02:00
" <th>4</th>\n",
" <td>2022-03-14T07:30:00 tot 2022-03-14T21:00:00</td>\n",
" <td>2022-03-15T07:30:00 tot 2022-03-15T21:00:00</td>\n",
" <td>2022-03-16T07:30:00 tot 2022-03-16T21:00:00</td>\n",
" <td>a893bb9add324ce29769f1c39afcc48d</td>\n",
2022-05-03 13:06:50 +02:00
" <td>Valkenswaard</td>\n",
" <td>GM0858</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-14 07:30:00</td>\n",
" <td>2022-03-14 21:00:00</td>\n",
" <td>2022-03-15 07:30:00</td>\n",
" <td>2022-03-15 21:00:00</td>\n",
" <td>2022-03-16 07:30:00</td>\n",
" <td>2022-03-16 21:00:00</td>\n",
2022-04-13 15:08:29 +02:00
" </tr>\n",
" <tr>\n",
2022-04-14 15:43:51 +02:00
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
2022-05-03 13:06:50 +02:00
" <td>...</td>\n",
" <td>...</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9270</th>\n",
2022-04-14 15:43:51 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00 tot 2022-03-16T21:00:00</td>\n",
2022-05-03 13:06:50 +02:00
" <td>f744546cd6894e5e9a4db4bbfd81b4ee</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
2022-04-26 14:07:35 +02:00
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>2022-03-16 07:30:00</td>\n",
" <td>2022-03-16 21:00:00</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9271</th>\n",
" <td>2022-03-14T07:30:00 tot 2022-03-14T21:00:00</td>\n",
" <td>2022-03-15T07:30:00 tot 2022-03-15T21:00:00</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00 tot 2022-03-16T21:00:00</td>\n",
2022-05-03 13:06:50 +02:00
" <td>1270081b1dc74cd7bea0f45973650408</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
" <td>2022-03-14 07:30:00</td>\n",
" <td>2022-03-14 21:00:00</td>\n",
" <td>2022-03-15 07:30:00</td>\n",
" <td>2022-03-15 21:00:00</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16 07:30:00</td>\n",
" <td>2022-03-16 21:00:00</td>\n",
2022-04-13 15:08:29 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9272</th>\n",
2022-04-13 15:08:29 +02:00
" <td>NaN</td>\n",
2022-05-03 13:06:50 +02:00
" <td>2022-03-15T07:30:00 tot 2022-03-15T21:00:00</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00 tot 2022-03-16T21:00:00</td>\n",
2022-05-03 13:06:50 +02:00
" <td>447c7742604345139e41def4cf1e4d3c</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
2022-04-26 14:07:35 +02:00
" <td>NaT</td>\n",
" <td>NaT</td>\n",
2022-05-03 13:06:50 +02:00
" <td>2022-03-15 07:30:00</td>\n",
" <td>2022-03-15 21:00:00</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16 07:30:00</td>\n",
" <td>2022-03-16 21:00:00</td>\n",
2022-04-13 15:08:29 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9273</th>\n",
2022-04-13 15:08:29 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00 tot 2022-03-16T21:00:00</td>\n",
2022-05-03 13:06:50 +02:00
" <td>049cfd258c174bc49abf17883396d083</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
2022-04-26 14:07:35 +02:00
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>2022-03-16 07:30:00</td>\n",
" <td>2022-03-16 21:00:00</td>\n",
2022-04-14 15:43:51 +02:00
" </tr>\n",
" <tr>\n",
2022-05-03 13:06:50 +02:00
" <th>9274</th>\n",
2022-04-14 15:43:51 +02:00
" <td>NaN</td>\n",
" <td>NaN</td>\n",
2022-04-26 14:07:35 +02:00
" <td>2022-03-16T07:30:00 tot 2022-03-16T21:00:00</td>\n",
2022-05-03 13:06:50 +02:00
" <td>1e8cbe96e72c4c6ba6303f47bec8cdb5</td>\n",
" <td>Gennep</td>\n",
" <td>GM0907</td>\n",
2022-04-26 14:07:35 +02:00
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>NaT</td>\n",
" <td>2022-03-16 07:30:00</td>\n",
" <td>2022-03-16 21:00:00</td>\n",
2022-04-13 15:08:29 +02:00
" </tr>\n",
" </tbody>\n",
"</table>\n",
2022-05-11 16:40:11 +02:00
"<p>8089 rows × 12 columns</p>\n",
2022-04-13 15:08:29 +02:00
"</div>"
],
"text/plain": [
2022-04-26 14:07:35 +02:00
" Openingstijden 14-03-2022 \\\n",
"0 NaN \n",
"1 NaN \n",
"2 NaN \n",
"3 NaN \n",
"4 2022-03-14T07:30:00 tot 2022-03-14T21:00:00 \n",
"... ... \n",
2022-05-03 13:06:50 +02:00
"9270 NaN \n",
"9271 2022-03-14T07:30:00 tot 2022-03-14T21:00:00 \n",
"9272 NaN \n",
"9273 NaN \n",
"9274 NaN \n",
2022-04-13 15:08:29 +02:00
"\n",
2022-04-26 14:07:35 +02:00
" Openingstijden 15-03-2022 \\\n",
"0 NaN \n",
"1 NaN \n",
"2 NaN \n",
"3 NaN \n",
"4 2022-03-15T07:30:00 tot 2022-03-15T21:00:00 \n",
"... ... \n",
2022-05-03 13:06:50 +02:00
"9270 NaN \n",
"9271 2022-03-15T07:30:00 tot 2022-03-15T21:00:00 \n",
"9272 2022-03-15T07:30:00 tot 2022-03-15T21:00:00 \n",
"9273 NaN \n",
"9274 NaN \n",
2022-04-13 15:08:29 +02:00
"\n",
2022-04-26 14:07:35 +02:00
" Openingstijden 16-03-2022 \\\n",
"0 2022-03-16T10:00:00 tot 2022-03-16T13:00:00 \n",
"1 2022-03-16T07:30:00 tot 2022-03-16T21:00:00 \n",
"2 2022-03-16T07:30:00 tot 2022-03-16T21:00:00 \n",
"3 2022-03-16T07:30:00 tot 2022-03-16T21:00:00 \n",
"4 2022-03-16T07:30:00 tot 2022-03-16T21:00:00 \n",
"... ... \n",
2022-05-03 13:06:50 +02:00
"9270 2022-03-16T07:30:00 tot 2022-03-16T21:00:00 \n",
"9271 2022-03-16T07:30:00 tot 2022-03-16T21:00:00 \n",
"9272 2022-03-16T07:30:00 tot 2022-03-16T21:00:00 \n",
"9273 2022-03-16T07:30:00 tot 2022-03-16T21:00:00 \n",
"9274 2022-03-16T07:30:00 tot 2022-03-16T21:00:00 \n",
2022-04-14 15:43:51 +02:00
"\n",
2022-05-03 13:06:50 +02:00
" UUID Gemeente CBS gemeentecode \\\n",
"0 3a612b2151fa4ab491b9e331355e6258 Valkenswaard GM0858 \n",
"1 9a01d765af0a467ea37f08d92db114ba Valkenswaard GM0858 \n",
"2 fc5869d33fbc4b06be659149fa615f4c Valkenswaard GM0858 \n",
"3 4427cc0b39e040ba8f75c333f19d66f0 Valkenswaard GM0858 \n",
"4 a893bb9add324ce29769f1c39afcc48d Valkenswaard GM0858 \n",
"... ... ... ... \n",
"9270 f744546cd6894e5e9a4db4bbfd81b4ee Gennep GM0907 \n",
"9271 1270081b1dc74cd7bea0f45973650408 Gennep GM0907 \n",
"9272 447c7742604345139e41def4cf1e4d3c Gennep GM0907 \n",
"9273 049cfd258c174bc49abf17883396d083 Gennep GM0907 \n",
"9274 1e8cbe96e72c4c6ba6303f47bec8cdb5 Gennep GM0907 \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-03 13:06:50 +02:00
" Openingstijden 14-03-2022 van Openingstijden 14-03-2022 tot \\\n",
2022-04-26 14:07:35 +02:00
"0 NaT NaT \n",
"1 NaT NaT \n",
"2 NaT NaT \n",
"3 NaT NaT \n",
2022-05-03 13:06:50 +02:00
"4 2022-03-14 07:30:00 2022-03-14 21:00:00 \n",
2022-04-26 14:07:35 +02:00
"... ... ... \n",
2022-05-03 13:06:50 +02:00
"9270 NaT NaT \n",
"9271 2022-03-14 07:30:00 2022-03-14 21:00:00 \n",
"9272 NaT NaT \n",
"9273 NaT NaT \n",
"9274 NaT NaT \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-03 13:06:50 +02:00
" Openingstijden 15-03-2022 van Openingstijden 15-03-2022 tot \\\n",
"0 NaT NaT \n",
"1 NaT NaT \n",
"2 NaT NaT \n",
"3 NaT NaT \n",
"4 2022-03-15 07:30:00 2022-03-15 21:00:00 \n",
2022-04-26 14:07:35 +02:00
"... ... ... \n",
2022-05-03 13:06:50 +02:00
"9270 NaT NaT \n",
"9271 2022-03-15 07:30:00 2022-03-15 21:00:00 \n",
"9272 2022-03-15 07:30:00 2022-03-15 21:00:00 \n",
"9273 NaT NaT \n",
"9274 NaT NaT \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-03 13:06:50 +02:00
" Openingstijden 16-03-2022 van Openingstijden 16-03-2022 tot \n",
"0 2022-03-16 10:00:00 2022-03-16 13:00:00 \n",
"1 2022-03-16 07:30:00 2022-03-16 21:00:00 \n",
"2 2022-03-16 07:30:00 2022-03-16 21:00:00 \n",
"3 2022-03-16 07:30:00 2022-03-16 21:00:00 \n",
"4 2022-03-16 07:30:00 2022-03-16 21:00:00 \n",
"... ... ... \n",
"9270 2022-03-16 07:30:00 2022-03-16 21:00:00 \n",
"9271 2022-03-16 07:30:00 2022-03-16 21:00:00 \n",
"9272 2022-03-16 07:30:00 2022-03-16 21:00:00 \n",
"9273 2022-03-16 07:30:00 2022-03-16 21:00:00 \n",
"9274 2022-03-16 07:30:00 2022-03-16 21:00:00 \n",
2022-04-20 13:03:38 +02:00
"\n",
2022-05-11 16:40:11 +02:00
"[8089 rows x 12 columns]"
2022-04-13 15:08:29 +02:00
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 109,
2022-04-13 15:08:29 +02:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
2022-05-03 13:06:50 +02:00
"gdf_wims_split[['Openingstijden 14-03-2022 van','Openingstijden 15-03-2022 van','Openingstijden 16-03-2022 van', 'Openingstijden 14-03-2022 tot', 'Openingstijden 15-03-2022 tot','Openingstijden 16-03-2022 tot']] = gdf_wims_split[['Openingstijden 14-03-2022 van','Openingstijden 15-03-2022 van','Openingstijden 16-03-2022 van','Openingstijden 14-03-2022 tot','Openingstijden 15-03-2022 tot','Openingstijden 16-03-2022 tot']].apply(pd.to_datetime, errors='coerce')\n",
"gdf_wims_split"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 110,
2022-05-03 13:06:50 +02:00
"metadata": {
"scrolled": false
},
"outputs": [],
"source": [
2022-05-04 17:17:54 +02:00
"import datetime as dt\n",
2022-05-11 16:40:11 +02:00
"import numpy as np\n",
2022-05-04 13:24:29 +02:00
"wims_datemerge = pd.DataFrame()\n",
2022-05-03 13:06:50 +02:00
"def datesplit(df, column):\n",
2022-05-11 16:40:11 +02:00
"\n",
2022-05-03 13:06:50 +02:00
" df = df.dropna(subset = ['{} van'.format(column)])\n",
" df1 = df.rename(columns={'{} van'.format(column):'vandate','{} tot'.format(column):'totdate', 'UUID':'UUID'})\n",
" return (pd.concat([pd.Series(r.UUID,pd.date_range(r.vandate, r.totdate, freq='0.5H')) \n",
" for r in df1.itertuples()])\n",
2022-05-04 13:24:29 +02:00
" .rename_axis('Openingstijden')\n",
2022-05-03 13:06:50 +02:00
" .reset_index(name='UUID'))\n",
"def plot_opening(df, label):\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 14 maart groep {}: {}\".format(label, df[df['Openingstijden 15-03-2022 van'].isnull()][df['Openingstijden 16-03-2022 van'].isnull()]['Openingstijden 14-03-2022 van'].count()))\n",
" print(\"Open op 15 maart groep {}: {}\".format(label, df[df['Openingstijden 14-03-2022 van'].isnull()][df['Openingstijden 16-03-2022 van'].isnull()]['Openingstijden 15-03-2022 van'].count()))\n",
" print(\"Open op 16 maart groep {}: {}\".format(label, df[df['Openingstijden 14-03-2022 van'].isnull()][df['Openingstijden 15-03-2022 van'].isnull()]['Openingstijden 16-03-2022 van'].count()))\n",
"\n",
" print(\"Open op 14 én 15 maart groep {}: {}\".format(label, df[df['Openingstijden 16-03-2022 van'].isnull()].dropna(subset=['Openingstijden 15-03-2022 van'])['Openingstijden 14-03-2022 van'].count()))\n",
" print(\"Open op 14 én 16 maart groep {}: {}\".format(label, df[df['Openingstijden 15-03-2022 van'].isnull()].dropna(subset=['Openingstijden 16-03-2022 van'])['Openingstijden 14-03-2022 van'].count()))\n",
" print(\"Open op 15 én 16 maart groep {}: {}\".format(label, df[df['Openingstijden 14-03-2022 van'].isnull()].dropna(subset=['Openingstijden 15-03-2022 van'])['Openingstijden 16-03-2022 van'].count()))\n",
" print(\"Open op 14, 15 én 16 maart groep {}: {}\".format(label, df.dropna(subset=['Openingstijden 16-03-2022 van', 'Openingstijden 15-03-2022 van'])['Openingstijden 14-03-2022 van'].count()))\n",
"\n",
" opening = np.datetime64('2022-03-16 07:30:00')\n",
" closing = np.datetime64('2022-03-16 21:00:00')\n",
"\n",
" #print(df[(df['Openingstijden 16-03-2022 van'] == opening)])\n",
" df_standard = df[(df['Openingstijden 16-03-2022 van'] == opening) & (df['Openingstijden 16-03-2022 tot'] == closing)]\n",
"\n",
" print(\"Aantal stemlokalen open op standaard tijden 16 Maart in staffel {}: {}\".format(label, df_standard['Openingstijden 14-03-2022 van'].count()))\n",
"\n",
2022-05-04 13:24:29 +02:00
" plt.figure(figsize=(13,13))\n",
2022-05-03 13:06:50 +02:00
" wims_datesplit_14 = df.loc[:, ('Openingstijden 14-03-2022 van','Openingstijden 14-03-2022 tot', 'UUID')]\n",
" wims_datesplit_15 = df.loc[:, ('Openingstijden 15-03-2022 van','Openingstijden 15-03-2022 tot', 'UUID')]\n",
" wims_datesplit_16 = df.loc[:, ('Openingstijden 16-03-2022 van','Openingstijden 16-03-2022 tot', 'UUID')]\n",
" wims_datesplit_14 = datesplit(wims_datesplit_14, 'Openingstijden 14-03-2022')\n",
" wims_datesplit_15 = datesplit(wims_datesplit_15, 'Openingstijden 15-03-2022')\n",
" wims_datesplit_16 = datesplit(wims_datesplit_16, 'Openingstijden 16-03-2022')\n",
2022-05-04 13:24:29 +02:00
"\n",
" wims_datesplit_14.reset_index()\n",
" wims_datesplit_15.reset_index()\n",
" wims_datesplit_16.reset_index()\n",
"\n",
" #wims_datesplit_14.info()\n",
" #wims_datesplit_15.info()\n",
" #wims_datesplit_16.info()\n",
"\n",
" \n",
" wims_datestack = pd.concat([wims_datesplit_14, wims_datesplit_15], ignore_index=True)\n",
" wims_datestack = pd.concat([wims_datestack, wims_datesplit_16], ignore_index=True)\n",
" \n",
"\n",
" \n",
"\n",
" wims_datestack.set_index('Openingstijden', drop=False, inplace=True)\n",
"\n",
" #print(wims_datestack['Openingstijden'].unique())\n",
"\n",
" xticks = []\n",
" xticklabels = []\n",
" datetimecount = 0\n",
2022-05-04 16:38:33 +02:00
" for datetime in wims_datestack.groupby(pd.Grouper(freq='30Min'))['Openingstijden'].unique():\n",
" if (datetime.size > 0):\n",
" xticks.append(datetime.ravel()[0])\n",
" if(datetimecount % 6 == 0):\n",
2022-05-04 17:17:54 +02:00
" ts = pd.to_datetime(datetime.ravel()[0])\n",
" #hardcoded for the data, sloppy code, quick fix, only applies to timestamps with 7 minute changes to reality\n",
" if (ts.minute == 7):\n",
" ts = ts - dt.timedelta(minutes=7)\n",
" xticklabels.append(ts.strftime(\"%m-%d %H:%M\"))\n",
2022-05-04 16:38:33 +02:00
" else:\n",
" xticklabels.append(\" \")\n",
2022-05-04 13:24:29 +02:00
" else:\n",
2022-05-04 16:38:33 +02:00
" xticks.append(\"\")\n",
2022-05-04 13:24:29 +02:00
" xticklabels.append(\"\")\n",
" datetimecount += 1\n",
"\n",
"\n",
2022-05-04 16:38:33 +02:00
" wims_datestack.groupby(pd.Grouper(freq='30Min')).count().plot(kind='bar', y='Openingstijden',width=1, figsize=(25, 25), title=\"Openingstijden stemlokalen staffel {} kiesgerechtigden\".format(label)).set_xticklabels(xticklabels, rotation=-45, ha=\"left\", rotation_mode=\"anchor\")\n",
2022-05-09 18:30:16 +02:00
" #TODO: export excel file\n",
2022-05-09 20:02:13 +02:00
" wims_datestack.to_csv(path_or_buf='../data/export/openingstijden_staffel_{}.csv'.format(label), sep=';', na_rep='', header=True, date_format = '%m-%d %H:%M')\n",
"\n",
2022-05-04 13:24:29 +02:00
"\n",
" #wims_datesplit_16.groupby(wims_datesplit_16[\"Openingstijden 16-03-2022\"].dt.hour).count().plot(kind=\"bar\", y='Openingstijden 16-03-2022')\n",
" #wims_datesplit_16.groupby(pd.Grouper(freq='30Min')).count().plot(kind='bar', y='Openingstijden 16-03-2022')\n",
" #wims_datesplit_15.groupby(wims_datesplit_15[\"Openingstijden 15-03-2022\"].dt.hour).count().plot(kind=\"bar\", y='Openingstijden 15-03-2022')\n",
" #wims_datesplit_14.groupby(wims_datesplit_14[\"Openingstijden 14-03-2022\"].dt.hour).count().plot(kind=\"bar\", y='Openingstijden 14-03-2022')\n"
2022-05-03 13:06:50 +02:00
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 137,
2022-05-03 13:06:50 +02:00
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/3807613657.py:7: SettingWithCopyWarning: \n",
2022-05-03 13:06:50 +02:00
"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: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
" df_stemger_clean['binned'] = pd.cut(df_stemger_clean['Kiesgerechtigde bevolking'], bins, labels=labels)\n"
]
}
],
"source": [
2022-05-04 13:24:29 +02:00
"df_stemger = pd.read_excel('../data/Maatwerk_kiesgerechtigd_per_gemeente_def.xlsx', sheet_name='Tabel 1', header=0, skiprows= [0,1,3,5,6,7,344,345])\n",
2022-05-03 13:06:50 +02:00
"df_stemger_clean = df_stemger[df_stemger['gemeentecode'].isin(nl_map_clean['GM_CODE'])]\n",
"\n",
2022-05-11 16:40:11 +02:00
"bins = [0, 10, 30, 60, 100, 350, float(\"inf\")]\n",
2022-05-16 16:11:50 +02:00
"labels = ['0-10.000', '10.000-30.000', '30.000-60.000', '60.000-100.000', '100.000-350.000', '>350.000']\n",
2022-05-03 13:06:50 +02:00
"\n",
"df_stemger_clean['binned'] = pd.cut(df_stemger_clean['Kiesgerechtigde bevolking'], bins, labels=labels)\n"
2022-04-13 15:08:29 +02:00
]
},
{
2022-04-14 15:43:51 +02:00
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 138,
2022-05-11 16:40:11 +02:00
"metadata": {},
"outputs": [],
"source": [
"def filter_binned(df1, df2):\n",
" return df1[df1['CBS gemeentecode'].isin(df2['gemeentecode'])]"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 139,
2022-05-04 13:24:29 +02:00
"metadata": {
"scrolled": false
},
2022-04-14 15:43:51 +02:00
"outputs": [
2022-05-11 16:40:11 +02:00
{
"name": "stderr",
"output_type": "stream",
"text": [
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/247769849.py:13: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 14 maart groep {}: {}\".format(label, df[df['Openingstijden 15-03-2022 van'].isnull()][df['Openingstijden 16-03-2022 van'].isnull()]['Openingstijden 14-03-2022 van'].count()))\n",
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/247769849.py:14: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 15 maart groep {}: {}\".format(label, df[df['Openingstijden 14-03-2022 van'].isnull()][df['Openingstijden 16-03-2022 van'].isnull()]['Openingstijden 15-03-2022 van'].count()))\n",
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/247769849.py:15: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 16 maart groep {}: {}\".format(label, df[df['Openingstijden 14-03-2022 van'].isnull()][df['Openingstijden 15-03-2022 van'].isnull()]['Openingstijden 16-03-2022 van'].count()))\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Open op 14 maart groep 0-10.000: 0\n",
"Open op 15 maart groep 0-10.000: 3\n",
"Open op 16 maart groep 0-10.000: 95\n",
"Open op 14 én 15 maart groep 0-10.000: 0\n",
"Open op 14 én 16 maart groep 0-10.000: 4\n",
"Open op 15 én 16 maart groep 0-10.000: 6\n",
"Open op 14, 15 én 16 maart groep 0-10.000: 24\n",
"Aantal stemlokalen open op standaard tijden 16 Maart in staffel 0-10.000: 28\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/247769849.py:13: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 14 maart groep {}: {}\".format(label, df[df['Openingstijden 15-03-2022 van'].isnull()][df['Openingstijden 16-03-2022 van'].isnull()]['Openingstijden 14-03-2022 van'].count()))\n",
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/247769849.py:14: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 15 maart groep {}: {}\".format(label, df[df['Openingstijden 14-03-2022 van'].isnull()][df['Openingstijden 16-03-2022 van'].isnull()]['Openingstijden 15-03-2022 van'].count()))\n",
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/247769849.py:15: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 16 maart groep {}: {}\".format(label, df[df['Openingstijden 14-03-2022 van'].isnull()][df['Openingstijden 15-03-2022 van'].isnull()]['Openingstijden 16-03-2022 van'].count()))\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Open op 14 maart groep 10.000-30.000: 5\n",
"Open op 15 maart groep 10.000-30.000: 4\n",
"Open op 16 maart groep 10.000-30.000: 1804\n",
"Open op 14 én 15 maart groep 10.000-30.000: 5\n",
"Open op 14 én 16 maart groep 10.000-30.000: 13\n",
"Open op 15 én 16 maart groep 10.000-30.000: 21\n",
"Open op 14, 15 én 16 maart groep 10.000-30.000: 413\n",
"Aantal stemlokalen open op standaard tijden 16 Maart in staffel 10.000-30.000: 421\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/247769849.py:13: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 14 maart groep {}: {}\".format(label, df[df['Openingstijden 15-03-2022 van'].isnull()][df['Openingstijden 16-03-2022 van'].isnull()]['Openingstijden 14-03-2022 van'].count()))\n",
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/247769849.py:14: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 15 maart groep {}: {}\".format(label, df[df['Openingstijden 14-03-2022 van'].isnull()][df['Openingstijden 16-03-2022 van'].isnull()]['Openingstijden 15-03-2022 van'].count()))\n",
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/247769849.py:15: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 16 maart groep {}: {}\".format(label, df[df['Openingstijden 14-03-2022 van'].isnull()][df['Openingstijden 15-03-2022 van'].isnull()]['Openingstijden 16-03-2022 van'].count()))\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Open op 14 maart groep 30.000-60.000: 3\n",
"Open op 15 maart groep 30.000-60.000: 8\n",
"Open op 16 maart groep 30.000-60.000: 1901\n",
"Open op 14 én 15 maart groep 30.000-60.000: 6\n",
"Open op 14 én 16 maart groep 30.000-60.000: 11\n",
"Open op 15 én 16 maart groep 30.000-60.000: 12\n",
"Open op 14, 15 én 16 maart groep 30.000-60.000: 337\n",
"Aantal stemlokalen open op standaard tijden 16 Maart in staffel 30.000-60.000: 346\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/247769849.py:13: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 14 maart groep {}: {}\".format(label, df[df['Openingstijden 15-03-2022 van'].isnull()][df['Openingstijden 16-03-2022 van'].isnull()]['Openingstijden 14-03-2022 van'].count()))\n",
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/247769849.py:14: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 15 maart groep {}: {}\".format(label, df[df['Openingstijden 14-03-2022 van'].isnull()][df['Openingstijden 16-03-2022 van'].isnull()]['Openingstijden 15-03-2022 van'].count()))\n",
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/247769849.py:15: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 16 maart groep {}: {}\".format(label, df[df['Openingstijden 14-03-2022 van'].isnull()][df['Openingstijden 15-03-2022 van'].isnull()]['Openingstijden 16-03-2022 van'].count()))\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Open op 14 maart groep 60.000-100.000: 3\n",
"Open op 15 maart groep 60.000-100.000: 1\n",
"Open op 16 maart groep 60.000-100.000: 796\n",
"Open op 14 én 15 maart groep 60.000-100.000: 1\n",
"Open op 14 én 16 maart groep 60.000-100.000: 0\n",
"Open op 15 én 16 maart groep 60.000-100.000: 5\n",
"Open op 14, 15 én 16 maart groep 60.000-100.000: 176\n",
"Aantal stemlokalen open op standaard tijden 16 Maart in staffel 60.000-100.000: 175\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/247769849.py:13: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 14 maart groep {}: {}\".format(label, df[df['Openingstijden 15-03-2022 van'].isnull()][df['Openingstijden 16-03-2022 van'].isnull()]['Openingstijden 14-03-2022 van'].count()))\n",
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/247769849.py:14: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 15 maart groep {}: {}\".format(label, df[df['Openingstijden 14-03-2022 van'].isnull()][df['Openingstijden 16-03-2022 van'].isnull()]['Openingstijden 15-03-2022 van'].count()))\n",
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/247769849.py:15: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 16 maart groep {}: {}\".format(label, df[df['Openingstijden 14-03-2022 van'].isnull()][df['Openingstijden 15-03-2022 van'].isnull()]['Openingstijden 16-03-2022 van'].count()))\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Open op 14 maart groep 100.000-350.000: 11\n",
"Open op 15 maart groep 100.000-350.000: 8\n",
"Open op 16 maart groep 100.000-350.000: 1199\n",
"Open op 14 én 15 maart groep 100.000-350.000: 0\n",
"Open op 14 én 16 maart groep 100.000-350.000: 0\n",
"Open op 15 én 16 maart groep 100.000-350.000: 0\n",
"Open op 14, 15 én 16 maart groep 100.000-350.000: 199\n",
"Aantal stemlokalen open op standaard tijden 16 Maart in staffel 100.000-350.000: 197\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/247769849.py:13: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 14 maart groep {}: {}\".format(label, df[df['Openingstijden 15-03-2022 van'].isnull()][df['Openingstijden 16-03-2022 van'].isnull()]['Openingstijden 14-03-2022 van'].count()))\n",
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/247769849.py:14: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 15 maart groep {}: {}\".format(label, df[df['Openingstijden 14-03-2022 van'].isnull()][df['Openingstijden 16-03-2022 van'].isnull()]['Openingstijden 15-03-2022 van'].count()))\n",
2022-05-16 16:11:50 +02:00
"/tmp/ipykernel_4306/247769849.py:15: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
2022-05-11 16:40:11 +02:00
" print(\"Open op 16 maart groep {}: {}\".format(label, df[df['Openingstijden 14-03-2022 van'].isnull()][df['Openingstijden 15-03-2022 van'].isnull()]['Openingstijden 16-03-2022 van'].count()))\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
2022-05-16 16:11:50 +02:00
"Open op 14 maart groep >350.000: 0\n",
"Open op 15 maart groep >350.000: 0\n",
"Open op 16 maart groep >350.000: 863\n",
"Open op 14 én 15 maart groep >350.000: 0\n",
"Open op 14 én 16 maart groep >350.000: 0\n",
"Open op 15 én 16 maart groep >350.000: 0\n",
"Open op 14, 15 én 16 maart groep >350.000: 152\n",
"Aantal stemlokalen open op standaard tijden 16 Maart in staffel >350.000: 151\n"
2022-05-11 16:40:11 +02:00
]
},
2022-04-14 15:43:51 +02:00
{
"data": {
"text/plain": [
2022-05-04 13:24:29 +02:00
"<Figure size 936x936 with 0 Axes>"
2022-04-14 15:43:51 +02:00
]
},
"metadata": {},
2022-05-03 13:06:50 +02:00
"output_type": "display_data"
2022-04-14 15:43:51 +02:00
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image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n69kfuLB5jfCXJCzO74/bqqnpnrWMqi40871Vzvr95Osf8ZT8yjsyud+01Tne3X5vZnZxrvDDJmWOMz61ZUFW7VNVfVNU3quo7mU1psXtN03wsMP4/mTP26zK7+3juOeY/7wuNNZndXfqgJF+sqn+tqietY7tU1T7T43r5NMZ35LZ/RNmQjRn3Qm6cvu42Z9luSW6YxvWmafqFG6vqdzdiHDfOO9Ztjrcp596IY81fv+b7hc61xgsz7/Uxz96Z3Tl8wZzH8u+m5cm637sbes/fP8mL5v3uue+037q2P27e9o/O7HfdfZNcN00jspBr5/1hbn2v0fnm/065bN66+dc4/3fOhq5xY987AMCdkOAMAGxt/5LZ3XLHzl1YVT+W2d1+H56z+L5z1t8lyX6ZzTd7WWZ31+4+579dxxhPbB7rlUnuM296irVjGmPcMMZ40RjjAUl+Icn/qKoj1qzexPPcd87P95vz/WWZPV57zbnW3cYYmzVVwhjjr8cYj84sKo3Mph1YaLyt553niun8SdY+93smuXzONsclOaaqXjhn2Ysyu8PzkWM2vcWaKS0Wmnv5siS/Nu81crcxxsc3dbBjjC+P2fQX+2T2eJ09jXmh5/jV0/JDpjE+cx3jW5fNGvcULa/Mbe/kf0imDygcY5w4ZtMv3H2M8aqNGMfFSQ6Z99o/JLf9wMONOvdGHOviBfa9aoxx7XrGt9DrY65rMvuDx0FzHsd7jDHuPo15Xe/d9b7nM3t+Xjnv+dlljDF32pP5sfqv5m3/Y2OMk6d196xpju9NtKHfL1dm9vtyoWtY6Brn/87Z0DUCAKyT4Aw
2022-04-20 13:03:38 +02:00
"text/plain": [
2022-05-04 13:24:29 +02:00
"<Figure size 1800x1800 with 1 Axes>"
2022-04-20 13:03:38 +02:00
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
2022-04-26 14:07:35 +02:00
},
2022-04-13 15:08:29 +02:00
{
2022-04-20 13:03:38 +02:00
"data": {
"text/plain": [
2022-05-04 13:24:29 +02:00
"<Figure size 936x936 with 0 Axes>"
2022-05-03 13:06:50 +02:00
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAABcUAAAW0CAYAAAAHKWtxAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAABnAklEQVR4nOzdfbxmdV3v//dHQEYTlBBMRQUNTSCkGJGT6cFIJfWEYiodNTANbzL1l+dXZnmyFG/K0kzRo6lIUQoooaYVR7NELRsMRLwLFWUEuTMUBRXG7/ljrRk3w957bhhmgM/z+Xjsx75mrXWt9b2ua+/rAa9r7e+qMUYAAAAAAKCDW23rAQAAAAAAwNYiigMAAAAA0IYoDgAAAABAG6I4AAAAAABtiOIAAAAAALQhigMAAAAA0IYoDgDcIlTVuVV1yFY+5t2r6ttVtd387w9U1VFLbLtnVY2q2n5rjvHGVFXHV9VLN3LbUVU/vhnH+HBVPW3TR7f1VNV9quo/qurKqnpOVd2mqt5bVd+sqpM34v6b9dyw5S3387bc7/fNzab+zFXVG6vqRZt5rKOr6ozNuS8AwI1FFAcAtpg5fpxTVVdV1der6g1VdYetcewxxr5jjA/fmMeoqvOr6ucXHPOrY4zbjTHWzP/+hTHG22/MMWyKqnpxVf3Vth7HzclmfnjxW0k+PMbYaYzx2iS/lOROSXYdYzzuBo7n8VX1sfl36sOLrD+gqs6c159ZVQcss68dq+qtVfWt+ffzNzdlX1X1/833++a8nx2XOdaRVfX5edtLqurtVbXzgvU/WlWnVtV3quorVfU/N/A8LHnsDe2rqg6tqs/Nj+ufquoeyx1rKTe13+8by2IRe4zxjDHGS7bVmAAAtjRRHADYIqrq+UlemeT/T3L7JAcnuUeS06vq1ttybHAju0eSc9f79xfGGNdugX1/I8lrkrxi/RXz79VpSf4qyS5J3p7ktGV+316cZO95fA9J8ltVddjG7KuqHp7kBUkOTbJnknsm+YNlxv3RJA8cY9x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hzfq8aY3wm0+/2Wo/K9IHW28YY144xPpnkXbnuB2qnjTE+Osb4QZKfzPLvmU9L8ntjjM+PydljjMsX7Gtjf1fW9/gkb5vP3L8qC6ayWfAY//f8HvPpzXiM7x5jfGJ+Xk/chHEBAGw0URwA2BIuS3LHWvzihHee1691wdobc9hZnekM1nskuUtN03ZcMf/Z/gtz3RD89QW3r0qyYoljLrftXZJ8bb3QfcGC23+c6ezEf6xp+pAXLLH/DbnLevv9yoLb90iyQ5KLFjzW/5PpzMnrjX8OT8kPw2YWrDsvyfMynbl8SVW9o5aYtmQjj3vxgttXz8dYf9n1xpHp8a57jPNfCVye6QzWtZ6X5KQxxjlrF1TVbavq/9R0gcRvZZq+5A61+HzJ90jyZwvG/o1MZ3EvPMb6r/tiY02Sp2Y6k/dz8zQWj1piu1TV7vPz+rV5jH+V637QsyEbM+7N8e1MZwAvtHOmM7MX23bt+sW23dC+1l+/9vaVVfXEeaqNb1fVB9Y/8Bjja0n+Pj/8y4FNGfeyx96McW/oWMn0Ac/XkpyyzDZLvqZjjA9l+muH1ye5uKreVNMUU7tl+kBu4fvCBevt8wHrvQc+MdNZ5Uttv9x75t0ynRW/lI39XVnf+u9tC28v9hjXf+/b0GPc3HEBAGw0URwA2BI+nuR7maYSWGf+U/lfSPLBBYvvtmD9rTKdRXphpojy5THGHRZ87TTGeMQWHutFSe663lQk68Y0xrhyjPH8McY9k/yPJL9ZVYeuXb2Jx1k4f+/dF9y+INPzdccFj3XnMcayUzosZYzx12OMn80UnEamC54uNt4tetz1XDgfP8m6137XTHFxrccleXRVPW/
2022-05-03 13:06:50 +02:00
"text/plain": [
2022-05-04 13:24:29 +02:00
"<Figure size 1800x1800 with 1 Axes>"
2022-05-03 13:06:50 +02:00
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": [
2022-05-04 13:24:29 +02:00
"<Figure size 936x936 with 0 Axes>"
2022-05-03 13:06:50 +02:00
]
},
"metadata": {},
"output_type": "display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x+aMe2Pn3txxb+xcSXJQkg8n+c0xxhuX2Wel5/S6+fj3TlLzPpfU9BcHj56Pe80Y41OZfrfXe0SmN5D+dIxx/Rjj40nemRu+gXXmGOMfxxjfS/KjWfk18ylJ/vc8m36MMc4bY1y54Fib+ruy2GOT/Ok8M/2aLFgaZcF9/D/za8wnt+A+vmuM8bH5cT11M8YFANyMidAAwNZwRZI71NIf5nan+fr1Llp/YQ4pazNFqrsluXNNy0BcNf8Z+Atyw/D61QWXr0my2zLnXGnfOyf5yqKwfNGCy7+bafbd39a0HMXzljn+xtx50XG/tODy3ZLskuSSBff1/2aaGfh9459DT/JfITELrvtskudkmpl7WVW9vZZZBmMTz3vpgsvXzudYvO37xpHp/m64j/Ms+CszzdBc7zlJThtjnL9+Q1Xduqr+b00fKPeNTMth3L6WXu/2bkn+cMHYv5ZplvLCcyx+3pcaa5I8OdNM1U/PyyI8Ypn9UlX7zI/rV+Yxvi03fGNlYzZl3CuaI+K/ZXr810e/b2aa4brQHkmuXuIQ31xw/VL7buxYi69ff/nqqnr8vHTDN6vqA/P2azO9EfSBMcZ3k7wq0+z6+2zmuFc89xaMe2PnSqY3VL6S5IwV9ln2OR1jfCjTbP7XJrm0qt5Y05JFe2d6A2zh68JFi455/0WvgY/PNGt6uf1Xes28a6ZZ38vZ1N+VxRa/ti28vNR9XPzat7H7uKXjAgBuxkRoAGBr+GiS72T60/QN5j+9/pkkH1yw+a4Lrr9FphmTF2eKFl8YY9x+wdfuY4yHb+WxXpLkLouWttgwpjHG1WOM544x7p7kfyT5tao6ev3Vm3meheuv7rfg8kWZHq87LLive4wxVlw
2022-05-03 13:06:50 +02:00
"text/plain": [
2022-05-04 13:24:29 +02:00
"<Figure size 1800x1800 with 1 Axes>"
2022-05-03 13:06:50 +02:00
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": [
2022-05-04 13:24:29 +02:00
"<Figure size 936x936 with 0 Axes>"
2022-05-03 13:06:50 +02:00
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAABaMAAAW0CAYAAADb0B9GAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAABkjElEQVR4nOzde7ymZV33/e9PQEYTE9mYiAomWkBIOiJlelO4IfUOwkieR70Z08i01Pv2KXf1ZBvUyrKNYrkFb0kE1HBTGY/mnbTRBgUVcINbRlEGDEVBhPF4/jjPmRbDmmFmrfnJDLzfrxevudZ5ntd5Hte11nXp67OOdVw1xggAAAAAAHS63S09AAAAAAAAbv3EaAAAAAAA2onRAAAAAAC0E6MBAAAAAGgnRgMAAAAA0E6MBgAAAACgnRgNAOyQqurCqjri+3zNe1XVt6pqp/nrv6+qEzZx7H5VNapq5+/nGDtV1SlV9QdbeOyoqvsu4RofqKqnbf3ovn+q6v5V9dGqurqqnlVVd6iqd1XVN6rqzC24/5KeG76/Nvca3vi9YEdWVauq6tytvM+3quo+S7zedv8aBwD6iNEAwJLNEePjVXVNVX21ql5dVXf5flx7jHHQGOMDndeoqi9U1SMWXPNLY4w7jTHWzV//7Bjj1M4xbI2qenFVvfmWHseOZIm/NPjNJB8YY+w2xviLJL+Q5G5J9hhjHLcNxvSIqvpIVX27qi6tql9csO/Qqjpvfs2dV1WHbuY8u1bVG6rqm/Pr839ttH+z56qq/znf7xvzeXbdzLUOrqr3VtUVVTUW2X/XqnrH/Ji+WFX/90b7j6yqT85j+aequvdmrrXkc9XkD6vqyvm/P6qq2tS1NmXj94Jbs8Xi8fzYP3dLjQkA2HGJ0QDAklTVc5P8YZLfSPKDSQ5Pcu8k51TV7W/JsUGzeye5cKOvPz3GuGG5J66qA5P8TZIXZXpdHZrkvHnf7ZOcneTNSXZPcmqSszfzentxkgPm8f10kt+sqqO25FxV9egkz09yZJL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3b8lyLPa473cxs2+dkWo7oiDHGJRvv3ILX2fWZfvmyzxjjO/Ns7iR5TKZZ3G+ff07+IslXF5x6S36OXjrG+PoY49pMvxD76zHGh8YY68a0nv11md4DD8v0y4nfmMe4cBzJlr//bPzYd8r0s/o782v6ovn+6z0myUUL/jfgz5bwGLf0NQ4A7ADEaABgKa5Ismctvk7p3ef96126/sYY43uZZiHvkznOzH9OflVVXZVphtzCALIwWlyTZMUmrrm5Y/dJ8uWNAvOlC27/cZJLkvxjTctUPH8T5785+2x03i8uuH3vJLskuWzBY/3rJHsvNv4xxjXzzZvMSJ5j2HMyzdS9vKpOr00sj7GF1/3agtvXztfYeNtNxpHp8W54jPOs+Cszzbhc7zlJzhhjfHz9hqq6Y1X9dU0fPPfNTMtk3GX9kgaLjP/PF4z965lmLS+8xsbf98XGmkxrGd8vySfnpQQet4njUlV7z8/rl+cxvjk3/gXLzdmScW/KtUneOMb49PycviRT0EuSbyW580bH3znJ1Yuc51sL9i927M2da+P9629fXVVPnJds+FZV/f0WPKatvdbG+7fluRZ7XN+6mV9A/UaSV40x1mxi/829zn4z0/f/wzUtIfRL8/YbvWfMY1h4jS35Obp0o+Ofu9F76j3n69wzU3De1LrmW/T+s4i9Mv2yb+E4Ft5e7DFuPOZt9RoHAHYAYjQAsBT/lmnG3bELN9a0nuvPJnnfgs33XLD/dplmfn4lU5D4/BjjLgv+222M8ZhsW5clucdGMx83jGmMcfUY47ljjPsk+e9J/ldVHbl+91Ze554Lvr7XgtuXZnq+9lzwWO88xrjZ5QEWM8b4mzHGT2UKOSPT8gGLjXebXncjX5mvn2TD936PJF9ecMx
2022-05-03 13:06:50 +02:00
"text/plain": [
2022-05-04 13:24:29 +02:00
"<Figure size 1800x1800 with 1 Axes>"
2022-05-03 13:06:50 +02:00
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": [
2022-05-04 13:24:29 +02:00
"<Figure size 936x936 with 0 Axes>"
2022-05-03 13:06:50 +02:00
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAABaMAAAW0CAYAAADb0B9GAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAABokUlEQVR4nOzdf9yldV3n8fdHQEYTFAVcBRU0dANCViYiS5ciFX8khKm0auDqkj9K23U3f21pm6iVrWaFrb9CV1IRNUyzJM1NSrNBQUTRUFQGUAYIRUGE8bt/XNfgYbhnmF8fZgafz8eDx9z3dV3nur7n3Pc5+njd3/M9NcYIAAAAAAB0ut3WHgAAAAAAALd9YjQAAAAAAO3EaAAAAAAA2onRAAAAAAC0E6MBAAAAAGgnRgMAAAAA0E6MBgC2G1V1XlUdfitf895V9e2q2mH+/oNVddw6jt2nqkZV7XhrjrFTVZ1cVS/bwGNHVf3oJlzjo1X19I0f3a2nqh5QVZ+uqqur6jlVdYeq+quq+mZVvWsDbr9Jjw3blqp6aVW9bR37XlRVb7y1x9RhY5+TVfWkqvrQJl7rNve6CQCsmxgNAGyUqjq+qs6tqmuq6utV9bqqusutce0xxgFjjI92XqOqvlJVP79wza+NMe40xlg9f//IMcZbOsewMdYXx1jaJsav30zy0THGLmOM1yb5pSR3T3K3McbjN3M8T6iqf5qfUx9dYv/BVXXWvP+sqjp4rf3/dX4ufrOq3lxVO6/nWpt8rqq6a1W9t6q+U1Vfrar/dAv3621VdWlVfauqvrgYNxd+Bt9e+O+3FvZXVf1eVV0x//f7VVXrudYRVXX+fL/+vqrus6Hnmsfy9/Ntz198/m+MMcbLxxjb9B9VtoSlnj9jjFPGGA/fmuMCALYPYjQAsMGq6nlJfi/J/0hy5ySHJblPkjOq6vZbc2zQ7D5Jzlvr+y+OMW7YAue+Mslrkrxy7R3z8+r0JG9LsluStyQ5fc3zraoekeQFSY5Isk+S+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WWtmSl+e6fXgPkkOmY85ZT1j/WaSO60jOm7K/Vpzrk25X7sm+ZtMwfupa9aTX8uTk/z1/Pr0/THGGZmWD3nUvP/7SQ6sqjuMMS4dY6xZAuYJmf6AsnKenX7j0i0b+Ny+ZIzxx/Pv4Hczhd//Osa4cn7uvXzh+Kdlej6fMY/x4jHG+Qvn+vMxxhfHGNdm+kPOwet5TBY9KtNM9ffM43htkq8v7L+1XjcBgG2QGA0AbKjLk+xeS69Deo95/xoXrflijPH9TLOQ75kpPN1zftv6VVV1VabZpIshYTFaXJNk2Tquub5j75nk4rUC80ULX/9BkguSfGh+q/wL1nH+W3LPtc771YWv75NkpySXLtzX/5NpluHNxj/GuGb+8mYzkscYFyT5jUwzdS+rqnfUOpbH2MDrfmPh62vna6y97WbjyHR/b7yP86z4KzLNtlzjN5KcOsY4d82GqrpjVf2fmj707luZ3uZ/lzVvvV9i/H+0MPYrM81aXrzG2j/3pcaaTLHt/knOr6p/qarHrOO4VNWe8+N68TzGt+Wmf2C5JRsy7k3x7Uzxc9GuSa5ex/41X1+dm9ucc633tlX1wfrBBxE+afGgMcbqMS3rsXeSZ87bvj3GWDHGuGH+3fu1JA+vaTmgdY3l2+v4o9Gm3K8157ql2y7lsExrT79yPX/Euk+Sx6/1WvczSe4xz9x+YpJnZHqefqB+sKTI2q8pF611zlt6bi8ev0eSOyY5a+H4v5m3J9MfoZb8o9ZsQ59na7vJfZgfo5Xr2p+m100AYNskRgMAG+rjmWY1HrO4cX7L+SOTfHhh870W9t8uU4S6JFOAuHCMcZeF/3YZYzwqW9alSfZaaxbljWMaY1w9xnjeGOO+SX4hyX+rqiPW7N7
2022-05-03 13:06:50 +02:00
"text/plain": [
2022-05-04 13:24:29 +02:00
"<Figure size 1800x1800 with 1 Axes>"
2022-05-03 13:06:50 +02:00
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": [
2022-05-04 13:24:29 +02:00
"<Figure size 936x936 with 0 Axes>"
2022-05-03 13:06:50 +02:00
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
2022-05-16 16:11:50 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAABaEAAAW0CAYAAADfJc97AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAABjqElEQVR4nOzde7ymdV3v//dHQEYSFRFMQAUNSSAkRSRLo/BA6g7DPLTVGNPwUGltd4W5+4UVauXe2gndHsEthYAaakfCLOmgDQoqIIlHBlBGjERBhPH7++O6Zlwu1wwzs+bDjPB8Ph481lrXfd3X9b2PDx6v+zvfu8YYAQAAAACADnfY1gMAAAAAAOC2S4QGAAAAAKCNCA0AAAAAQBsRGgAAAACANiI0AAAAAABtRGgAAAAAANqI0ADA7V5VXVRVR97K57xPVX21qnaY//7rqjpuA/vuW1Wjqna8NcfYqapOqarf3cR9R1V93xac4/1V9ZzNH92tp6oOqKqPVNV1VfXCqrpTVb2nqv6rqs7chOtv0X1zW1dVK6vqvA1c9vSq+rtbe0wdNud1NO//iKq6dBnn83wDALaICA0AbBfmaPSxqrq+qr5QVa+tqrvdGuceYxw0xnh/5zmq6rNV9agF5/z8GOPOY4y1898/McY4tXMMm6OqTqyqt23rcXw32cIPC34tyfvHGLuOMf4oyU8nuWeS3ccYT24Z6CJV9ftVdXlVfaWqPldVL110+aiqr80fmny1qt646PJfmV+z/1VVb66qnTdyrkOr6vz5dX5+VR26qceqqrtX1bvmsXyuqv77ltzeMcZpY4zHbMl1v9ssjsZjjA+MMQ7YlmMCAG6fRGgAYJurqhcn+b0kv5rkrkmOSHLfJOdU1R235dig2X2TXLTo7/8YY9y83ANX1T03cdc3Jfn+McZdkjw8yX+vqmMX7fOg+UOTO48x1s8ur6rHJjkhyVFJ9k1yvyQv28B47pjk7CRvS7JbklOTnL3uNb4Jx/rTJN/IFOmfnuS1VXXQ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L83Hx5vv218s0kvzU/L27I9Di/dIyxen4NnJjkp+f7+elJ/n6M8efz+8o1Y4wLFhzrnWOMD83Pj9Oy4eftYrf0frbuNn58nil/4mbexpsyvf5vGmP8VZKvJrEeNQDcTonQAMC29qUk96il10W913z5Opev+2WM8c1Mszb3yjSbcK/5n6pfW1XXZpo9ujC8fmHB79cnWbGBc25s372SXLEoLF++4Pc/yDQT8e9qWo7ihA0c/5bstei4n1vw+30zxbWrFtzW/5tpFud3jH9BePuOGchjjMsyRckTk1xdVafXBpbB2MTzfnHB7zfM51i87TvGken2rr+N8yz4azLNoFznl5OcMcb42LoNVbVLVf3fmr6k7iuZlsO4W81LhCwx/j9cMPYvZ5qlvPAcix/3pcaaTLM6H5DkE1X171X1hA3sl6rac75fr5jH+LZ8+wcrt2RTxn2L5kj40UwzaHfKEjFwTD6S6XF62YLt/zR/uHNtkhcl2S/TrO5kCot3WXCYdb9ft8QwFu+7bv/rNnD5wmPd0nWX8n2Z/vXEy8YY39jAPvdN8rBF7x1PzzSLN5mWAHlcks9V1T9W1Q/N2xe/Rhf+vkeSXZKcv+CYfzNvX2fNGOPri8bxrgX7X5LpQ6J7ZvowZ8kPh2ab+rxd7Jbezzb2PrQpt/GaRR8ubs7YAIDbGBEaANjW/jXJjZmWG1hv/mfyP5Hk3AWb773g8jtkmt15ZaZQ8pkxxt0W/LfrGONxW3msVyXZe9HSFuvHNMa4bozx4jHG/ZL8tyT/o6qOWnfxZp7n3gv+vs+C3y/PdH/dY8FtvcsYY4u+oG2M8WdjjB/JFMFGpn9iv9R4t+p5F7lyPn+S9Y/97kmuWLDPk5M
2022-05-03 13:06:50 +02:00
"text/plain": [
2022-05-04 13:24:29 +02:00
"<Figure size 1800x1800 with 1 Axes>"
2022-04-20 13:03:38 +02:00
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
2022-04-13 15:08:29 +02:00
}
],
"source": [
2022-05-09 18:30:16 +02:00
"def make_graphs_opening(label):\n",
2022-05-11 16:40:11 +02:00
" df_stemger_label = df_stemger_clean[df_stemger_clean['binned'].str.fullmatch(label)]\n",
2022-05-09 18:30:16 +02:00
" #df_stemger_label.head()\n",
2022-05-03 13:06:50 +02:00
" graph_wims = filter_binned(gdf_wims_dedupe, df_stemger_label)\n",
" graph_wims_split = filter_binned(gdf_wims_split, df_stemger_label)\n",
" plot_opening(graph_wims_split, label)\n",
" \n",
2022-05-09 18:30:16 +02:00
" \n",
"for label in labels:\n",
" make_graphs_opening(label)"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 140,
2022-05-09 18:30:16 +02:00
"metadata": {},
"outputs": [
2022-05-11 16:40:11 +02:00
{
"name": "stdout",
"output_type": "stream",
"text": [
"Staffel: 0-10.000\n",
"bijeenkomstfunctie 82\n",
"kantoorfunctie 23\n",
"sportfunctie 22\n",
"woonfunctie 15\n",
"overige gebruiksfunctie 12\n",
"onderwijsfunctie 10\n",
"gezondheidszorgfunctie 6\n",
"winkelfunctie 3\n",
"industriefunctie 1\n",
"Name: Gebruiksdoel van het gebouw, dtype: int64\n",
"Staffel: 10.000-30.000\n",
"bijeenkomstfunctie 1369\n",
"sportfunctie 415\n",
"kantoorfunctie 259\n",
"onderwijsfunctie 243\n",
"woonfunctie 211\n",
"overige gebruiksfunctie 89\n",
"gezondheidszorgfunctie 78\n",
"industriefunctie 38\n",
"winkelfunctie 36\n",
"logiesfunctie 33\n",
"Name: Gebruiksdoel van het gebouw, dtype: int64\n",
"Staffel: 30.000-60.000\n",
"bijeenkomstfunctie 1414\n",
"sportfunctie 384\n",
"onderwijsfunctie 268\n",
"kantoorfunctie 203\n",
"woonfunctie 181\n",
"overige gebruiksfunctie 108\n",
"gezondheidszorgfunctie 100\n",
"industriefunctie 51\n",
"winkelfunctie 34\n",
"logiesfunctie 26\n",
"celfunctie 1\n",
"Name: Gebruiksdoel van het gebouw, dtype: int64\n",
"Staffel: 60.000-100.000\n",
"bijeenkomstfunctie 531\n",
"sportfunctie 161\n",
"onderwijsfunctie 141\n",
"woonfunctie 82\n",
"kantoorfunctie 80\n",
"gezondheidszorgfunctie 43\n",
"overige gebruiksfunctie 39\n",
"industriefunctie 21\n",
"winkelfunctie 19\n",
"logiesfunctie 7\n",
"celfunctie 1\n",
"Name: Gebruiksdoel van het gebouw, dtype: int64\n",
"Staffel: 100.000-350.000\n",
"bijeenkomstfunctie 667\n",
"onderwijsfunctie 298\n",
"sportfunctie 239\n",
"kantoorfunctie 138\n",
"woonfunctie 115\n",
"overige gebruiksfunctie 60\n",
"gezondheidszorgfunctie 55\n",
"industriefunctie 41\n",
"winkelfunctie 29\n",
"logiesfunctie 12\n",
"celfunctie 1\n",
"Name: Gebruiksdoel van het gebouw, dtype: int64\n",
2022-05-16 16:11:50 +02:00
"Staffel: >350.000\n",
2022-05-11 16:40:11 +02:00
"bijeenkomstfunctie 403\n",
"onderwijsfunctie 228\n",
"sportfunctie 114\n",
"kantoorfunctie 91\n",
"woonfunctie 80\n",
"industriefunctie 52\n",
"overige gebruiksfunctie 38\n",
"winkelfunctie 28\n",
"gezondheidszorgfunctie 27\n",
"logiesfunctie 26\n",
"Name: Gebruiksdoel van het gebouw, dtype: int64\n"
]
},
2022-05-09 18:30:16 +02:00
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAwUAAANtCAYAAADBwtdOAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAABWW0lEQVR4nO3deZgsZX3//fcHEEEEATkoUQE1qFEUVMAFY4xoouKCu6gJUSJucU2iqDGoiQkxxmyPu0aJigZUBDVxI4qiuICsiv5IEHBBARdAUDa/zx9VE5pxzkzPNN1Fn/v9uq65pquql++p6dNdn6p7SVUhSZIkqV0bDV2AJEmSpGEZCiRJkqTGGQokSZKkxhkKJEmSpMYZCiRJkqTGGQokSZ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+tcy/78b9fQE2TbLZyNWjfwde3L+/f4NuKNV3r/G11/tcVfX/6D4bDulf/9F0IxR9aIx/s6TriaFAalRVvY7uoPglwAV0BzdvBV4KLJwNfildJ8wvJ7kE+AzXbRv/Q+CndGd/3wc8a7kDEOAfgSv71zqsf8xKdRbdcIbfpWt/vxldP4Bz+pqeRTekItWNpvNPdGdy/6f/Pep5dAekZ9N1fD4c+Lf+sUfRdSD+QP+8Z9B1Cl3KSvtltQ6n6xR95KJmR88BXpPkUrqDrEmGwrwJ3YHbz+j+/TsBj4T/69vwWuCLfZOVe69yf4ytqq7sX/ehdFdd3gT84eL3zRJ/97Pp+oCcQPf+uSvwxfW8xqXA79G1w/8B3fv07+g616/WT+n6kJxFF0DfC/x9VS28d99J17/lZ0k+UlXfHLfO9dR+DV1I2h34Dt0+egddp+WVHnshXdO61/Z134uV+yJ
2022-05-09 18:30:16 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAxIAAANtCAYAAAAEsE3fAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAABb6klEQVR4nO3dd5g1dX3//+cLkA4CcqNIly9qAAWlWFBjxIINsIMQUVFssZFEQaPYMEaNRv3ZKxYkWBDUWAmiCIggIE0i0gUFLICgNN+/P2bW+9zLtgHOziz7fFzXXntm5pT3Pfeec+Y18ympKiRJkiSpi+X6LkCSJEnSwmOQkCRJktSZQUKSJElSZwYJSZIkSZ0ZJCRJkiR1ZpCQJEmS1JlBQtKcJHlkkkvv4Of8U5J7tbc/k+Rtd8BzVpL/N5TnWYy6/K3c1v/3JM9Nclz36uZfkrcluSrJb9rlpyS5pP37f8Asj31Tks/PT6WS1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5Jdsj0/UemlWS3NP1K1k5jR5rmZSe2d/kty+63LnVO5STgmiSvbf/el2//32ZqhjZa70pJVm4XV0yy8shVp88C+7d/r/ekGRDgM9M81RHA1kme1j7fG4GfV9UvZnuuqvo/mvf6Qe3rP4VmZKevTFPzfZM8vv333iXJ3jT9do5t7/IF4MlJHt4GmrfQNE271ZWCObz2bM/1WeDf2v/v+9I0Y5xuH0maxCAhLRJV9U6aA+nX0Iwu9FuaYRFfSzMiC+3t84ATk1wDfJ9l2/r/hmZEn8tovqBfPHKgMZX30nRs/C1wSPuY2eosmhFkLqHpT7AyTb+GC9uaXkwz3CV
2022-05-09 18:30:16 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAxIAAANtCAYAAAAEsE3fAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAABdn0lEQVR4nO3defx/9Zz//9u9oj3VVJZ2fcNUlDYUxoiRrbKXGiGyZJ8ZiiHLZAyGwc++htIUUhhEiBQplTaNpl1RiUrR5vH745x3n9fn3fv9+bxPvd+v835/zu16ubwv79c557U8Pufzfr1e537Oc0lVIUmSJEldLNd3AZIkSZIWHoOEJEmSpM4MEpIkSZI6M0hIkiRJ6swgIUmSJKkzg4QkSZKkzgwSkmYkyWOSXD7Lz/mnJPdvb38uyb/NwnNWkv83X55niLr8rdzV//ckz09yYvfqxi/JvyW5Jslv2+WnJbms/ft/6FIe+9YkXxxPpZLUjUFCGpAkeyb5WZIbk1zV3n55kvRRT1WtVlUX9vHay7okGyT5SnsAe12Ss5I8v922SRuUVui5zHkpyX5JfpXkhiS/S/LNJKu32zoFnyQbAv8EbFFV92lXvxd4Rfv3f/rdqH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cn+QN7d/78u3/25KaoU3U+vgkD20fswbwPpqO8ue1d/k88Lr27/V+NAMCfG6apzuaps/CM5KsRNMH6JdV9aulPVdV/S/Ne/3gJCsleRrNyE5fmeqF2itw/03zN7F6kg1omg9+o73LYcBTkzyqDTRvp2madqcrBTN47aU91+eBf23/vx/U1jHdPpI0iUFCGoi
2022-05-09 18:30:16 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAwsAAANtCAYAAADfC+f9AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAABZ/0lEQVR4nO3dd5g1dX3//+cLkCJFIICFqgQ1ooIKWFBj7F3sICoqir0mUdAYbBhbNIk/e4yiiAZiENQoKiqIqAjSBPSroQeUolKV5vv3x8xyn3v57N57L5yd3fs8H9e1156Z0947O7szrzOfkqpCkiRJkqZbbegCJEmSJC1OhgVJkiRJTYYFSZIkSU2GBUmSJElNhgVJkiRJTYYFSZIkSU2GBWmCJXlYkgtu5de8Ksld+tufTfKuW+E1K8lfLpbXmUQrs6/M9/ee5AVJjl356hZekncluTTJb/rlpyY5v9//77OC574tyUELU6kk3TKGBWmJS7J7kp8kuTrJxf3tVyTJEPVU1XpVddYQ772qS7JFki/3J6mXJzktyQv6+7bpw9AaA5e5KCXZO8kvklyZ5LdJvp5k/f6+lQo3SbYE/ha4R1XdoV/9AeBV/f5/0i2s9bZJPjryez5m5L4keW+Sy/qv9832t57kEf3PfU2S7yXZeq6v1e9T3+uf+4skj1xB3e/s98kbkrytcf9zkpzb/6/6SpKNR+5bK8l/JLkiyW+SvGEF7zXv10qyY5IT+5/rxCQ7zvZe0qQzLEhLWJK/Bf4VeD9wB+D2wMuA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p/rlrzW9+n+17wm3RCrr+rXf3emn0uadIYFaQmrqvfRnSy/kW7Unt/
2022-05-09 18:30:16 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAwsAAANtCAYAAADfC+f9AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAABc7klEQVR4nO3dd5htdX32//cNSBUEBBSpyoMaLKAiFtQYsaCoYAc1oqJYsCdR0BgswRBNTNSfDTWKBXlAg6AYGyqKDUGKAvJIkCYoRQUEpfn5/bHWePYZvjNnznD2rDlnv1/XNdfstXb7zJq19173Xt+SqkKSJEmSpltt6AIkSZIkLU6GBUmSJElNhgVJkiRJTYYFSZIkSU2GBUmSJElNhgVJkiRJTYYFacIkeWSSS1bwY/4hyd36y59I8s8r4DEryf9ZLI8ziZZnX5nv/z3J85OctPzVLbwk/5zkyiS/7pefkuTifv+/3zLu+5Ykn16YSiVpxTEsSCuhJHsn+VGS65Jc3l9+eZIMUU9V3b6qzh/iuVd1SbZM8vn+IPXqJD9N8vz+um37MLTGwGUuSkn2S/LzJNcm+U2S45Os31+3XOEmyVbA3wE7VNWd+9X/Bryi3/9Puw11rpnkc0ku6P+fj5x2fZL8a5Kr+p93jr7W+/3gW0mu7//eR8/yXLfpsZI8O8mF/XvPF5JsPMtz/U2/v/6+f65jkmwxcv0nktzYh62pn9VHrt8pyal9Lacm2WmW51oryX8luSbJr5O8btr1sz5Wktf297u6f5y1ZnouadIYFqSVTJK/A94DvAu4M3An4KXArsCaY3i+1Zd9K43Rp4CLgW2AOwLPA34zaEUrgSR/DbwD2Keq1gf+CjjqNjzkNsBVVXX5tHVn3YbHHHUS8Fzg143r9gf2AnYE7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R5A+AP/Tfl06+buv5a2m7LY814fZKHj3RSvlU/jqr6LUv6CqzRr/tJVV3VB8Mv04W/py7ruWb4m6auX666Z7h+6vJM21CaKIYFaeXyA7o2xXvOcpsr6Q747lVVG/Y/dxhpNgGwUd/kY8rWdH0FpoyeroeuWc26I8t3ZnYfoTsQ//Lo81TVj6tqT7pvEr/Akg6nl9E1gRmtZ/TvuYnuYGz0+l/1ly+ma9q04cjPOlX1/Wk1zWW7LI+v0QW3nehCwxEj1x1Bd5Zhq6q6A93B820eqaqqrqTrc3EXugPg6f8nmPv2WF6XAlv1zW2mjP4foPF/789ofAR4BXDHPtj+jPb2uBg4cVrtt6+ql92WwvszBSfQNXu799Tq0dssZ50tFwO/nFb7+lX1hNtSe+8slj7ztCNLOlafBdwt/ShPjetX5GMtdd90wyWvBfy/qvpuLemkPFMTqDXoXvvTD9ynFEu291nAfaeF4vu2/q6q+h3de8hsf9dsj9XaJr+pqqtmqFOaKIYFaSVSVb+na0v9gSRPT3L7JKv1B6zr9bf5M91Bz38k2QwgyRaNttNvTTdk48Ppmn8cPctTnw48Ncm66eYs2G8O5b6CroPql5Ks0z/Xc5LcoapuoutMe0t/26OA5yfZIcm6wMEjf/Mt/fWHJFm/P6h7Hd3IJtAdiB801a49yR2SPGN6McuxXeakPwPxObpRqTama2s/ZX3gt1X1pyS70J15mJd0w1zeO8ka/UHcy4Dz+gOZK+g63d5t5C5z2h7z8CO60Pj6JLdLN7znk4Ajp91uqf873X5Zfa0keQFLDtin+xJw9yR/2z/H7ZI8MDP355hRkj3T9fPYKJ1d6JqC/bC/yW9YerstT50tJwPXJHlDv7+v3v/fZmsyNlrvWknW7hfXTLL2yMHtJ4HX9fvrXeg64X8CoKr+H93r8+D+Pk+hOxD+/AxPdVse6zPAk/qzCOsBb6NrFtb8Bj7JU5Pco3+P2hR4N3Baf5a
2022-05-09 18:30:16 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type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hj9x3ON1Vhq2r6nZ0H+oWPFJVVV1ONwLPHek+AE//O8H8t8fKuhjYelp7+tG/AzT+7v0VjQ/RnQX/sz7Ynk57e1wIfHda7betqpc0Hjtv/ZWCo+mavd19avXoY1ayzpYLgfOm1b5hVT16Pk9OsnaSPZN8Gvg5XfD6J2Cr/upfy1p0/5fTg/GUqb4N0HXEvvO0fgM7M3MH7TNY8WrX6GPneq0Vnts3p1oX+N8ZfpakVcSwIC1xVfVburbU70vylCS3TbJW/4F1g/4xN9F96Hn31BnHJFs22k6/JcmtkzyIrvnHZ2f50afQdVC8TbqOzPvOo9yXAWcDX0qyfv+znpnkdlV1PXAVXQdN6ELDc9MNDXkb4KCR3/nG/v5D0nWc3RZ4DTA1Zv0HgAOn2rWn6wz91OnFrMR2mZf+CsR/0Y1KtSldW/spGwK/rqo/Jtmd7srDLZJu+Mq7J1mn/3D2EuCcqroCuAy4ia4vx5R5bY9b4Ed0ofG1SW6V5CHAY7n5aDwr/N3p9svqayVdp/G70/Yl4C5Jnt3/jFsl2S0z9+eYUZLHp+vnsUk6u9M1Bfth/5BfseJ2W5k6W44Hrkryun5/X7v/u83WZGyq1s2Bi+jCwQ+B/1dVT6qqL9aKTQ4fkeRe/WtvRNe/4TfAWSO/8+jv+wr6/k1V9b90/8cHJVkvXefte9I182r5OPCa/n/kjnTDxn5snq/1Kbq+Ew/qQ+PBdM3HvLIgjZlhQRJV9Xa6D8uvBS6l+9DzQeB1wNTZ49fRNWH4YZKrgG+xYtv7X9J9yLiY7o39xVX101l+7LvpOij+Cjisf85cdRbd8IsX0n1gWY+un8H5fU0vBp7VP/arwL/Snfk9p/8+6uV0H1TPpetwfTjwkf6
2022-05-09 18:30:16 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"def make_graphs_use(label):\n",
2022-05-11 16:40:11 +02:00
" df_stemger_label = df_stemger_clean[df_stemger_clean['binned'].str.fullmatch(label)]\n",
2022-05-09 18:30:16 +02:00
" plot_use(filter_binned(gdf_wims_dedupe, df_stemger_label), label)\n",
"\n",
"for label in labels:\n",
" make_graphs_use(label)"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 141,
2022-05-11 16:40:11 +02:00
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Open op 14 maart groep totaal: 22\n",
"Open op 15 maart groep totaal: 24\n",
"Open op 16 maart groep totaal: 6658\n",
"Open op 14 én 15 maart groep totaal: 12\n",
"Open op 14 én 16 maart groep totaal: 28\n",
"Open op 15 én 16 maart groep totaal: 44\n",
"Open op 14, 15 én 16 maart groep totaal: 1301\n",
"Aantal stemlokalen open op standaard tijden 16 Maart in staffel totaal: 1318\n"
]
},
2022-05-16 16:11:50 +02:00
{
"name": "stderr",
"output_type": "stream",
"text": [
"/tmp/ipykernel_4306/247769849.py:13: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
" print(\"Open op 14 maart groep {}: {}\".format(label, df[df['Openingstijden 15-03-2022 van'].isnull()][df['Openingstijden 16-03-2022 van'].isnull()]['Openingstijden 14-03-2022 van'].count()))\n",
"/tmp/ipykernel_4306/247769849.py:14: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
" print(\"Open op 15 maart groep {}: {}\".format(label, df[df['Openingstijden 14-03-2022 van'].isnull()][df['Openingstijden 16-03-2022 van'].isnull()]['Openingstijden 15-03-2022 van'].count()))\n",
"/tmp/ipykernel_4306/247769849.py:15: UserWarning: Boolean Series key will be reindexed to match DataFrame index.\n",
" print(\"Open op 16 maart groep {}: {}\".format(label, df[df['Openingstijden 14-03-2022 van'].isnull()][df['Openingstijden 15-03-2022 van'].isnull()]['Openingstijden 16-03-2022 van'].count()))\n"
]
},
2022-05-11 16:40:11 +02:00
{
"data": {
"text/plain": [
"<Figure size 936x936 with 0 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/png": "iVBORw0K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njqerZLVe0xva5fn+b4vtz6Dz0bspR5L9WtXufJVxc7VlW9smZLl3xnev57ZZp/VT20ZkvWfGM6tzdk487t15J8PckZi2yz3vMfY3wss/8Z8PYkV1fVO2u2HNPumf3xav5n6Ip1jvnIdX5f/FpmV5Wvb/vFfr88MMmCf0yaLPX7al3r/h6Yv7/QOa77e2JD53h75wUAcKcjigMA25rzktyY2fIIt5j++/8vJjlnbviBc4/fLcnyJFdmFoa+PMa499zHzmOMJ2/iuV6VZM91liK5ZU5jjOvGGK8cYzwks6tv/3NVHbb24Y18nvk1iR80d/+KzF6v+86d6y5jjP1zO4wx/myM8fOZRbSR2RueLjTfTfq867hyev4kt3ztd8ssmK51ZJKnVdUr5sZemdlVy48cs6VM1i5fstBa4FckeeE63yM7jTH+YWMnO8b4wpgtdbJHZq/XGdOcF/oav3EaP3Ca47PXM7/1uSPzXnc+t3qdJw/Kv77Ot9q+ZuuH/1ZmVyzvOmZLfHxnbv4nZHal+T7Tub0mG3dur8vsj15/tp4/ZCQbOP8xxlvHGAcn2T+zP1T81ySrM1vmZ359+Qeuc8z/u84x7znGePHcNuv+4Wux3y9XZJ31vJdoQ78TrlrkHNae42K/JzZ0jgAAdxmiOACwTRljfCezZQH+uKoOn9YI3yuztcNXZbZ8yVoHV9XTp6u2X5FZpP3HzJYw+W7N3jRyp5q98d0BVfWITTzd8zJbcuTXq2r7qjoiySFrH6yqp1bVT0zR/LvTtmumh69O8pAlPs9pSV5WVcu
"text/plain": [
"<Figure size 1800x1800 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"plot_opening(gdf_wims_split, \"totaal\")"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 142,
2022-05-09 18:30:16 +02:00
"metadata": {},
"outputs": [
2022-05-11 16:40:11 +02:00
{
"name": "stdout",
"output_type": "stream",
"text": [
"Staffel: totaal\n",
"bijeenkomstfunctie 4466\n",
"sportfunctie 1335\n",
"onderwijsfunctie 1188\n",
"kantoorfunctie 794\n",
"woonfunctie 684\n",
"overige gebruiksfunctie 346\n",
"gezondheidszorgfunctie 309\n",
"industriefunctie 204\n",
"winkelfunctie 149\n",
"logiesfunctie 104\n",
"celfunctie 3\n",
"Name: Gebruiksdoel van het gebouw, dtype: int64\n"
]
},
2022-05-09 18:30:16 +02:00
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAxIAAANtCAYAAAAEsE3fAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAABYmElEQVR4nO3dd5wtdX3/8dcbUEAEAcGoVPWHGkUhUiwYYywRxV5B7Ci2WJMo2DUxMcZo1J89RrGggRgVNVaiKIIiCIii/jQUIaCABRCV5uf3x8xyz1323rtf3D1z9s7r+XjsY8/MaZ+dPWXeM9+SqkKSJEmSWmwwdAGSJEmSVh6DhCRJkqRmBglJkiRJzQwSkiRJkpoZJCRJkiQ1M0hIkiRJamaQkDRTktwzyblL/Ji/TnLL/vL7k/zdEjxmJfk/s/I4Y9TyWrmu//ckT0pybHt105fk75JclOSn/fLDkpzTv/7/ZB33fVWSD02n0jazXJs0dgYJSUsuyf5JvpnksiQX9JeflSRD1FNVN6yqM4Z47vVdku2TfKzfgb04yWlJntRft3MflDYauMyZlOSgJD9IcmmSnyX5TJLN++uagk+SHYC/Am5XVTftV78B+Mv+9X/yH1BnU7hfjoMBkmaTQULSkkryV8CbgX8Cbgr8EfAMYB/g+svwfBsu9WOqyQeBc4CdgBsDTwB+NmhFK0CSPwP+HjigqjYH/hg44g94yJ2An1fVBfPWfe8PeExJWiuDhKQlk+RGwGuAZ1XVf1TVpdU5uaoOrKrL+9ttnOQNSX7SH4l9Z5JN5z3WS/qj3GclOXBi/fuTvCPJfyW5DPjzJF9J8tSJ26zWHGVNzYeSb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"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"plot_use(gdf_wims_dedupe, \"totaal\")"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 143,
2022-05-11 16:40:11 +02:00
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"10.000-30.000 170\n",
"30.000-60.000 92\n",
"0-10.000 25\n",
"60.000-100.000 24\n",
"100.000-350.000 19\n",
2022-05-16 16:11:50 +02:00
">350.000 3\n",
2022-05-11 16:40:11 +02:00
"Name: binned, dtype: int64\n"
]
}
],
"source": [
" print(df_stemger_clean['binned'].value_counts())"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 144,
2022-05-11 16:40:11 +02:00
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAwsAAALyCAYAAACVTEjfAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAA67ElEQVR4nO3deZxld1kn/s9DwiaEQtaRLQGCaOAHAhEclwEFEcQGRlHBDRykBUUHXOMyCioO7oog0ggEREBEBBqCoGBAZ1AgjGhYDSFA2BK2YhFZn98f57TcFN+qru707VtVeb9fr3rVvWe597nfe+4553PW6u4AAABsdLlVFwAAAOxMwgIAADAkLAAAAEPCAgAAMCQsAAAAQ8ICAAAwJCzsQlX1dVX1b1X18aq69wrruFNVXbiq9z/eqqqr6tRtDPeAqvqHJbz/mVX1a8f6dVmtqvqGqnrLpRj/EVX19GNZ0xG+/zOPdj5UVX9cVf/rWA97LK26fXeyqnpxVd3/KMe9oKrucqxr2sb73mhedp5wlOMvZf6+yXs9t6rudjzea36/qqqnVNWHq+rVc7eHVNX75za75mHGt4zao4SFHayqzp5/tFfc0OtXkjy2u6/a3c/bYvzjNlPb5P23tXK93eGr6gpV9TtVdeE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doS/Lkk6e4XzdN3d/crkrw00+GNh3wmya/M08xZmRag2z1/4urz/49t6P727n7KXMOfZ9qw8Cvd/an5u/10ks3OTTqSej6TaX70mSTPyhT2/mD+/bwh06ETt5rb4Zzu/sd5+r4g08rh4u/u6d39wbn/72QKNttphw9k+s5
2022-05-09 18:30:16 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": [
"<Figure size 936x936 with 0 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAxIAAAMACAYAAACw2lFbAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAClQklEQVR4nOzde5wcVZ3///ene3o6k8uQMIFALlw0oJuwSZQIaNAV8IKKwf1x0RWEXW+rC+iuQCK7X1RgXQXU3WVBXVQUFFRI1HD1xmUF5GLQJCQRJXLLBQIMSciEpGe6+/z+qOpJX6q7q3qqZ7onr+fjMclMdVX16e7qqvOpcz7nmHNOAAAAABBFYqQLAAAAAKD9EEgAAAAAiIxAAgAAAEBkBBIAAAAAIiOQAAAAABAZgQQAAACAyAgkRhEzW2Bmj5tZn5m9bwTL8VYz2zBSzz/czMyZ2cwQ6/29md3XhOf/npn9e9z7xcgyszeb2Z+GsP0XzOwHcZYp4vP/sNHzkJl908wujHvdOI30+9vKzOwOMzuzwW2fMrO3xV2mEM97gH/tTDa4fVPO71We6ydmdvxwPJf/fGZm3zWzLWb2sL/sk2a22X/PeupszzVqFCOQaENmdo//hU6XPXSxpCudc+Odcz+rsf2wnfCqPH+oinfY9c2s08y+amYb/JPak2b2n0WPj8iFaU/gH0s5/30v/Ly16PG9zeynZrbDzJ42sw+WbX+cmT1mZq+Y2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XPPmpnJq+j/i38e3y7vbm3x8TWUY+Jp59y3/M/+Wnk
2022-05-09 18:30:16 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAwsAAALyCAYAAACVTEjfAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAA7zklEQVR4nO3debxkd1kn/s9DwiaEi8gyEkgaCALBH4hGYERHVJRgbGAUlYgKirSg6IgbkXEUUTTuiiDSDBCQzYgM0hIEAQPqIEsYF0JAYwgkBAjrZRUIPL8/zmmoXM69t7rT1XXr5v1+vfrVt85WT5361jnnc9bq7gAAAGx0jWUXAAAA7EzCAgAAMElYAAAAJgkLAADAJGEBAACYJCwAAACThIWjqKruUVX/XlUfq6r7L7GOe1bVpct6/6OtqrqqTppjuIdU1d8v4P3PqqpfO9LTZbmq6huq6m1XYfzHVtWzj2RNh/j+zzvc5VBV/UlV/a8jPeyRtOz5u5NV1Uur6sGHOe7FVXWvI13THO97wrjuPOYwx1/I8n2T93phVZ16NN5rfL+qqmdU1Yeq6vVjt0dU1XvHefZl24xvHcWWhIUFqKpzxx/ttTf0elySJ3b39bv7RVuMf9QWapu8/1wb1/MOX1XXqqrfrapLxwXX26vq92f6L2Xlc3UwtqXPjvP94L97zvS/UVX9n6r6eFW9o6q+b8P431JVb62qT1TV31bViUeorrOq6tMb6jpmpv9XVdV54/ueV1VftWH8R1XVe6pqvaqePvFbW7ju/rvuvt3Rft/tzLPir6o7Jblzkr88nPfo7od3968e6WGPlqraMy63ZtvfUQ80y9Ld9+nuZx7t970qy/rufue47vzska7rqtgklJ6Z5PHbjPeYcV34sXHd+Gcz/c6tqh85hDK+Psm3JrlFd9+1qq6Z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{
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": [
"<Figure size 936x936 with 0 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAxIAAAMACAYAAACw2lFbAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAADVGElEQVR4nOzdeZxcVZ3///e5t5Z00tnoQCDpsBkYJskkrWYMGGAkOIoCkd8E0S8wMK6jA+oomLgMKjAuBHVGhHFGUQFFRyBqWN0IjBIhGjCJSUCIbOmEte2EdNKpruX8/ri3OrXcqrrVXdVdVf16Ph55pPtudepWddX5nHM+5xhrrQAAAACgGs5oFwAAAABA8yGQAAAAAFA1AgkAAAAAVSOQAAAAAFA1AgkAAAAAVSOQAAAAAFA1AokGYYxZbIx5whjTZ4w5axTL8QZjTPdoPf5IM8ZYY8zsEMf9kzHmgTo8/g3GmH+v9XUxuowxJxlj/jSM8z9njPl+LctU5eP/cKifQ8aY/zbGXFbrY2tptO9vIzPG3GOMuXCI5z5tjHljrcsU4nEP97873SGeX5fP9xKP9WNjzGkj8Vj+4xljzHeNMb3GmN/52z5ojHnBv2cdFc7nOwplEUiMMGPM/f4fdLxg1xWSrrXWtltrf1rm/BH7wCvx+KEq3mGPN8bEjDFfMcZ0+x9qTxlj/iNn/6h8MY0F/nsp7d/37L835Ow/yBjzE2PMXmPMM8aYcwvOP9UY85gxZp8x5j5jzBE1KtcNxpiBgnK5Ofu7jDEP+4/7sDGmq+D8jxpjnjfG7DbGfCfgb63urLW/sdb+1Ug/biVhKgXGmPmSFkhaPZTHsNZ+wFp7Za2PHSnGmCP9z63c99+IBzujxVr7FmvtjSP9uMP5rLfWPut/d6ZrXa7hKBGwfknS5yuc9yn/u7DP/278Uc6++40x762iGCdK+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q3CBxA55FfDvSppW5p7dr5CfOf793e7fy4i8z82XdeDz/QZ57/vX+ftv1oHK0pvlvY+m+K/9X0s6zN/3n/Lexwf59+oOSV8M8xqUeD65gUTSfy1cSR+UtFMFn9MFn9e/kxc4H+S/Jh/w971GXiCzyL/Whf7x8aDP+oBrf0ZeT1n299MlPVbwmmU/v36qKj4bNcTPd1X+fv2cAt5nkj4m6cclnuf5/nvg4/J6I9xSr0/I9/o/KT9IKrxXYd6TVQcS8lrnrfLrOWdL+mOJa6yWtKJgW5+8v/Oy11KF74Uy5d4kryJvJX0rZ3vo75FKj13uWqrwPdss/xjaNEKMMSfK65K7xVr7sLxeiHJj4TKS5hlj2qy1z1lrS3ZDWmvvt9b+0VqbsdZuktfq8HcFh11ure231m6U98Ze4G8/R15l6C/W2u2SrqnyqZ0n6TvW2kestQl5Q5VOKBwrWcYX5XUrnidveMwOUz7R73xJd1tr7/af7y/9896ac8x3rbV/ttbulnSPpD9ba39lrU3J6x14deFF/TH475D0SWvtHmvt05K+Iq+bNSvbMnyQvNb1fVLl+2+t/Y5/zYS8L5YFxpjJIe/Pi/Jap5LW2h/Jay063RgzXdJb5FWc9lprX5TXwvbOnHN3Wmu/bq1NWWv7A679a0nz5H3RLpP0/+R9eUler8HuguN3y6ukhNmfx1r7C3n3/l55FYB/LvOcr5HXhX2IvODmhpzxq9WWK/tzYLl8V1lrX/H/xjZL+oW19smc90/R+8X3A3n3LOtcf1uhv5VXMb/CWjtgrX1SXsUj97V60Fr7U/89lH2tJskbNvBneS3IaUmy1t7lv7+ttfb/JP1C3pDJrKSkK/z3zN3yvozD5mtM8f/fU7D9KWvtd/0y/Eheo8MV1tqE/9oOSCqVC1VNeZLyPo+Skv5X3pfu1/y/ny3yhmPM9+/Dw9bah/z399P
2022-05-09 18:30:16 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png":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Y/yW5dIXoXhmmo2uM3/0tknz/2O+vMkzH1xrbaneSP5rmO1jj80yGhW+N38VhSR6d5MKsmk+vml+/PUM4vtb4nTxq7Hf7DGHlzuO4Hjq+/kq9eX1n3E/KsMdr5fmJST646jtbmX+9Mnsxb8w+zt+z8fL1KelMZ0mekOT0NT7nQ8Zp4Dcz7FU4bK3vZ8pp/WG5bBBa3VbTTJPrzTNumCH8fXecVh42dr/m+D6T6zn3T/LeNcbzqiS/varbVzL8ztcdVzZYLnTe68fGmn97bKsPJ3nMRP+plyMbvfd648oGy9lF+XMY0gFUVT+SYffZy1tr52TYm7DesWnfTXKrqrpKa+3TrbU1dxm21s5qrb23tfbd1tp7Mmw9uOuqlz21tfb11tq7M0y8txm7PyDDCs8XWmufTPKMvfxoD07y/NbaO1tr38hwWNEPjYdcTeOPkvzxOJ6zk3yq1j+57iFJzmytnTl+3n8Zh/upide8oLX20dbacpLXJvloa+0NrbVvZ9jKf7vVIx2PiX9gkt9prX25tXZBkj/PsGtyxcoW3mtl2Er+tWTj9m+tPX8c5zcyLDxuU1VLU7bPRRm2Mn2rtfb3Gbb6nFhV101y7wwrR19trV2UYUvZgyaGvbC19jettW+31r7eGfdbktwqw8L0Z5OclGEBlQxb/5dXvX45w4rINP0vo7X2+gxt/8YMC/lfXuczPyPD7ubrZAgwp1bVXfaxrpXH3bpGf9xau2T8jZ2b5PWttfMnpp/LTS+jl2ZosxU/P3Zb7Y4ZVr6f1lr7Zmvt/AwrF5Pf1Vtba68cp6GV7+qoJP+cYV7x8DYeitVaO2Ocvltr7c1JXp/h8MY
2022-05-09 18:30:16 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": [
"<Figure size 936x936 with 0 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAxIAAAMACAYAAACw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O/VV5I2WZ30+R9ETea5b5/PqNqvhs1AA/31X++/VrCnifSfqcpF8XeZzn+O+Bi+SNRoSLvT4Vvtc/otwgKf+5quQ9Weoz40B5gWHaf698xN8+yb+f7H7OmZL+UuQ8KyQtydvWI+/vvOS5VOZ7IeC+jvPbvMR/rp6SdEHW/oq/R8rdd6lzqcz3bLP8I7VpiJjZsfKG5JY55x6VNwpRKhcuLWm2mbU7515wzhUdhnTO3eec+4tzLu2cWyfvqsPf5h12qXOu1zm3Vt4be66//Sx5naHXnHNbJF1V5UM7W9KPnXOPOefi8lKV3uGncVXim5Ku8M+zWtJWK13od46kO5xzd/iP9/f+7d6fdcxPnHN/dc7tlHSnpL865/7gnEvKGx14a/5J/Rz8D0r6knNul3PuOUnfkTfcmZG5MryPvKvrb0jln3/n3I/9c8blfbHMNbMJFT4/L8u7OpVwzv1S3tWiU8xsiqT3yes47XbOvSzvCtuHsm67zTn3Pedc0jnXG3DuP0maLe+LdpGkf5D35SV5owY7847fKa+TUsn+HM65u+Q993fL6wD83xKP+Sp5Q9j7yQtufmpmCwbYrszPge3yXeGce93/G1sv6S7n3DNZ75+C94vv5/Kes4wP+9vyvU1ex/wy51yfc+4ZeR2P7NfqIefcb/z3UOa1Gi/pt/I+Kz7q/PQu59zt/vvbOef+KOkueSmTGQlJl/nvmTvkfRlXWq8x0f//rrztzzrnfuK34ZfyLjpc5pyL+69tn6RitVDVtCch7/MoIekmeV+63/X/fjbIS8e
2022-05-09 18:30:16 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAwsAAALyCAYAAACVTEjfAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAA6fkl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O8/9rjO/ztrtnPsm+ZcNpvXCJI9c1+0Tmb7nm04rW6wXNvvLOCxsuB7JFuvGwfQPe1o5xPXssfDnNKTLqaq+KdPhs+d197mZjiZsdp7bF5Lcpqqu3t3v6+4NDxl29znd/S/d/YXu/udMew/uvG6wX+nuT3X3P2VqvLebu39vpg2eD3f3u5M87hDf2g8keWp3v6m7P53ptKL/Op9ytR2/keQ35+m8Mcl7avOL634wydndffb8fv9mHu+/rRnmad397929muSlSf69u1/R3Z/LtJf/9usnOp8T/31JfqG7P97dFyb53UyHRA86uIf3upn2kv9HsvX87+6nztP8dKaVx+2qamWb8+fiTHuZPtvdf55pr889q+oGSe6RaePok919caY9ZfdbM+57u/uPuvtz3f2pwbRfk+Q2mVam353k/plWUMm093913fCrmTZEttP/Urr75Znm/SszreR/dJP3/LhMh5uvnynAnFlVdzrMug4+HtY1+83u/tj8HXtzkpd39wVr2s9l2svs2Znm2UHfP3db7+szbXw/prs/090XZNq4WPtZvba7XzC3oYOf1bWS/HWmZcWDej4Vq7tfMrfv7u5XJ3l5ptMbD/psksfMbebsTCvc7V4
2022-05-09 18:30:16 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": [
"<Figure size 936x936 with 0 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAxIAAAMACAYAAACw2lFbAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAADKvElEQVR4nOzdeZxcVZ3///e5VdXVnXSWpiNL0oStQUyYJEo0OI0L6ChKiP6+QXTAcUP9jiM645aMOojKOEpQZwZh/A7iAiMukYwmgLixKCCgAZM2CVsEIZ2wpe2EdNJdXVX3/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Y5a+2QtXazvDf2Yv/28+R1hv5ird0h6YqQT+0CSd+y1j5grU3JS1V6uZ/GVYsvSrrMP85GSTtN5UK/t0v6qbX2p/7z/aV/vzfm7fNta+2frLV7Jd0i6U/W2l9ZazPyRgdeXHxQPwf/rZI+aa3dZ639s6SvyBtmzcldGT5M3tX1A1L182+t/ZZ/zJS8L5bFxphZNZ6fZ+VdnUpba38o72rR2caYIyS9QV7Hab+19ll5V9jelnffXdbar1lrM9baoYBj/0bSKfK+aFdK+lt5X16SN2qwt2j/vfI6KbVsL2Ct/YW8c3+rvA7A/63wnK+QN4R9uLzg5jvGmJ4xtiv378B2+S6z1j7v/41tkfQLa+1jee+fkveL73vyzlnO+f5txV4qr2P+eWvtiLX2MXkdj/zX6h5r7U/891DutZop6WfyPivebf30Lmvtzf7721prfy3pF/JSJnPSkj7vv2d+Ku/LuNZ6jdn+//cV3f64tfbbfht+KO+iw+ettSn/tR2RVK4WKkx70vI+j9KSfiD
2022-05-09 18:30:16 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAxAAAALyCAYAAABKAjLAAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAA8nUlEQVR4nO3deZxld1kn/s9DEvZQiAFGAiRAEA3+QDCCiqMoyCI2MIoKooKDtKDoAI4alxHQwcHdQRilGSAgAiIi0hAEBQMuCCSMaNg0hEDClrAVi8j6/P44p8lNpav629Vdfauo9/v1qlfde5Z7n/u9555zPmet7g4AAMCIqyy7AAAAYOcQIAAAgGECBAAAMEyAAAAAhgkQAADAMAECAAAYJkAcZVV1p6r6t6r6RFXdd4l13LmqLlnW+x9rVdVVddrAcA+uqr/bgvc/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o7tUkL0vyju7+6+7+XKa9Abdb+6I1HWP//Ul+vrs/3t0XJfntTLuSDziwJfh6mbam/3ty6Pbv7qfPr/npTAuU21bVymD7XJppa9Rnu/tPMm0duldV3TDJPTOtMH2yuy/NtEXt/gvjvre7f7+7P9fdnzrIa78myddkWsB+T5IHZFpoJdNWl9U1w69mWjkZ6X8F3f2KTG3/ykwL/o12sz4x067qG2QKNWdV1Z02WdeBxweta/br3f2x+Td2fpJXdPeFC9PPlaaX2XMytdkBPzB3W+vrM62Q/0p3f6a7L8y0wrH4Xb22u180T0MHvqvrZDo84B2Zthh/Pkm6+6Xz9N3
2022-05-09 18:30:16 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": [
"<Figure size 936x936 with 0 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
2022-05-11 16:40:11 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAxIAAAMACAYAAACw2lFbAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAADN8UlEQVR4nOz9eZxcZZn//7+vWrq6k05I02FLOoAa0EnySaJEQaOMgKOoEP19g+iIig4jM35EHUdJdOaDiIwzEkZnZGB0cAMUl5CMJmxuLCIR0IBJmwSEyJJ0wtp2Qjrprq7l/v1xTnVqr1Pdp3qpvJ6PRyfVZ6u7Tp2uuq9z39d9m3NOAAAAAFCPyHgXAAAAAMDkQyABAAAAoG4EEgAAAADqRiABAAAAoG4EEgAAAADqRiABAAAAoG4EEmPEzJaa2WNm1m9m7xzHcrzRzHrG6/nHmpk5M5sbYLsPmtm9DXj+68zsX8I+LsaXmb3BzP44iv0/b2bfC7NMdT7/D0b6OWRmXzezS8LeNkzjfX4nMjO73czOH+G+T5rZm8IuU4D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q90W7XNJfy/vykry7MHuLtt8rr5ISZH0B59zP5Z37O+RVAKo1v14lrwn7SHnBzXVmtnSE5co9Llsu3xXOuRf9v7Etkn7unHs87/opuV5835d3znLe6y8r9mp5FfMvOOeGnHOPy6t45L9X9znnfuJfQ7n3arq8bgN/kncHOSNJzrlb/evbOed+Jenn8rpM5qQkfcG/Zm6Td+cxaL7GDP//fUXLn3DOfccvw4/k3XT4gnMu6b+3Q5Iq5ULVU56UvM+jlKQfyvvC/6r/97NVXneMhf5
2022-05-09 18:30:16 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
2022-05-16 16:11:50 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAwsAAALyCAYAAACVTEjfAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAA7wUlEQVR4nO3de5hkd1kn8O9LEgJCaC4BFhJIgEE0sCAwgIquqAiJOMAqKhEVXGQERVe8xssKqCjqelmERYYFAiJBREQGgqBgQHdRSJBLQgBDCGYIkECgucr13T/OGak0p3t6JlNTXZ3P53n66apzqXrr/E6dc77nVtXdAQAAWOtaiy4AAADYmoQFAABgkrAAAABMEhYAAIBJwgIAADBJWAAAACYJC0uiqu5dVf9aVZ+sqgcvsI77VNW+Rb3/kVZVXVU7NjHcI6rqH+fw/mdW1W8e7tdlsarqm6vqXVdj/CdU1fMPZ00H+f5nHepyqKr+pKr+x+Ee9nBa9PTdyqrqlVX18EMc95Kquu/hrmkT73vrcd151CGOP5fl+zrv9ZKqOvVIvNf4flVVz6mqj1bVG8duj6mqD43T7CYHGN866hpAWNhiquqc8Ut77Jpev57kqd19/e5+6QbjH7GF2jrvv6mN680OX1XXrqrfr6p944LrvVX1hzP9F7LyuSYY56UvjtN9/999ZvrfuK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v7dUleneH0xv0+n+TXx3nm7Ax7EDd7/cQNx/+fWNP9vd39nLGGP8+wY+HXu/uzY9t+Lsl61yYdTD2fz7A8+nySF2ZYWf+v8ftzQYZTJ+48Tofzuvufxvn7kgwbh7Pfu+d390fG/r+fIdhsZjp8OEObnZQ
2022-05-09 18:30:16 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": [
"<Figure size 936x936 with 0 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
2022-05-16 16:11:50 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAxIAAAMACAYAAACw2lFbAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAACyc0lEQVR4nOzdeZwcdZ3/8fenu2cmkztMuJJJuAJikk2iRA6DKOgickT3F0RXXPBkdUFZRcBjkWu9QN2VBdllEQEFNSSr4VSRQwhCMIEkJOGKXJmEc0hCJpn09PH9/VHVk+ru6qMm3TM9k9fz8Zhkprqq+9vV1d3fz/f4fM05JwAAAACIIjbQBQAAAAAw+BBIAAAAAIiMQAIAAABAZAQSAAAAACIjkAAAAAAQGYEEAAAAgMgIJAY5M5tjZs+aWZeZfWQAy/E+M+sYqMfvb2bmzGxKFft9yswW1+Hxrzezf6/1/WJgmdl7zOzpnTj+IjP7ZS3LFPHxf9XXzyEz+28zu6DW+9bSQJ/fRmZmd5nZ6X089gUz+0Cty1TF4072vzvjfTy+Lp/vJR7r/8zsuP54LP/xzMx+bmYbzexRf9sXzexV/5y1VTie76hdBIHEIGFm9/tv6JaCmy6RdKVzbqRz7ndlju+3D7wSj19Vxbva/c2s2cx+ZGYd/ofa82b2H4HbB+SLaVfgX0sZ/7znft4XuH03M/utmW01sxfN7BMFx7/fzJ4ys21md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p9rPnBPlDTP5uV+ux+T1NJ0cuK//c8496h97k6RZgXMzSl7rsTnnnnTOvWxmJq+i/xX/c3yLpO8q//ramWviRefc//qv/Q3yGrb2LLP
2022-05-09 18:30:16 +02:00
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"def make_graphs_dist(label):\n",
2022-05-11 16:40:11 +02:00
" df_stemger_label = df_stemger_clean[df_stemger_clean['binned'].str.fullmatch(label)]\n",
2022-05-09 18:30:16 +02:00
" plot_dist(filter_binned(df_nearest, df_stemger_label), label)\n",
"\n",
2022-05-03 13:06:50 +02:00
"for label in labels:\n",
2022-05-12 13:24:22 +02:00
" make_graphs_dist(label)\n",
" "
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 145,
2022-05-12 13:24:22 +02:00
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Gemiddelde afstand tot stemlokaal totaal: 434.3908324541042\n",
"['crs28992res500m', 'aantal_inwoners', 'stedelijkheid', 'geometry', 'savedindex', 'Unnamed: 0', '_id', 'Gemeente', 'gemeentecode', 'Nummer stembureau', 'Naam stembureau', 'Gebruiksdoel van het gebouw', 'Website locatie', 'Wijknaam', 'CBS wijknummer', 'Buurtnaam', 'CBS buurtnummer', 'BAG Nummeraanduiding ID', 'Straatnaam', 'Huisnummer', 'Huisletter', 'Huisnummertoevoeging', 'Postcode', 'Plaats', 'Extra adresaanduiding', 'X', 'Y', 'Latitude', 'Longitude', 'Openingstijden 14-03-2022', 'Openingstijden 15-03-2022', 'Openingstijden 16-03-2022', 'Toegankelijk voor mensen met een lichamelijke beperking', 'Akoestiek', 'Auditieve hulpmiddelen', 'Visuele hulpmiddelen', 'Gehandicaptentoilet', 'Kieskring ID', 'Hoofdstembureau', 'Tellocatie', 'Contactgegevens gemeente', 'Verkiezingswebsite gemeente', 'Verkiezingen', 'ID', 'UUID', 'dist']\n"
]
},
{
"data": {
"text/plain": [
"binned\n",
"0-10.000 582.737580\n",
"10.000-30.000 539.170370\n",
"30.000-60.000 472.161641\n",
"60.000-100.000 451.049861\n",
"100.000-350.000 357.505034\n",
2022-05-16 16:11:50 +02:00
">350.000 231.455703\n",
2022-05-12 13:24:22 +02:00
"dtype: float64"
]
},
2022-05-16 16:11:50 +02:00
"execution_count": 145,
2022-05-12 13:24:22 +02:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"def w_avg(df, values, weights):\n",
" d = df[values]\n",
" w = df[weights]\n",
" return (d * w).sum() / w.sum()\n",
"print(\"Gemiddelde afstand tot stemlokaal totaal: {}\".format(w_avg(df_nearest, \"dist\", \"aantal_inwoners\")))\n",
"\n",
"df_nearest_rename = df_nearest.rename(columns = {'CBS gemeentecode': 'gemeentecode'})\n",
"print(list(df_nearest_rename))\n",
"df_nearest_merged = pd.merge(df_nearest_rename, df_stemger_clean, on=['gemeentecode'])\n",
"df_nearest_merged.groupby('binned').apply(w_avg, 'dist', 'aantal_inwoners')"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 146,
2022-05-12 13:24:22 +02:00
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"324.59925001723775\n",
"binned\n",
"0-10.000 420.523944\n",
"10.000-30.000 387.837924\n",
"30.000-60.000 357.802769\n",
"60.000-100.000 338.623546\n",
"100.000-350.000 298.937122\n",
2022-05-16 16:11:50 +02:00
">350.000 213.189891\n",
2022-05-12 13:24:22 +02:00
"dtype: float64\n"
]
}
],
"source": [
"def weighted_median(df, val, weight):\n",
" df_sorted = df.sort_values(val)\n",
" cumsum = df_sorted[weight].cumsum()\n",
" cutoff = df_sorted[weight].sum() / 2.\n",
" return df_sorted[cumsum >= cutoff][val].iloc[0]\n",
"\n",
2022-05-16 16:11:50 +02:00
"print(weighted_median(df_nearest_merged, 'dist', 'aantal_inwoners'))\n",
2022-05-12 13:24:22 +02:00
"\n",
"print(df_nearest_merged.groupby('binned').apply(weighted_median, 'dist', 'aantal_inwoners'))"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 147,
"metadata": {},
"outputs": [],
"source": [
"#df_nearest_merged['New']=df_nearest_merged[['aantal_inwoners','r2']].apply(tuple ,1);df_nearest_merged.groupby(['binned']).New.value_counts().reindex(pd.MultiIndex.from_frame(df_nearest_merged[['binned','New']])).values\n",
"\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 148,
2022-05-12 13:24:22 +02:00
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAwsAAALyCAYAAACVTEjfAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAA6OklEQVR4nO3debxkd1kn/s9DwiaEi8gyEiABGpDgD0RbcERHFJQwsYFxJaICg7Sg6IjLGB1HcMGJuyIM0gwQEAlGRKQhCAICOiKQMC6EgMYQSLMlbJdVIPD8/jinoXI593b1Ul23bt7v16tffets9dSpb51zPmet7g4AAMBG11p2AQAAwPYkLAAAAJOEBQAAYJKwAAAATBIWAACAScICAAAwSVjYoarqXlX1r1X1sap60BLruHdVHVjW+x9vVdVVtWuO4R5WVX+7gPc/p6p+9VhPl+Wqqm+sqrcdxfiPr6rnHMuaDvP9zz3S5VBV/WFV/c9jPeyxtOz5u51V1Uur6qFHOO5lVXXfY13THO97m3HdecIRjr+Q5fsm7/WCqjr9eLzX+H5VVc+sqg9V1RvGbo+uqveN8+zLDjH+tl1Hbefalk1YWHFV9erxR3vdDb1+OcmTuvuG3f3CLcY/bgu1Td5/ro3reYevqutU1W9X1YFxwfX2qvrdmf5LWflcE4xt6bPjfD/4794z/W9SVX9eVR+vqndU1fdtGP8+VfXWqvpEVf11VZ1yjOo6p6o+vaGuE2b6f1VVXTi+74VV9VUbxn9sVb23qtar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j+id397u7+YIbQcrD+RyZ5ane/vrs/28N1EZ/KEPjm8dwkD6iqLxlfT/7ejmL
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": [
"<Figure size 936x936 with 0 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAxIAAAMACAYAAACw2lFbAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAC9H0lEQVR4nOz9e3ycdZ3//z/f1zWTadr0ZMopTQEhILa1rVotbhE5uIpSqr9vEfcDLB5x1w+ou6u0Hj6oyKpLUXcXYd1FPKGgIl3l7ImCUIRi0ba2FaFyalpOjW1o2mQyM9f798d1TTqHa2auSWaSzORxv90KzTXXzLwzmU7er+v9fr1exlorAAAAAKiGM9YDAAAAANB4CCQAAAAAVI1AAgAAAEDVCCQAAAAAVI1AAgAAAEDVCCQAAAAAVI1AYgIyxiw1xjxujOkzxrxzDMdxijGme6yef7QZY6wxpivCee81xqyrw/N/1xjzr7V+XIwtY8wbjTF/HsH9P2+M+UEtx1Tl8/9wuJ9Dxpj/NsZcWutza2msX9/xzBhzlzHmPcO871PGmDfXekwRnvfI4HenO8z71+XzvcRz/a8x5ozReK7g+Ywx5jvGmD3GmIeDYx82xjwfvGbtFe4/bn9HjeexjTUCiSZmjLk3+AedKLjpC5Kutta2WWt/Vub+o/aBV+L5I028o55vjGkxxnzVGNMdfKg9aYz595zbx+QX00QQvJcyweue/XNKzu0vM8b81Biz3xjztDHm3IL7n26MedQYc8AYc48x5qgajeu7xpjBgnG5ObcvMsY8EjzvI8aYRQX3/2djzHPGmF5jzLdD/q3VnbX2fmvtK0b7eSuJ8ovXGLNA0kJJtwznOay1/2itvbzW544WY8zRwed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s_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"plot_dist(df_nearest, \"totaal\")"
2022-04-13 15:08:29 +02:00
]
},
2022-05-09 20:02:13 +02:00
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 149,
2022-05-09 20:02:13 +02:00
"metadata": {},
2022-05-11 16:40:11 +02:00
"outputs": [],
2022-05-09 20:02:13 +02:00
"source": [
2022-05-11 16:40:11 +02:00
"def print_type(df, label):\n",
" print(\"aantal mobiele stemlokalen groep {}: {}\".format(label, df[df[\"Naam stembureau\"].str.contains(\"Mobiel\")][\"Naam stembureau\"].count()))\n",
" print(\"aantal drive through stemlokalen groep {}: {}\".format(label, df[df[\"Naam stembureau\"].str.contains(\"Drive\")][\"Naam stembureau\"].count()))\n",
" df_publiek = df.dropna(subset=['Extra adresaanduiding'])\n",
" print(\"aantal niet publiek open stemlokalen groep {}: {}\".format(label, df_publiek[df_publiek[\"Extra adresaanduiding\"].str.contains(\"Niet open voor algemeen publiek\")][\"Extra adresaanduiding\"].count()))\n",
" print(\"aantal tent stemlokalen groep {}: {}\".format(label, df[df[\"Naam stembureau\"].str.contains(\"tent\")][\"Naam stembureau\"].count()))\n",
" print(\"aantal parkeerplaats stemlokalen groep {}: {}\".format(label, df[df[\"Naam stembureau\"].str.contains(\"parkeer\")][\"Naam stembureau\"].count()))\n",
" print(\"aantal bus stemlokalen groep {}: {}\".format(label, df[df[\"Naam stembureau\"].str.contains(\"bus\")][\"Naam stembureau\"].count()))"
2022-05-09 20:02:13 +02:00
]
},
2022-04-13 15:08:29 +02:00
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 150,
2022-04-13 15:08:29 +02:00
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
2022-05-11 16:40:11 +02:00
"aantal mobiele stemlokalen groep totaal: 98\n",
"aantal drive through stemlokalen groep totaal: 25\n",
"aantal niet publiek open stemlokalen groep totaal: 89\n",
"aantal tent stemlokalen groep totaal: 13\n",
"aantal parkeerplaats stemlokalen groep totaal: 13\n",
"aantal bus stemlokalen groep totaal: 23\n",
"\n",
"\n",
"aantal mobiele stemlokalen groep 0-10.000: 3\n",
"aantal drive through stemlokalen groep 0-10.000: 1\n",
"aantal niet publiek open stemlokalen groep 0-10.000: 3\n",
"aantal tent stemlokalen groep 0-10.000: 0\n",
"aantal parkeerplaats stemlokalen groep 0-10.000: 0\n",
"aantal bus stemlokalen groep 0-10.000: 0\n",
2022-04-13 15:08:29 +02:00
"\n",
"\n",
2022-05-11 16:40:11 +02:00
"aantal mobiele stemlokalen groep 10.000-30.000: 30\n",
"aantal drive through stemlokalen groep 10.000-30.000: 5\n",
"aantal niet publiek open stemlokalen groep 10.000-30.000: 27\n",
"aantal tent stemlokalen groep 10.000-30.000: 3\n",
"aantal parkeerplaats stemlokalen groep 10.000-30.000: 8\n",
"aantal bus stemlokalen groep 10.000-30.000: 5\n",
2022-04-13 15:08:29 +02:00
"\n",
"\n",
2022-05-11 16:40:11 +02:00
"aantal mobiele stemlokalen groep 30.000-60.000: 39\n",
"aantal drive through stemlokalen groep 30.000-60.000: 7\n",
"aantal niet publiek open stemlokalen groep 30.000-60.000: 25\n",
"aantal tent stemlokalen groep 30.000-60.000: 0\n",
"aantal parkeerplaats stemlokalen groep 30.000-60.000: 1\n",
"aantal bus stemlokalen groep 30.000-60.000: 9\n",
2022-04-13 15:08:29 +02:00
"\n",
"\n",
2022-05-11 16:40:11 +02:00
"aantal mobiele stemlokalen groep 60.000-100.000: 10\n",
"aantal drive through stemlokalen groep 60.000-100.000: 7\n",
"aantal niet publiek open stemlokalen groep 60.000-100.000: 11\n",
"aantal tent stemlokalen groep 60.000-100.000: 5\n",
"aantal parkeerplaats stemlokalen groep 60.000-100.000: 0\n",
"aantal bus stemlokalen groep 60.000-100.000: 0\n",
2022-04-13 15:08:29 +02:00
"\n",
"\n",
2022-05-11 16:40:11 +02:00
"aantal mobiele stemlokalen groep 100.000-350.000: 16\n",
"aantal drive through stemlokalen groep 100.000-350.000: 5\n",
"aantal niet publiek open stemlokalen groep 100.000-350.000: 23\n",
"aantal tent stemlokalen groep 100.000-350.000: 3\n",
"aantal parkeerplaats stemlokalen groep 100.000-350.000: 4\n",
"aantal bus stemlokalen groep 100.000-350.000: 9\n",
"\n",
"\n",
2022-05-16 16:11:50 +02:00
"aantal mobiele stemlokalen groep >350.000: 0\n",
"aantal drive through stemlokalen groep >350.000: 0\n",
"aantal niet publiek open stemlokalen groep >350.000: 0\n",
"aantal tent stemlokalen groep >350.000: 2\n",
"aantal parkeerplaats stemlokalen groep >350.000: 0\n",
"aantal bus stemlokalen groep >350.000: 0\n",
2022-05-11 16:40:11 +02:00
"\n",
"\n"
2022-04-13 15:08:29 +02:00
]
}
],
2022-05-11 16:40:11 +02:00
"source": [
"print_type(gdf_wims_dedupe, \"totaal\")\n",
"print(\"\\n\")\n",
"\n",
"def make_print_type(label):\n",
" df_stemger_label = df_stemger_clean[df_stemger_clean['binned'].str.fullmatch(label)]\n",
" print_type(filter_binned(gdf_wims_dedupe, df_stemger_label), label)\n",
"\n",
"for label in labels: \n",
" make_print_type(label)\n",
" print(\"\\n\")"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 151,
2022-05-11 16:40:11 +02:00
"metadata": {},
"outputs": [],
"source": [
"#print(list(gdf_wims_dedupe))\n",
"\n",
"#print(list(df_stemger_clean))\n",
"\n",
"\n",
"#gdf_wims_dedupe.rename(columns = {'CBS gemeentecode': 'gemeentecode'}, inplace = True)\n",
"#wims_merged = pd.merge(gdf_wims_dedupe, df_stemger_clean, on=['gemeentecode'])\n",
"#wims_merged.rename(columns = {'binned': 'staffel'}, inplace = True)\n",
"#wims_merged.to_csv(path_or_buf='../data/export/openingstijden_alle_staffels.csv', sep=';', na_rep='', header=True, date_format = '%m-%d %H:%M')\n",
"\n",
"#df_nearest.rename(columns = {'CBS gemeentecode': 'gemeentecode'}, inplace = True)\n",
"#df_merged = pd.merge(df_nearest, df_stemger_clean, on=['gemeentecode'])\n",
"#df_merged.rename(columns = {'binned': 'staffel'}, inplace = True)\n",
"#df_merged.to_csv(path_or_buf='../data/export/afstand_alle_staffels.csv', sep=';', na_rep='', header=True, date_format = '%m-%d %H:%M')"
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 152,
2022-05-11 16:40:11 +02:00
"metadata": {},
"outputs": [],
2022-04-13 15:08:29 +02:00
"source": [
"#de eerste vijf rijen zijn meta-data en kunnen we gerust weghalen voor nu \n",
2022-05-11 16:40:11 +02:00
"#df_gr_gr = pd.read_csv(r'../data/stemmen/01_Groningen/#osv4-3_telling_gr2022_groningen.csv', skiprows=5, header=None, delimiter=';')\n",
"#print(df_gr_gr)"
2022-04-13 15:08:29 +02:00
]
},
2022-05-16 16:11:50 +02:00
{
"cell_type": "code",
"execution_count": 169,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<AxesSubplot:xlabel='type'>"
]
},
"execution_count": 169,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAv0AAANyCAYAAADxV3StAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAABuX0lEQVR4nO3de3xV1Zn/8e/DHRQEFGwgKEIYREgIECRo6w0QLwgULc1IBUTtqCitWqdUx9HWdmRGx3YoVgYKFv1FqTcudQSv0IqKQCDIVaOi5VYEVEQlAvH5/XEORwK5QU6yk8Xn/XrxSvZl7f0kB9jfs8/aa5m7CwAAAEC46kRdAAAAAICqRegHAAAAAkfoBwAAAAJH6AcAAAACR+gHAAAAAlcv6gIk6aSTTvL27dtHXQYAAABQq+Xl5e1w91aHrq8Rob99+/ZatmxZ1GUAAAAAtZqZfVTSerr3AAAAAIEj9AMAAACBI/QDAAAAgasRffoBAABqon379mnTpk0qLCyMuhSgmEaNGik1NVX169ev0P6EfgAAgFJs2rRJTZs2Vfv27WVmUZcDSJLcXTt37tSmTZt02mmnVagN3XsAAABKUVhYqBNPPJHAjxrFzHTiiSce0SdQhH4AAIAyEPhREx3p30tCPwAAABA4Qj8AAMAxxsx02223JZYfeOAB3XPPPdVex5/+9Cdt2bKl3P3Wr1+vzMxM9ejRQ++//74mTpyoLl26aMSIEaW2WbhwoQYNGpTMcms1Qj8AAMAxpmHDhnr22We1Y8eOSOuoaOifPXu2hgwZohUrVqhjx476wx/+oOeff165ubnVUGUYCP0AAADHmHr16unHP/6xfvvb3x627aOPPlK/fv2UkZGhfv366e9//7skafTo0Ro3bpzOOussdejQQU8//XSizf3336/evXsrIyNDd99992HHLCoq0ujRo9WtWzelp6frt7/9rZ5++mktW7ZMI0aMUGZmpvbs2aNf/epX6t27t7p166Yf//jHcnc9//zz+t3vfqc//vGPOv/883X99dfrgw8+0ODBg/Xb3/5WX375pcaMGaPevXurR48emjNnTtX94moxQj8AAMAxaOzYscrNzdWuXbuKrb/ppps0cuRIvf322xoxYoTGjRuX2LZ161YtWrRIzz33nMaPHy9JevHFF1VQUKAlS5YoPz9feXl5+tvf/lbsmPn5+dq8ebNWr16tVatW6eqrr9YVV1yhrKws5ebmKj8/X40bN9ZNN92kpUuXavXq1dqzZ4+ee+45XXLJJbr++ut1yy23aMGCBZo8ebLatGmjBQsW6JZbbtFvfvMbXXDBBVq6dKkWLFig22+/XV9++WXV/wJrGUI/AADAMahZs2YaOXKkJk6cWGz9m2++qSuvvFKSdNVVV2nRokWJbUOHDlWdOnV0xhlnaNu2bZJiof/FF19Ujx491LNnT61fv14FBQXFjtmhQwd98MEHuvnmmzV//nw1a9asxJoWLFigPn36KD09Xa+++qrWrFlT7s/x4osvasKECcrMzNR5552nwsLCxKcT+BaTcwEAAByjfvrTn6pnz566+uqrS93n4KEhGzZsmPje3RNff/GLX+hf/uVfSj1GixYttHLlSr3wwgt66KGH9OSTT2r69OnF9iksLNSNN96o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78oSD0AwAA1GDTp0/XsGHDVLdu3aQet6KhvyLmzZungoICFRQUaMqUKbrhhhtK3K9ly5aaOHGifvaznxVbX1RUpLFjx2revHlau3atnnjiiRJrK+08ZbWfMGGC+vXrp4KCAvXr1y/xhiA9PV2bNm3S3//+96T8Dmo6Qj8AAEANlpubqyFDhkiSvvjiC/Xr1089e/ZUenq65syZk9hv6NCh6tWrl7p27aopU6Yk1h9//PG688471b17d2VnZ2vbtm164403NHfuXN1+++3KzMzU+++/r6lTp6p3797q3r27Lr/8cn311VcVrnHOnDkaOXKkzEzZ2dn67LPPtHXr1sP2a926tXr37q369esXW79kyRKlpaWpQ4cOatCggXJycor9bOWdp6z2c+bM0ahRsfFnRo0apdmzZyeOd9lll2nmzJkV/jlrM0I/AABADbV371598MEHat++vSSpUaNGmjVrlpYvX64FCxbotttuk3tsSqTp06crLy9Py5Yt08SJE7Vz505J0pdffqns7GytXLlS55xzjqZOnaqzzjpLgwcP1v3336/8/Hx17NhRw4YN09KlS7Vy5Up16dJF06ZNq3CdmzdvVrt2347anpqaqs2bNye9fWn7ldV+27ZtSklJkSSlpKTo448/TuyXlZWl1157rcJ11mblPsgLAACAaOzYsUPNmzdPLLu77rjjDv3tb39TnTp1tHnzZm3btk3f+c53NHHiRM2aNUuStHHjRhUUFOjEE09UgwYNNGjQIElSr1699NJLL5V4rtWrV+vf/u3f9Nlnn+mLL77QwIEDK1zngTceBzMrac7WyrUvbb+jPX/r1q21ZcuxMaUUd/oBAABqqMaNG6uwsDCxnJubq+3btysvL0/5+fk6+eSTVVhYqIULF+rll1/Wm2++qZUrV6pHjx6JdvXr108E4Lp162r//v0lnmv06NGaNGmSVq1apbvvvrvYecuTmpqqjRs3JpY3bdqkNm3a6KGHHlJmZqYyMzPLDNelta/ofmW1P/nkkxNdjbZu3arWrVsn9issLFTjxo0r/HPWZtzpBwAAqKDqHmKzRYsWKioqUmFhoRo1aqRdu3apdevWql+/vhYsWKCPPvpIkrRr1y61aNFCTZo00fr167V48eJyj920aVPt3r07sbx7926lpKRo3759ys3NVdu2bQ9rM2nSJEnSTTfdVGz94MGDNWnSJOXk5Oitt97SCSecoJSUFI0dO1Zjx44tt5bevXuroKBAGzZsUNu2bTVz5kw9/vjjh+1X2nlatWpVavvBgwdrxowZGj9+vGbMmJF
"text/plain": [
"<Figure size 936x936 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"counts = {'type': [],\n",
" 'aantal': [],\n",
" 'staffel': []}\n",
"def graph_type(df, label):\n",
" \n",
" counts['type'].append(\"Mobiel stemlokaal\") \n",
" counts['aantal'].append(df[df[\"Naam stembureau\"].str.contains(\"Mobiel\")][\"Naam stembureau\"].count())\n",
" counts['staffel'].append(label)\n",
" counts['type'].append(\"Drive-through stemlokaal\")\n",
" counts['aantal'].append(df[df[\"Naam stembureau\"].str.contains(\"Drive\")][\"Naam stembureau\"].count())\n",
" counts['staffel'].append(label)\n",
" df_publiek = df.dropna(subset=['Extra adresaanduiding'])\n",
" counts['type'].append(\"Niet open algemeen publiek\")\n",
" counts['aantal'].append(df_publiek[df_publiek[\"Extra adresaanduiding\"].str.contains(\"Niet open voor algemeen publiek\")][\"Extra adresaanduiding\"].count())\n",
" counts['staffel'].append(label)\n",
" counts['type'].append(\"Tent stemlokaal\")\n",
" counts['aantal'].append(df[df[\"Naam stembureau\"].str.contains(\"tent\")][\"Naam stembureau\"].count())\n",
" counts['staffel'].append(label)\n",
" counts['type'].append(\"Parkeerplaats stemlokaal\")\n",
" counts['aantal'].append(df[df[\"Naam stembureau\"].str.contains(\"parkeer\")][\"Naam stembureau\"].count())\n",
" counts['staffel'].append(label)\n",
" counts['type'].append(\"Bus stemlokaal\")\n",
" counts['aantal'].append(df[df[\"Naam stembureau\"].str.contains(\"bus\")][\"Naam stembureau\"].count())\n",
" counts['staffel'].append(label)\n",
"\n",
"def make_graph_type_2(label):\n",
" df_stemger_label = df_stemger_clean[df_stemger_clean['binned'].str.fullmatch(label)]\n",
" graph_type(filter_binned(gdf_wims_dedupe, df_stemger_label), label)\n",
"\n",
"for label in labels: \n",
" make_graph_type_2(label)\n",
"\n",
"pd.DataFrame(counts).pivot(index='type', columns=['staffel'], values=['aantal']).plot(kind=\"bar\", stacked=True, figsize=(13,13))\n"
]
},
2022-04-13 15:08:29 +02:00
{
"cell_type": "markdown",
"metadata": {},
"source": [
"De data is heel gecompliceerd, dus we moeten het bruikbaar maken in pandas. Met hoe de data eruit ziet in een CSV in libre office willen we een constructie maken van de verschillende onderdelen. We hebben de data van de stemlokalen apart al, die kunnen we dus negeren. We willen de data van de lijsten apart hebben. "
]
},
{
"cell_type": "code",
2022-05-16 16:11:50 +02:00
"execution_count": 154,
2022-04-13 15:08:29 +02:00
"metadata": {},
"outputs": [],
"source": [
"\n",
"#TODO:mobiele stemlokalen eruit filteren die NIET 0,0 zijn\n",
"#TODO:datastandaard duitse verkiezingen stemlokaalafstand opzoeken"
]
}
],
"metadata": {
"kernelspec": {
2022-05-12 13:24:22 +02:00
"display_name": "Python 3 (ipykernel)",
2022-04-13 15:08:29 +02:00
"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",
2022-05-04 16:38:33 +02:00
"version": "3.10.4"
2022-05-09 18:30:16 +02:00
},
"vscode": {
"interpreter": {
"hash": "3f7157711c67e7ebfc0cc7689d725ee0494e8877e666bd284df94ccbb1347e28"
}
2022-04-13 15:08:29 +02:00
}
2022-03-29 17:09:40 +02:00
},
"nbformat": 4,
"nbformat_minor": 2
}