{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "9de5907f-18f5-4cb1-903e-26028ff1fa03", "metadata": { "execution": { "iopub.execute_input": "2023-01-17T17:37:37.394604Z", "iopub.status.busy": "2023-01-17T17:37:37.394125Z", "iopub.status.idle": "2023-01-17T17:37:37.401648Z", "shell.execute_reply": "2023-01-17T17:37:37.401042Z" } }, "outputs": [], "source": [ "import os\n", "import sys\n", "\n", "module_path = os.path.abspath(os.path.join('..'))\n", "if module_path not in sys.path:\n", " sys.path.append(module_path)\n" ] }, { "cell_type": "code", "execution_count": 2, "id": "640be762", "metadata": { "execution": { "iopub.execute_input": "2023-01-17T17:37:37.404116Z", "iopub.status.busy": "2023-01-17T17:37:37.403927Z", "iopub.status.idle": "2023-01-17T17:37:37.904770Z", "shell.execute_reply": "2023-01-17T17:37:37.904183Z" } }, "outputs": [], "source": [ "import pandas as pd\n", "from DateProvider import DateProvider\n", "from datetime import datetime\n", "from ColumnsAdder import ColumnsAdder\n", "from MedianOfFreeBedsByKreisTableFactory import MedianOfFreeBedsByKreisTableFactory\n", "from TimeseriesReader import readTimeseries\n", "from IntensivstationenHtmlFileUpdater import saveLastUpdatedIntensivstationen, saveKreisOptions\n", "from KreiseReader import readKreise\n", "from KreisOptionsProvider import getKreisOptionsAndAlleLandkreise\n", "from IntensiveCareBedsPersister import getAndPersistIntensiveCareBeds4AlleKreise\n", "from Chart import createMedianOfFreeBedsByKreisChart\n", "\n", "\n", "pd.set_option('display.max_rows', 100)\n", "pd.set_option('display.max_columns', None)\n", "pd.set_option('mode.chained_assignment', 'raise')\n" ] }, { "cell_type": "code", "execution_count": 3, "id": "e40d4c8d", "metadata": { "execution": { "iopub.execute_input": "2023-01-17T17:37:37.908094Z", "iopub.status.busy": "2023-01-17T17:37:37.907544Z", "iopub.status.idle": "2023-01-17T17:37:37.912078Z", "shell.execute_reply": "2023-01-17T17:37:37.910743Z" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "17.01.2023, 17:37:37 Uhr\n" ] } ], "source": [ "print(datetime.now().strftime(\"%d.%m.%Y, %H:%M:%S Uhr\"))" ] }, { "cell_type": "code", "execution_count": 4, "id": "336f56e6", "metadata": { "execution": { "iopub.execute_input": "2023-01-17T17:37:37.914630Z", "iopub.status.busy": "2023-01-17T17:37:37.914193Z", "iopub.status.idle": "2023-01-17T17:37:49.924558Z", "shell.execute_reply": "2023-01-17T17:37:49.923999Z" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ " lastUpdated: 2023-01-17 11:49:00\n", "lastUpdatedDataSource: 2023-01-17 11:49:00\n", "needsUpdate: True\n" ] } ], "source": [ "dateProvider = DateProvider()\n", "print(' lastUpdated:', dateProvider.getLastUpdated())\n", "print('lastUpdatedDataSource:', dateProvider.getLastUpdatedDataSource()) \n", "needsUpdate = True # dateProvider.needsUpdate()\n", "print('needsUpdate:', needsUpdate)" ] }, { "cell_type": "code", "execution_count": 5, "id": "63be303c", "metadata": { "execution": { "iopub.execute_input": "2023-01-17T17:37:49.928436Z", "iopub.status.busy": "2023-01-17T17:37:49.927933Z", "iopub.status.idle": "2023-01-17T17:37:49.948613Z", "shell.execute_reply": "2023-01-17T17:37:49.948082Z" } }, "outputs": [], "source": [ "saveLastUpdatedIntensivstationen(\n", " dateProvider.getLastUpdatedDataSource(),\n", " toHtmlFile = \"../../docs/intensivstationen.html\")" ] }, { "cell_type": "code", "execution_count": 6, "id": "3f992231", "metadata": { "execution": { "iopub.execute_input": "2023-01-17T17:37:49.951179Z", "iopub.status.busy": "2023-01-17T17:37:49.950887Z", "iopub.status.idle": "2023-01-17T17:37:53.914217Z", "shell.execute_reply": "2023-01-17T17:37:53.913478Z" } }, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
datebundeslandgemeindeschluesselbetten_freibetten_belegtKreisEinwohnerzahlBundesland
02020-04-2401010014038Flensburg, Stadt89934.0Schleswig-Holstein
2672020-04-24090947199Bamberg147497.0Bayern
2662020-04-2409094641723Hof45173.0Bayern
2652020-04-240909463925Coburg40842.0Bayern
2642020-04-2409094621251Bayreuth74048.0Bayern
...........................
3951412023-01-1706064373141Odenwaldkreis96754.0Hessen
3951402023-01-170606436317Main-Taunus-Kreis239264.0Hessen
3951392023-01-170606435864Main-Kinzig-Kreis421689.0Hessen
3951372023-01-170606433122Groß-Gerau275807.0Hessen
3954102023-01-171616077820Altenburger Land88356.0Thüringen
\n", "

395411 rows × 8 columns

\n", "
" ], "text/plain": [ " date bundesland gemeindeschluessel betten_frei betten_belegt \\\n", "0 2020-04-24 01 01001 40 38 \n", "267 2020-04-24 09 09471 9 9 \n", "266 2020-04-24 09 09464 17 23 \n", "265 2020-04-24 09 09463 9 25 \n", "264 2020-04-24 09 09462 12 51 \n", "... ... ... ... ... ... \n", "395141 2023-01-17 06 06437 3 141 \n", "395140 2023-01-17 06 06436 3 17 \n", "395139 2023-01-17 06 06435 8 64 \n", "395137 2023-01-17 06 06433 1 22 \n", "395410 2023-01-17 16 16077 8 20 \n", "\n", " Kreis Einwohnerzahl Bundesland \n", "0 Flensburg, Stadt 89934.0 Schleswig-Holstein \n", "267 Bamberg 147497.0 Bayern \n", "266 Hof 45173.0 Bayern \n", "265 Coburg 40842.0 Bayern \n", "264 Bayreuth 74048.0 Bayern \n", "... ... ... ... \n", "395141 Odenwaldkreis 96754.0 Hessen \n", "395140 Main-Taunus-Kreis 239264.0 Hessen \n", "395139 Main-Kinzig-Kreis 421689.0 Hessen \n", "395137 Groß-Gerau 275807.0 Hessen \n", "395410 Altenburger Land 88356.0 Thüringen \n", "\n", "[395411 rows x 8 columns]" ] }, "execution_count": 6, "metadata": {}, "output_type": "execute_result" } ], "source": [ "timeSeries = readTimeseries(download = needsUpdate)\n", "timeSeries" ] }, { "cell_type": "code", "execution_count": 7, "id": "356494d3", "metadata": { "execution": { "iopub.execute_input": "2023-01-17T17:37:53.916967Z", "iopub.status.busy": "2023-01-17T17:37:53.916644Z", "iopub.status.idle": "2023-01-17T17:37:54.035557Z", "shell.execute_reply": "2023-01-17T17:37:54.034986Z" } }, "outputs": [], "source": [ "kreisValues = sorted(timeSeries['Kreis'].drop_duplicates().values)\n", "saveKreisOptions(\n", " kreisOptions = getKreisOptionsAndAlleLandkreise(kreisValues),\n", " toHtmlFile = \"../../docs/intensivstationen.html\")" ] }, { "cell_type": "code", "execution_count": 8, "id": "349edd73", "metadata": { "execution": { "iopub.execute_input": "2023-01-17T17:37:54.038630Z", "iopub.status.busy": "2023-01-17T17:37:54.038155Z", "iopub.status.idle": "2023-01-17T17:38:05.463567Z", "shell.execute_reply": "2023-01-17T17:38:05.463008Z" } }, "outputs": [ { "data": { "text/plain": [ "None" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Ahrweiler'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Aichach-Friedberg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Alb-Donau-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Altenburger Land'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Altenkirchen (Westerwald)'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Altmarkkreis Salzwedel'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Altötting'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Alzey-Worms'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Amberg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Amberg-Sulzbach'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Ammerland'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Anhalt-Bitterfeld'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Ansbach'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Aschaffenburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Augsburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Aurich'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Bad Dürkheim'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Bad Kissingen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Bad Kreuznach'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Bad Tölz-Wolfratshausen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Baden-Baden, Stadtkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Bamberg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Barnim'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Bautzen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Bayreuth'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Berchtesgadener Land'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Bergstraße'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Berlin, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Bernkastel-Wittlich'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Biberach'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Bielefeld, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Birkenfeld'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Bochum, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Bodenseekreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Bonn, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Borken'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Bottrop, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Brandenburg an der Havel, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Braunschweig, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Breisgau-Hochschwarzwald'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Bremen, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Bremerhaven, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Burgenlandkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Böblingen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Börde'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Calw'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Celle'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Cham'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Chemnitz, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Cloppenburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Coburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Cochem-Zell'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Coesfeld'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Cottbus, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Cuxhaven'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Dachau'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Dahme-Spreewald'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Darmstadt, Wissenschaftsstadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Darmstadt-Dieburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Deggendorf'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Delmenhorst, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Dessau-Roßlau, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Diepholz'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Dillingen a.d.Donau'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Dingolfing-Landau'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Dithmarschen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Donau-Ries'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Donnersbergkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Dortmund, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Dresden, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Duisburg, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Düren'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Düsseldorf, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Ebersberg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Eichsfeld'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Eichstätt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Eifelkreis Bitburg-Prüm'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Elbe-Elster'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Emden, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Emmendingen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Emsland'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Ennepe-Ruhr-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Enzkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Erding'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Erfurt, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Erlangen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Erlangen-Höchstadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Erzgebirgskreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Essen, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Esslingen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Euskirchen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Flensburg, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Forchheim'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Frankenthal (Pfalz), kreisfreie Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Frankfurt (Oder), Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Frankfurt am Main, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Freiburg im Breisgau, Stadtkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Freising'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Freudenstadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Freyung-Grafenau'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Friesland'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Fulda'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Fürstenfeldbruck'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Fürth'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Garmisch-Partenkirchen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Gelsenkirchen, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Gera, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Germersheim'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Gießen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Gifhorn'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Goslar'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Gotha'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Grafschaft Bentheim'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Greiz'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Groß-Gerau'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Göppingen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Görlitz'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Göttingen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Günzburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Gütersloh'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Hagen, Stadt der FernUniversität'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Halle (Saale), Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Hamburg, Freie und Hansestadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Hameln-Pyrmont'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Hamm, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Harburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Harz'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Havelland'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Haßberge'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Heidekreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Heidelberg, Stadtkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Heidenheim'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Heilbronn'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Heilbronn, Stadtkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Heinsberg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Helmstedt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Herford'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Herne, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Hersfeld-Rotenburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Herzogtum Lauenburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Hildburghausen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Hildesheim'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Hochsauerlandkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Hochtaunuskreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Hof'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Hohenlohekreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Holzminden'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Höxter'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Ilm-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Ingolstadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Jena, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Jerichower Land'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Kaiserslautern'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Kaiserslautern, kreisfreie Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Karlsruhe'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Karlsruhe, Stadtkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Kassel'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Kassel, documenta-Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Kaufbeuren'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Kelheim'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Kempten (Allgäu)'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Kiel, Landeshauptstadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Kitzingen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Kleve'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Koblenz, kreisfreie Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Konstanz'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Krefeld, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Kronach'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Kulmbach'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Kusel'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Kyffhäuserkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Köln, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Lahn-Dill-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Landau in der Pfalz, kreisfreie Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Landkreis Rostock'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Landsberg am Lech'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Landshut'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Leer'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Leipzig'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Leipzig, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Leverkusen, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Lichtenfels'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Limburg-Weilburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Lindau (Bodensee)'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Lippe'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Ludwigsburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Ludwigshafen am Rhein, kreisfreie Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Ludwigslust-Parchim'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Lörrach'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Lübeck, Hansestadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Lüchow-Dannenberg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Lüneburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Magdeburg, Landeshauptstadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Main-Kinzig-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Main-Spessart'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Main-Tauber-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Main-Taunus-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Mainz, kreisfreie Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Mainz-Bingen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Mannheim, Stadtkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Mansfeld-Südharz'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Marburg-Biedenkopf'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Mayen-Koblenz'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Mecklenburgische Seenplatte'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Meißen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Memmingen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Merzig-Wadern'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Mettmann'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Miesbach'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Miltenberg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Minden-Lübbecke'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Mittelsachsen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Märkisch-Oderland'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Märkischer Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Mönchengladbach, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Mühldorf a.Inn'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Mülheim an der Ruhr, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'München'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'München, Landeshauptstadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Münster, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Neckar-Odenwald-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Neu-Ulm'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Neuburg-Schrobenhausen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Neumarkt i.d.OPf.'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Neumünster, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Neunkirchen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Neustadt a.d.Aisch-Bad Windsheim'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Neustadt an der Weinstraße, kreisfreie Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Neuwied'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Nienburg (Weser)'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Nordfriesland'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Nordhausen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Nordsachsen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Nordwestmecklenburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Northeim'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Nürnberg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Nürnberger Land'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Oberallgäu'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Oberbergischer Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Oberhausen, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Oberhavel'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Oberspreewald-Lausitz'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Odenwaldkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Oder-Spree'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Offenbach'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Offenbach am Main, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Oldenburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Oldenburg (Oldenburg), Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Olpe'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Ortenaukreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Osnabrück'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Osnabrück, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Ostalbkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Ostallgäu'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Osterholz'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Ostholstein'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Ostprignitz-Ruppin'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Paderborn'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Passau'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Peine'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Pfaffenhofen a.d.Ilm'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Pforzheim, Stadtkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Pinneberg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Pirmasens, kreisfreie Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Plön'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Potsdam, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Potsdam-Mittelmark'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Prignitz'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Rastatt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Ravensburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Recklinghausen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Regen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Regensburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Region Hannover'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Regionalverband Saarbrücken'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Rems-Murr-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Remscheid, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Rendsburg-Eckernförde'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Reutlingen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Rhein-Erft-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Rhein-Hunsrück-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Rhein-Kreis Neuss'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Rhein-Lahn-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Rhein-Neckar-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Rhein-Sieg-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Rheingau-Taunus-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Rheinisch-Bergischer Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Rhön-Grabfeld'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Rosenheim'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Rostock'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Rotenburg (Wümme)'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Roth'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Rottal-Inn'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Rottweil'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Saale-Holzland-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Saale-Orla-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Saalekreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Saalfeld-Rudolstadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Saarlouis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Saarpfalz-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Salzgitter, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Salzlandkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Schaumburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Schleswig-Flensburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Schmalkalden-Meiningen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Schwabach'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Schwalm-Eder-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Schwandorf'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Schwarzwald-Baar-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Schweinfurt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Schwerin'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Schwäbisch Hall'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Segeberg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Siegen-Wittgenstein'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Sigmaringen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Soest'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Solingen, Klingenstadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Sonneberg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Speyer, kreisfreie Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Spree-Neiße'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'St. Wendel'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Stade'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Starnberg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Steinburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Steinfurt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Stendal'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Stormarn'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Straubing'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Straubing-Bogen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Stuttgart, Stadtkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Städteregion Aachen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Suhl, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Sächsische Schweiz-Osterzgebirge'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Sömmerda'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Südliche Weinstraße'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Südwestpfalz'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Teltow-Fläming'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Tirschenreuth'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Traunstein'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Trier, kreisfreie Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Trier-Saarburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Tuttlingen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Tübingen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Uckermark'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Uelzen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Ulm, Stadtkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Unna'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Unstrut-Hainich-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Unterallgäu'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Vechta'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Verden'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Viersen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Vogelsbergkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Vogtlandkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Vorpommern-Greifswald'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Vorpommern-Rügen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Vulkaneifel'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Waldeck-Frankenberg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Waldshut'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Warendorf'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Wartburgkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Weiden i.d.OPf.'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Weilheim-Schongau'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Weimar, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Weimarer Land'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Weißenburg-Gunzenhausen'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Werra-Meißner-Kreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Wesel'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Wesermarsch'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Westerwaldkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Wetteraukreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Wiesbaden, Landeshauptstadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Wilhelmshaven, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Wittenberg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Wittmund'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Wolfenbüttel'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Wolfsburg, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Worms, kreisfreie Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Wunsiedel i.Fichtelgebirge'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Wuppertal, Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Würzburg'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Zollernalbkreis'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Zweibrücken, kreisfreie Stadt'" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "'Zwickau'" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "getAndPersistIntensiveCareBeds4AlleKreise(\n", " timeSeries,\n", " intensivstationenDataDir = '../../docs/data/intensivstationen',\n", " kreisValues = kreisValues)\n" ] }, { "cell_type": "code", "execution_count": 9, "id": "f10704f3", "metadata": { "execution": { "iopub.execute_input": "2023-01-17T17:38:05.466465Z", "iopub.status.busy": "2023-01-17T17:38:05.466009Z", "iopub.status.idle": "2023-01-17T17:38:05.506498Z", "shell.execute_reply": "2023-01-17T17:38:05.505937Z" } }, "outputs": [], "source": [ "medianOfFreeBedsByKreisTable = MedianOfFreeBedsByKreisTableFactory(timeSeries).createMedianOfFreeBedsByKreisTable('Kreis')\n", "medianOfFreeBedsByKreisTable.reset_index().to_json(\n", " '../../docs/data/intensivstationen/medianOfFreeBedsByKreisTable.json',\n", " orient = \"records\")" ] }, { "cell_type": "code", "execution_count": 10, "id": "d1b75357", "metadata": { "execution": { "iopub.execute_input": "2023-01-17T17:38:05.509290Z", "iopub.status.busy": "2023-01-17T17:38:05.508917Z", "iopub.status.idle": "2023-01-17T17:38:05.512533Z", "shell.execute_reply": "2023-01-17T17:38:05.511886Z" } }, "outputs": [], "source": [ "def getChartTitle(dateStart, dateEnd):\n", " def formatDate(date):\n", " return date.strftime(\"%d.%m.%Y\")\n", "\n", " return f\"Median freier Intensivbetten im Zeitraum {formatDate(dateStart)} bis {formatDate(dateEnd)}\"" ] }, { "cell_type": "code", "execution_count": 11, "id": "8b392b34", "metadata": { "execution": { "iopub.execute_input": "2023-01-17T17:38:05.514984Z", "iopub.status.busy": "2023-01-17T17:38:05.514693Z", "iopub.status.idle": "2023-01-17T17:38:09.475442Z", "shell.execute_reply": "2023-01-17T17:38:09.474814Z" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "publishChart: {'data': {'publicId': 'dYmYb', 'language': 'de-DE', 'theme': 'datawrapper', 'id': 'dYmYb', 'type': 'd3-maps-choropleth', 'title': 'Median freier Intensivbetten im Zeitraum 24.04.2020 bis 17.01.2023', 'lastEditStep': 5, 'publishedAt': '2023-01-17T17:38:09.316Z', 'publicUrl': 'https://datawrapper.dwcdn.net/dYmYb/321/', 'publicVersion': 321, 'deleted': False, 'deletedAt': None, 'forkable': True, 'isFork': False, 'metadata': {'data': {'changes': [], 'transpose': False, 'vertical-header': True, 'horizontal-header': True, 'column-format': {'ags': {'type': 'text'}, 'Kreis': {'type': 'text'}, 'Einwohnerzahl': {'type': 'number', 'number-append': '', 'number-format': 'auto', 'number-divisor': 0, 'number-prepend': ''}, 'gemeindeschluessel': {'type': 'text'}, 'median_free_beds_in_percent': {'type': 'number'}}, 'upload-method': 'upload'}, 'describe': {'source-name': 'Landkreis-Daten', 'source-url': 'https://www.intensivregister.de/#/aktuelle-lage/downloads', 'intro': '', 'byline': '', 'aria-description': '', 'number-format': '-', 'number-divisor': 0, 'number-append': '', 'number-prepend': '', 'hide-title': False}, 'visualize': {'dark-mode-invert': True, 'highlighted-series': [], 'highlighted-values': [], 'sharing': {'enabled': False, 'auto': True}, 'labels': {'max': 33, 'type': 'places', 'places': [], 'enabled': False}, 'legend': {'size': 170, 'title': '', 'labels': 'ranges', 'enabled': True, 'reverse': True, 'labelMax': 'high', 'labelMin': 'low', 'position': 'mt', 'hideItems': [], 'offsetTop': 0, 'offsetLeft': 0, 'interactive': True, 'labelCenter': 'medium', 'labelFormat': '0%', 'orientation': 'horizontal', 'customLabels': ['Group A', 'Group B', 'Group C']}, 'basemap': 'germany-kreise-2021', 'tooltip': {'body': 'Median freier Intensivbetten: {{ FORMAT(median_free_beds_in_percent, \"0.0%\") }}\\n\\n', 'title': '{{ kreis }}', 'sticky': True, 'enabled': True}, 'zoomable': True, 'map-align': 'center', 'colorscale': {'map': [], 'mode': 'discrete', 'stops': 'custom', 'colors': [{'color': '#F03B20', 'position': 0}, {'color': '#FEB24C', 'position': 0.5}, {'color': '#38A800', 'position': 1}], 'palette': 0, 'rangeMax': '100', 'rangeMin': '0', 'stopCount': 3, 'customStops': [None, '10', '25', None, 45.5, 56.1, None], 'rangeCenter': '', 'categoryOrder': [], 'interpolation': 'equidistant', 'categoryLabels': []}, 'max-height': 650, 'map-padding': 0, 'map-key-attr': 'ags', 'map-type-set': True, 'chart-type-set': True, 'max-map-height': 650, 'min-label-zoom': 1, 'zoom-button-pos': 'br', 'map-label-format': '0,0.[00]', 'text-annotations': [], 'hide-empty-regions': False, 'avoid-label-overlap': True}, 'axes': {'keys': 'gemeindeschluessel', 'values': 'median_free_beds_in_percent'}, 'publish': {'embed-width': 600, 'embed-height': 785, 'blocks': {'logo': {'enabled': False}, 'embed': True, 'download-pdf': False, 'download-svg': False, 'get-the-data': True, 'download-image': True}, 'export-pdf': {}, 'embed-codes': {'embed-method-responsive': '', 'embed-method-iframe': ''}, 'chart-height': 673.13330078125}, 'annotate': {'notes': ''}, 'custom': {}, 'json_error': None}, 'externalData': '', 'utf8': False, 'createdAt': '2022-03-25T16:27:58.000Z', 'lastModifiedAt': '2023-01-17T17:38:09.316Z', 'forkedFrom': None, 'organizationId': None, 'authorId': 433861, 'folderId': None}, 'version': 321, 'url': 'https://datawrapper.dwcdn.net/dYmYb/321/'}\n" ] } ], "source": [ "import os\n", "\n", "createMedianOfFreeBedsByKreisChart(\n", " timeSeries,\n", " chartTitle = getChartTitle(\n", " dateStart=timeSeries['date'].min(),\n", " dateEnd=timeSeries['date'].max()),\n", " accessToken = os.environ['DATAWRAPPER_API_TOKEN'])" ] } ], "metadata": { "kernelspec": { "display_name": "howbadismybatch-venv", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.8" }, "vscode": { "interpreter": { "hash": "1bce2b9b19ce5f16d695ff75ac05095b3e564c169ff454b58b87cb796c0695b8" } } }, "nbformat": 4, "nbformat_minor": 5 }