diff --git a/.renku/workflow/7180e333dbe143b7b2e6124a97e38f5a.cwl b/.renku/workflow/7180e333dbe143b7b2e6124a97e38f5a.cwl new file mode 100644 index 0000000000000000000000000000000000000000..641e33a7a8c0d2cc42d3ac1287abf6a3be1bd661 --- /dev/null +++ b/.renku/workflow/7180e333dbe143b7b2e6124a97e38f5a.cwl @@ -0,0 +1,193 @@ +class: Workflow +cwlVersion: v1.0 +hints: [] +inputs: + input_1: + default: ts_folder + streamable: false + type: string + input_10: + default: + class: Directory + listing: [] + path: ../../data/covid-19_jhu-csse + streamable: false + type: Directory + input_11: + default: rates_folder + streamable: false + type: string + input_12: + default: geodata_path + streamable: false + type: string + input_13: + default: + class: File + path: ../../data/geodata/geo_data.csv + streamable: false + type: File + input_14: + default: + class: File + path: ../../notebooks/Dashboard.ipynb + streamable: false + type: File + input_15: + default: runs/Dashboard.run.ipynb + streamable: false + type: string + input_16: + default: ts_folder + streamable: false + type: string + input_17: + default: runs/ToRates.run.ipynb + streamable: false + type: string + input_18: + default: + class: Directory + listing: [] + path: ../../data/covid-19_jhu-csse + streamable: false + type: Directory + input_19: + default: wb_path + streamable: false + type: string + input_2: + default: + class: Directory + listing: [] + path: ../../data/covid-19_jhu-csse + streamable: false + type: Directory + input_20: + default: + class: File + path: ../../data/worldbank/SP.POP.TOTL.zip + streamable: false + type: File + input_21: + default: geodata_path + streamable: false + type: string + input_22: + default: + class: File + path: ../../data/geodata/geo_data.csv + streamable: false + type: File + input_23: + default: out_folder + streamable: false + type: string + input_24: + default: data/covid-19_rates + streamable: false + type: string + input_25: + default: + class: File + path: ../../notebooks/ToRates.ipynb + streamable: false + type: File + input_3: + default: worldmap_path + streamable: false + type: string + input_4: + default: + class: File + path: ../../data/worldmap/country_centroids.csv + streamable: false + type: File + input_5: + default: out_folder + streamable: false + type: string + input_6: + default: data/geodata + streamable: false + type: string + input_7: + default: + class: File + path: ../../notebooks/CompileGeoData.ipynb + streamable: false + type: File + input_8: + default: runs/CompileGeoData.run.ipynb + streamable: false + type: string + input_9: + default: ts_folder + streamable: false + type: string +outputs: + output_0: + outputSource: step_3/output_0 + streamable: false + type: File + output_1: + outputSource: step_1/output_0 + streamable: false + type: File + output_2: + outputSource: step_3/output_1 + streamable: false + type: Directory + output_3: + outputSource: step_2/output_0 + streamable: false + type: File + output_4: + outputSource: step_1/output_1 + streamable: false + type: Directory +requirements: [] +steps: + step_1: + in: + input_1: input_1 + input_2: input_2 + input_3: input_3 + input_4: input_4 + input_5: input_5 + input_6: input_6 + input_7: input_7 + input_8: input_8 + out: + - output_1 + - output_0 + run: 73781f74e51d4e54bc522007a2030ec2_papermill.cwl + step_2: + in: + input_1: input_9 + input_2: input_10 + input_3: input_11 + input_4: step_3/output_1 + input_5: input_12 + input_6: input_13 + input_7: input_14 + input_8: input_15 + out: + - output_0 + run: 4cc7ffe9d5a045efb048ef2222a40ffa_papermill.cwl + step_3: + in: + input_1: input_16 + input_10: input_17 + input_2: input_18 + input_3: input_19 + input_4: input_20 + input_5: input_21 + input_6: input_22 + input_7: input_23 + input_8: input_24 + input_9: input_25 + out: + - output_1 + - output_0 + run: 2c413376f8aa4ba1a325212655d423e5_papermill.cwl diff --git a/data/covid-19_rates/ts_rates_19-covid-confirmed.csv b/data/covid-19_rates/ts_rates_19-covid-confirmed.csv index 5f01693667fc161754ed54d883094fc932676987..56d95691f40181555a034c001a0adad2c3f8ef56 100644 --- a/data/covid-19_rates/ts_rates_19-covid-confirmed.csv +++ b/data/covid-19_rates/ts_rates_19-covid-confirmed.csv @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:28a118a3e91b2ae986de30fa0f5710868edafea68c2f4192e4cdb78b5ba191c6 -size 63322 +oid sha256:eaf597680f5c0173a9df77b542cbd0b135b864014570eb8e246f2e227bf17109 +size 69756 diff --git a/data/covid-19_rates/ts_rates_19-covid-deaths.csv b/data/covid-19_rates/ts_rates_19-covid-deaths.csv index 80e095d639303aa6be852ee37b5d45063db897d3..1be0fd31e025fd8f0e8f3381daf91e9f37968c53 100644 --- a/data/covid-19_rates/ts_rates_19-covid-deaths.csv +++ b/data/covid-19_rates/ts_rates_19-covid-deaths.csv @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0ca853e24dadb8159536248c56d5a2fa03f61c189c90baaf8b981a140941e58a -size 33935 +oid sha256:1add0765faacbf0777043b63e5f52884dbcc58b0e744fc602fe9d07009905fca +size 39014 diff --git a/data/covid-19_rates/ts_rates_19-covid-recovered.csv b/data/covid-19_rates/ts_rates_19-covid-recovered.csv index e972ff4ba6aed7e2929ff3846c36346235f5c715..eb1ebf6c65fa37419575944edafb1ec0c4cfa83e 100644 --- a/data/covid-19_rates/ts_rates_19-covid-recovered.csv +++ b/data/covid-19_rates/ts_rates_19-covid-recovered.csv @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fe8e68a3ee46a5fb56080256c63795a686d06d731222fa07d54a3250df812f9e -size 44554 +oid sha256:261c4036d5485dc919439f403b3f743142e9953117796e53afd2ee1175f3579e +size 49919 diff --git a/data/geodata/geo_data.csv b/data/geodata/geo_data.csv new file mode 100644 index 0000000000000000000000000000000000000000..37d63a7880e889979c94bd91b982fa1aae083863 --- /dev/null +++ b/data/geodata/geo_data.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10381a7c8b37736eb65cf9c510c8a3fb3cdbd11b3c3c7a53f5a1d5a9e8e5074a +size 34026 diff --git a/runs/CompileGeoData.run.ipynb b/runs/CompileGeoData.run.ipynb index 3d7acfa8ffb9d37698835db89eeed812b7744eda..de20d0961e2d07b09a60e8cb3f9b379cd4f8ec35 100644 --- a/runs/CompileGeoData.run.ipynb +++ b/runs/CompileGeoData.run.ipynb @@ -4,10 +4,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.023649, - "end_time": "2020-03-15T15:40:45.758452", + "duration": 0.025663, + "end_time": "2020-03-15T16:43:49.005977", "exception": false, - "start_time": "2020-03-15T15:40:45.734803", + "start_time": "2020-03-15T16:43:48.980314", "status": "completed" }, "tags": [] @@ -23,10 +23,10 @@ "execution_count": 1, "metadata": { "papermill": { - "duration": 0.297633, - "end_time": "2020-03-15T15:40:46.067382", + "duration": 0.285624, + "end_time": "2020-03-15T16:43:49.302040", "exception": false, - "start_time": "2020-03-15T15:40:45.769749", + "start_time": "2020-03-15T16:43:49.016416", "status": "completed" }, "tags": [] @@ -42,10 +42,10 @@ "execution_count": 2, "metadata": { "papermill": { - "duration": 0.018676, - "end_time": "2020-03-15T15:40:46.104734", + "duration": 0.057379, + "end_time": "2020-03-15T16:43:49.376597", "exception": false, - "start_time": "2020-03-15T15:40:46.086058", + "start_time": "2020-03-15T16:43:49.319218", "status": "completed" }, "tags": [] @@ -62,10 +62,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.008977, - "end_time": "2020-03-15T15:40:46.123525", + "duration": 0.015419, + "end_time": "2020-03-15T16:43:49.400508", "exception": false, - "start_time": "2020-03-15T15:40:46.114548", + "start_time": "2020-03-15T16:43:49.385089", "status": "completed" }, "tags": [ @@ -81,10 +81,10 @@ "execution_count": 3, "metadata": { "papermill": { - "duration": 0.021077, - "end_time": "2020-03-15T15:40:46.152428", + "duration": 0.019117, + "end_time": "2020-03-15T16:43:49.427165", "exception": false, - "start_time": "2020-03-15T15:40:46.131351", + "start_time": "2020-03-15T16:43:49.408048", "status": "completed" }, "tags": [ @@ -94,11 +94,11 @@ "outputs": [], "source": [ "# Parameters\n", - "PAPERMILL_INPUT_PATH = \"notebooks/CompileGeoData.ipynb\"\n", + "PAPERMILL_INPUT_PATH = \"/tmp/262jiqqx/notebooks/CompileGeoData.ipynb\"\n", "PAPERMILL_OUTPUT_PATH = \"runs/CompileGeoData.run.ipynb\"\n", - "ts_folder = \"./data/covid-19_jhu-csse/\"\n", - "worldmap_path = \"./data/worldmap/country_centroids.csv\"\n", - "out_folder = \"./data/geodata/\"\n" + "ts_folder = \"/tmp/262jiqqx/data/covid-19_jhu-csse\"\n", + "worldmap_path = \"/tmp/262jiqqx/data/worldmap/country_centroids.csv\"\n", + "out_folder = \"data/geodata\"\n" ] }, { @@ -106,10 +106,10 @@ "execution_count": 4, "metadata": { "papermill": { - "duration": 0.031105, - "end_time": "2020-03-15T15:40:46.195383", + "duration": 0.019727, + "end_time": "2020-03-15T16:43:49.457802", "exception": false, - "start_time": "2020-03-15T15:40:46.164278", + "start_time": "2020-03-15T16:43:49.438075", "status": "completed" }, "tags": [] @@ -130,10 +130,10 @@ "execution_count": 5, "metadata": { "papermill": { - "duration": 0.064486, - "end_time": "2020-03-15T15:40:46.279720", + "duration": 0.057337, + "end_time": "2020-03-15T16:43:49.523781", "exception": false, - "start_time": "2020-03-15T15:40:46.215234", + "start_time": "2020-03-15T16:43:49.466444", "status": "completed" }, "tags": [] @@ -147,10 +147,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.009811, - "end_time": "2020-03-15T15:40:46.307002", + "duration": 0.008192, + "end_time": "2020-03-15T16:43:49.544325", "exception": false, - "start_time": "2020-03-15T15:40:46.297191", + "start_time": "2020-03-15T16:43:49.536133", "status": "completed" }, "tags": [] @@ -164,10 +164,10 @@ "execution_count": 6, "metadata": { "papermill": { - "duration": 0.047941, - "end_time": "2020-03-15T15:40:46.362544", + "duration": 0.04304, + "end_time": "2020-03-15T16:43:49.594611", "exception": false, - "start_time": "2020-03-15T15:40:46.314603", + "start_time": "2020-03-15T16:43:49.551571", "status": "completed" }, "tags": [] @@ -184,10 +184,10 @@ "execution_count": 7, "metadata": { "papermill": { - "duration": 0.046373, - "end_time": "2020-03-15T15:40:46.423601", + "duration": 0.033254, + "end_time": "2020-03-15T16:43:49.644104", "exception": false, - "start_time": "2020-03-15T15:40:46.377228", + "start_time": "2020-03-15T16:43:49.610850", "status": "completed" }, "tags": [] @@ -214,10 +214,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.009953, - "end_time": "2020-03-15T15:40:46.450454", + "duration": 0.007079, + "end_time": "2020-03-15T16:43:49.660788", "exception": false, - "start_time": "2020-03-15T15:40:46.440501", + "start_time": "2020-03-15T16:43:49.653709", "status": "completed" }, "tags": [] @@ -231,10 +231,10 @@ "execution_count": 8, "metadata": { "papermill": { - "duration": 0.029858, - "end_time": "2020-03-15T15:40:46.488135", + "duration": 0.027734, + "end_time": "2020-03-15T16:43:49.695692", "exception": false, - "start_time": "2020-03-15T15:40:46.458277", + "start_time": "2020-03-15T16:43:49.667958", "status": "completed" }, "tags": [] @@ -260,10 +260,10 @@ "execution_count": 9, "metadata": { "papermill": { - "duration": 0.024985, - "end_time": "2020-03-15T15:40:46.527221", + "duration": 0.019985, + "end_time": "2020-03-15T16:43:49.727444", "exception": false, - "start_time": "2020-03-15T15:40:46.502236", + "start_time": "2020-03-15T16:43:49.707459", "status": "completed" }, "tags": [] @@ -278,10 +278,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.010235, - "end_time": "2020-03-15T15:40:46.557408", + "duration": 0.008364, + "end_time": "2020-03-15T16:43:49.744328", "exception": false, - "start_time": "2020-03-15T15:40:46.547173", + "start_time": "2020-03-15T16:43:49.735964", "status": "completed" }, "tags": [] @@ -295,10 +295,10 @@ "execution_count": 10, "metadata": { "papermill": { - "duration": 0.044948, - "end_time": "2020-03-15T15:40:46.610278", + "duration": 0.038721, + "end_time": "2020-03-15T16:43:49.790199", "exception": false, - "start_time": "2020-03-15T15:40:46.565330", + "start_time": "2020-03-15T16:43:49.751478", "status": "completed" }, "tags": [] @@ -325,8 +325,8 @@ " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", - " <th>2020-03-12</th>\n", " <th>2020-03-13</th>\n", + " <th>2020-03-14</th>\n", " </tr>\n", " <tr>\n", " <th>Country/Region</th>\n", @@ -337,7 +337,7 @@ " <tbody>\n", " <tr>\n", " <th>Congo (Kinshasa)</th>\n", - " <td>1</td>\n", + " <td>2</td>\n", " <td>2</td>\n", " </tr>\n", " <tr>\n", @@ -346,13 +346,23 @@ " <td>696</td>\n", " </tr>\n", " <tr>\n", + " <th>Curacao</th>\n", + " <td>0</td>\n", + " <td>1</td>\n", + " </tr>\n", + " <tr>\n", + " <th>Eswatini</th>\n", + " <td>0</td>\n", + " <td>1</td>\n", + " </tr>\n", + " <tr>\n", " <th>French Guiana</th>\n", " <td>5</td>\n", " <td>5</td>\n", " </tr>\n", " <tr>\n", " <th>Guadeloupe</th>\n", - " <td>0</td>\n", + " <td>1</td>\n", " <td>1</td>\n", " </tr>\n", " <tr>\n", @@ -363,33 +373,41 @@ " <tr>\n", " <th>Martinique</th>\n", " <td>3</td>\n", - " <td>3</td>\n", + " <td>9</td>\n", " </tr>\n", " <tr>\n", " <th>North Macedonia</th>\n", - " <td>7</td>\n", + " <td>14</td>\n", " <td>14</td>\n", " </tr>\n", " <tr>\n", " <th>Reunion</th>\n", - " <td>1</td>\n", " <td>5</td>\n", + " <td>6</td>\n", + " </tr>\n", + " <tr>\n", + " <th>occupied Palestinian territory</th>\n", + " <td>0</td>\n", + " <td>0</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ - " 2020-03-12 2020-03-13\n", - "Country/Region \n", - "Congo (Kinshasa) 1 2\n", - "Cruise Ship 696 696\n", - "French Guiana 5 5\n", - "Guadeloupe 0 1\n", - "Holy See 1 1\n", - "Martinique 3 3\n", - "North Macedonia 7 14\n", - "Reunion 1 5" + " 2020-03-13 2020-03-14\n", + "Country/Region \n", + "Congo (Kinshasa) 2 2\n", + "Cruise Ship 696 696\n", + "Curacao 0 1\n", + "Eswatini 0 1\n", + "French Guiana 5 5\n", + "Guadeloupe 1 1\n", + "Holy See 1 1\n", + "Martinique 3 9\n", + "North Macedonia 14 14\n", + "Reunion 5 6\n", + "occupied Palestinian territory 0 0" ] }, "execution_count": 10, @@ -407,10 +425,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.010609, - "end_time": "2020-03-15T15:40:46.641179", + "duration": 0.00976, + "end_time": "2020-03-15T16:43:49.816102", "exception": false, - "start_time": "2020-03-15T15:40:46.630570", + "start_time": "2020-03-15T16:43:49.806342", "status": "completed" }, "tags": [] @@ -424,10 +442,10 @@ "execution_count": 11, "metadata": { "papermill": { - "duration": 0.036281, - "end_time": "2020-03-15T15:40:46.685590", + "duration": 0.029533, + "end_time": "2020-03-15T16:43:49.853512", "exception": false, - "start_time": "2020-03-15T15:40:46.649309", + "start_time": "2020-03-15T16:43:49.823979", "status": "completed" }, "tags": [] @@ -459,20 +477,20 @@ "version": "3.7.6" }, "papermill": { - "duration": 2.13544, - "end_time": "2020-03-15T15:40:47.019858", + "duration": 2.036815, + "end_time": "2020-03-15T16:43:50.175740", "environment_variables": {}, "exception": null, - "input_path": "notebooks/CompileGeoData.ipynb", + "input_path": "/tmp/262jiqqx/notebooks/CompileGeoData.ipynb", "output_path": "runs/CompileGeoData.run.ipynb", "parameters": { - "PAPERMILL_INPUT_PATH": "notebooks/CompileGeoData.ipynb", + "PAPERMILL_INPUT_PATH": "/tmp/262jiqqx/notebooks/CompileGeoData.ipynb", "PAPERMILL_OUTPUT_PATH": "runs/CompileGeoData.run.ipynb", - "out_folder": "./data/geodata/", - "ts_folder": "./data/covid-19_jhu-csse/", - "worldmap_path": "./data/worldmap/country_centroids.csv" + "out_folder": "data/geodata", + "ts_folder": "/tmp/262jiqqx/data/covid-19_jhu-csse", + "worldmap_path": "/tmp/262jiqqx/data/worldmap/country_centroids.csv" }, - "start_time": "2020-03-15T15:40:44.884418", + "start_time": "2020-03-15T16:43:48.138925", "version": "1.1.0" } }, diff --git a/runs/Dashboard.run.ipynb b/runs/Dashboard.run.ipynb index 97ed85143c3d9761aef8bb6b781fd8d2526c70b4..892ce26f8b5fcbf02c414ed84df69cef8d66febb 100644 --- a/runs/Dashboard.run.ipynb +++ b/runs/Dashboard.run.ipynb @@ -5,10 +5,10 @@ "execution_count": 1, "metadata": { "papermill": { - "duration": 0.328323, - "end_time": "2020-03-15T16:37:29.576519", + "duration": 0.293932, + "end_time": "2020-03-15T16:43:45.973942", "exception": false, - "start_time": "2020-03-15T16:37:29.248196", + "start_time": "2020-03-15T16:43:45.680010", "status": "completed" }, "tags": [] @@ -25,10 +25,10 @@ "execution_count": 2, "metadata": { "papermill": { - "duration": 0.023318, - "end_time": "2020-03-15T16:37:29.619560", + "duration": 0.021561, + "end_time": "2020-03-15T16:43:46.016060", "exception": false, - "start_time": "2020-03-15T16:37:29.596242", + "start_time": "2020-03-15T16:43:45.994499", "status": "completed" }, "tags": [ @@ -49,10 +49,10 @@ "execution_count": 3, "metadata": { "papermill": { - "duration": 0.021164, - "end_time": "2020-03-15T16:37:29.651150", + "duration": 0.021241, + "end_time": "2020-03-15T16:43:46.046986", "exception": false, - "start_time": "2020-03-15T16:37:29.629986", + "start_time": "2020-03-15T16:43:46.025745", "status": "completed" }, "tags": [ @@ -62,11 +62,11 @@ "outputs": [], "source": [ "# Parameters\n", - "PAPERMILL_INPUT_PATH = \"notebooks/Dashboard.ipynb\"\n", + "PAPERMILL_INPUT_PATH = \"/tmp/e5179t23/notebooks/Dashboard.ipynb\"\n", "PAPERMILL_OUTPUT_PATH = \"runs/Dashboard.run.ipynb\"\n", - "ts_folder = \"./data/covid-19_jhu-csse/\"\n", - "rates_folder = \"./data/covid-19_rates/\"\n", - "geodata_path = \"./data/geodata/geo_data.csv\"\n" + "ts_folder = \"/tmp/e5179t23/data/covid-19_jhu-csse\"\n", + "rates_folder = \"/tmp/e5179t23/data/covid-19_rates\"\n", + "geodata_path = \"/tmp/e5179t23/data/geodata/geo_data.csv\"\n" ] }, { @@ -74,10 +74,10 @@ "execution_count": 4, "metadata": { "papermill": { - "duration": 0.018422, - "end_time": "2020-03-15T16:37:29.679468", + "duration": 0.018914, + "end_time": "2020-03-15T16:43:46.075312", "exception": false, - "start_time": "2020-03-15T16:37:29.661046", + "start_time": "2020-03-15T16:43:46.056398", "status": "completed" }, "tags": [] @@ -92,10 +92,10 @@ "execution_count": 5, "metadata": { "papermill": { - "duration": 0.081996, - "end_time": "2020-03-15T16:37:29.770910", + "duration": 0.083927, + "end_time": "2020-03-15T16:43:46.168567", "exception": false, - "start_time": "2020-03-15T16:37:29.688914", + "start_time": "2020-03-15T16:43:46.084640", "status": "completed" }, "tags": [] @@ -122,10 +122,10 @@ "execution_count": 6, "metadata": { "papermill": { - "duration": 0.058057, - "end_time": "2020-03-15T16:37:29.848129", + "duration": 0.05099, + "end_time": "2020-03-15T16:43:46.238223", "exception": false, - "start_time": "2020-03-15T16:37:29.790072", + "start_time": "2020-03-15T16:43:46.187233", "status": "completed" }, "tags": [] @@ -152,10 +152,10 @@ "execution_count": 7, "metadata": { "papermill": { - "duration": 0.032963, - "end_time": "2020-03-15T16:37:29.896281", + "duration": 0.035159, + "end_time": "2020-03-15T16:43:46.292298", "exception": false, - "start_time": "2020-03-15T16:37:29.863318", + "start_time": "2020-03-15T16:43:46.257139", "status": "completed" }, "tags": [] @@ -173,10 +173,10 @@ "execution_count": 8, "metadata": { "papermill": { - "duration": 0.03569, - "end_time": "2020-03-15T16:37:29.945698", + "duration": 0.03375, + "end_time": "2020-03-15T16:43:46.338662", "exception": false, - "start_time": "2020-03-15T16:37:29.910008", + "start_time": "2020-03-15T16:43:46.304912", "status": "completed" }, "tags": [] @@ -196,10 +196,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.008775, - "end_time": "2020-03-15T16:37:29.967726", + "duration": 0.008732, + "end_time": "2020-03-15T16:43:46.360234", "exception": false, - "start_time": "2020-03-15T16:37:29.958951", + "start_time": "2020-03-15T16:43:46.351502", "status": "completed" }, "tags": [] @@ -217,10 +217,10 @@ "execution_count": 9, "metadata": { "papermill": { - "duration": 0.041164, - "end_time": "2020-03-15T16:37:30.016520", + "duration": 0.039299, + "end_time": "2020-03-15T16:43:46.406504", "exception": false, - "start_time": "2020-03-15T16:37:29.975356", + "start_time": "2020-03-15T16:43:46.367205", "status": "completed" }, "tags": [] @@ -229,7 +229,7 @@ { "data": { "text/html": [ - "<em>Data up to Mar 13 2020; countries with 100 or more confirmed cases.</em>" + "<em>Data up to Mar 14 2020; countries with 100 or more confirmed cases.</em>" ], "text/plain": [ "<IPython.core.display.HTML object>" @@ -248,10 +248,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.008127, - "end_time": "2020-03-15T16:37:30.039436", + "duration": 0.009517, + "end_time": "2020-03-15T16:43:46.431623", "exception": false, - "start_time": "2020-03-15T16:37:30.031309", + "start_time": "2020-03-15T16:43:46.422106", "status": "completed" }, "tags": [] @@ -265,10 +265,10 @@ "execution_count": 10, "metadata": { "papermill": { - "duration": 0.189114, - "end_time": "2020-03-15T16:37:30.236186", + "duration": 0.19163, + "end_time": "2020-03-15T16:43:46.630939", "exception": false, - "start_time": "2020-03-15T16:37:30.047072", + "start_time": "2020-03-15T16:43:46.439309", "status": "completed" }, "tags": [] @@ -284,10 +284,10 @@ "execution_count": 11, "metadata": { "papermill": { - "duration": 0.046044, - "end_time": "2020-03-15T16:37:30.300949", + "duration": 0.048909, + "end_time": "2020-03-15T16:43:46.699290", "exception": false, - "start_time": "2020-03-15T16:37:30.254905", + "start_time": "2020-03-15T16:43:46.650381", "status": "completed" }, "tags": [] @@ -322,10 +322,10 @@ "execution_count": 12, "metadata": { "papermill": { - "duration": 0.031175, - "end_time": "2020-03-15T16:37:30.349234", + "duration": 0.032927, + "end_time": "2020-03-15T16:43:46.747943", "exception": false, - "start_time": "2020-03-15T16:37:30.318059", + "start_time": "2020-03-15T16:43:46.715016", "status": "completed" }, "tags": [] @@ -366,10 +366,10 @@ "execution_count": 13, "metadata": { "papermill": { - "duration": 0.113317, - "end_time": "2020-03-15T16:37:30.476323", + "duration": 0.118918, + "end_time": "2020-03-15T16:43:46.881935", "exception": false, - "start_time": "2020-03-15T16:37:30.363006", + "start_time": "2020-03-15T16:43:46.763017", "status": "completed" }, "tags": [] @@ -379,10 +379,10 @@ "data": { "text/html": [ "\n", - "<div id=\"altair-viz-0d5ef06b0f5c47e49467448e93085b54\"></div>\n", + "<div id=\"altair-viz-88d3169c31ab4a01b36f275f24a4faa8\"></div>\n", "<script type=\"text/javascript\">\n", " (function(spec, embedOpt){\n", - " const outputDiv = document.getElementById(\"altair-viz-0d5ef06b0f5c47e49467448e93085b54\");\n", + " const outputDiv = document.getElementById(\"altair-viz-88d3169c31ab4a01b36f275f24a4faa8\");\n", " const paths = {\n", " \"vega\": \"https://cdn.jsdelivr.net/npm//vega@5?noext\",\n", " \"vega-lib\": \"https://cdn.jsdelivr.net/npm//vega-lib?noext\",\n", @@ -423,7 +423,7 @@ " .catch(showError)\n", " .then(() => displayChart(vegaEmbed));\n", " }\n", - " })({\"config\": {\"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300, \"stroke\": null}}, \"layer\": [{\"data\": {\"sphere\": true}, \"mark\": {\"type\": \"geoshape\", \"fill\": \"#cae6ef\"}}, {\"data\": {\"graticule\": true}, \"mark\": {\"type\": \"geoshape\", \"stroke\": \"white\", \"strokeWidth\": 0.5}}, {\"data\": {\"url\": \"https://vega.github.io/vega-datasets/data/world-110m.json\", \"format\": {\"feature\": \"countries\", \"type\": \"topojson\"}}, \"mark\": {\"type\": \"geoshape\", \"fill\": \"#dddddd\", \"stroke\": \"#aaaaaa\"}}, {\"data\": {\"name\": \"data-95ea86d40d32f37e513861317827f4db\"}, \"mark\": {\"type\": \"circle\", \"opacity\": 0.6}, \"encoding\": {\"color\": {\"value\": \"steelblue\"}, \"latitude\": {\"field\": \"Lat\", \"type\": \"quantitative\"}, \"longitude\": {\"field\": \"Long\", \"type\": \"quantitative\"}, \"size\": {\"type\": \"quantitative\", \"field\": \"Confirmed/100k\", \"title\": \"Cases\"}, \"tooltip\": [{\"type\": \"nominal\", \"field\": \"Country/Region\"}, {\"type\": \"quantitative\", \"field\": \"Confirmed\"}, {\"type\": \"quantitative\", \"field\": \"Deaths\"}, {\"type\": \"quantitative\", \"field\": \"Recovered\"}, {\"type\": \"quantitative\", \"field\": \"Confirmed/100k\"}, {\"type\": \"quantitative\", \"field\": \"Deaths/100k\"}, {\"type\": \"quantitative\", \"field\": \"Recovered/100k\"}]}}], \"height\": 400, \"projection\": {\"type\": \"naturalEarth1\"}, \"title\": \"Confirmed cases per 100k inhabitants\", \"width\": 600, \"$schema\": \"https://vega.github.io/schema/vega-lite/v4.0.2.json\", \"datasets\": {\"data-95ea86d40d32f37e513861317827f4db\": [{\"Country/Region\": \"Australia\", \"Confirmed/100k\": 0.8002442665599246, \"Deaths/100k\": 0.012003663998398872, \"Recovered/100k\": 0.09202809065439137, \"Confirmed\": 200.0, \"Deaths\": 3.0, \"Recovered\": 23.0, \"Long\": 134.49100008, \"Lat\": -25.73288704}, {\"Country/Region\": \"Austria\", \"Confirmed/100k\": 5.696822563305657, \"Deaths/100k\": 0.01130321937163821, \"Recovered/100k\": 0.06781931622982926, \"Confirmed\": 504.0, \"Deaths\": 1.0, \"Recovered\": 6.0, \"Long\": 14.1264761, \"Lat\": 47.58549439}, {\"Country/Region\": \"Bahrain\", \"Confirmed/100k\": 12.042519651926579, \"Deaths/100k\": 0.0, \"Recovered/100k\": 2.8035495485966644, \"Confirmed\": 189.0, \"Deaths\": 0.0, \"Recovered\": 44.0, \"Long\": 50.54196932, \"Lat\": 26.04205135}, {\"Country/Region\": \"Belgium\", \"Confirmed/100k\": 4.894034950588631, \"Deaths/100k\": 0.026264946067559743, \"Recovered/100k\": 0.008754982022519914, \"Confirmed\": 559.0, \"Deaths\": 3.0, \"Recovered\": 1.0, \"Long\": 4.64065114, \"Lat\": 50.63981576}, {\"Country/Region\": \"Brazil\", \"Confirmed/100k\": 0.07208692453324421, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.0, \"Confirmed\": 151.0, \"Deaths\": 0.0, \"Recovered\": 0.0, \"Long\": -53.09783113, \"Lat\": -10.78777702}, {\"Country/Region\": \"Canada\", \"Confirmed/100k\": 0.5207931944796137, \"Deaths/100k\": 0.002698410334091263, \"Recovered/100k\": 0.021587282672730104, \"Confirmed\": 193.0, \"Deaths\": 1.0, \"Recovered\": 8.0, \"Long\": -98.30777028, \"Lat\": 61.36206324}, {\"Country/Region\": \"China\", \"Confirmed/100k\": 5.811966425653213, \"Deaths/100k\": 0.22832853460469724, \"Recovered/100k\": 4.609364341975832, \"Confirmed\": 80945.0, \"Deaths\": 3180.0, \"Recovered\": 64196.0, \"Long\": 103.81907349, \"Lat\": 36.56176546}, {\"Country/Region\": \"Czechia\", \"Confirmed/100k\": 1.3269720239476102, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.0, \"Confirmed\": 141.0, \"Deaths\": 0.0, \"Recovered\": 0.0, \"Long\": 15.31240163, \"Lat\": 49.73341233}, {\"Country/Region\": \"Denmark\", \"Confirmed/100k\": 13.868175744974597, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.01724897480718234, \"Confirmed\": 804.0, \"Deaths\": 0.0, \"Recovered\": 1.0, \"Long\": 10.02800992, \"Lat\": 55.98125296}, {\"Country/Region\": \"Finland\", \"Confirmed/100k\": 2.808963311314685, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.018122343943965717, \"Confirmed\": 155.0, \"Deaths\": 0.0, \"Recovered\": 1.0, \"Long\": 26.2746656, \"Lat\": 64.49884603}, {\"Country/Region\": \"France\", \"Confirmed/100k\": 5.474176546209304, \"Deaths/100k\": 0.117932900777348, \"Recovered/100k\": 0.017913858345926282, \"Confirmed\": 3667.0, \"Deaths\": 79.0, \"Recovered\": 12.0, \"Long\": -2.76172945, \"Lat\": 42.17344011}, {\"Country/Region\": \"Germany\", \"Confirmed/100k\": 4.431559252141878, \"Deaths/100k\": 0.008441065242175007, \"Recovered/100k\": 0.055469857305721466, \"Confirmed\": 3675.0, \"Deaths\": 7.0, \"Recovered\": 46.0, \"Long\": 10.38578051, \"Lat\": 51.10698181}, {\"Country/Region\": \"Greece\", \"Confirmed/100k\": 1.771121179365357, \"Deaths/100k\": 0.009321690417712405, \"Recovered/100k\": 0.0, \"Confirmed\": 190.0, \"Deaths\": 1.0, \"Recovered\": 0.0, \"Long\": 22.95555794, \"Lat\": 39.07469623}, {\"Country/Region\": \"Iceland\", \"Confirmed/100k\": 37.898714271977006, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.28282622591027623, \"Confirmed\": 134.0, \"Deaths\": 0.0, \"Recovered\": 1.0, \"Long\": -18.57396167, \"Lat\": 64.99575386}, {\"Country/Region\": \"Iran\", \"Confirmed/100k\": 13.892374852703725, \"Deaths/100k\": 0.6283597918241565, \"Recovered/100k\": 3.6173475175246668, \"Confirmed\": 11364.0, \"Deaths\": 514.0, \"Recovered\": 2959.0, \"Long\": 54.27407004, \"Lat\": 32.57503292}, {\"Country/Region\": \"Iraq\", \"Confirmed/100k\": 0.26279089130344285, \"Deaths/100k\": 0.023417010116148367, \"Recovered/100k\": 0.06244536030972898, \"Confirmed\": 101.0, \"Deaths\": 9.0, \"Recovered\": 24.0, \"Long\": 43.74353149, \"Lat\": 33.03970582}, {\"Country/Region\": \"Israel\", \"Confirmed/100k\": 1.8122875346135665, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.045025777257479915, \"Confirmed\": 161.0, \"Deaths\": 0.0, \"Recovered\": 4.0, \"Long\": 35.00444693, \"Lat\": 31.46110101}, {\"Country/Region\": \"Italy\", \"Confirmed/100k\": 29.22327497167319, \"Deaths/100k\": 2.0949414560667194, \"Recovered/100k\": 2.3812170262875267, \"Confirmed\": 17660.0, \"Deaths\": 1266.0, \"Recovered\": 1439.0, \"Long\": 12.07001339, \"Lat\": 42.79662641}, {\"Country/Region\": \"Japan\", \"Confirmed/100k\": 0.5540227504977115, \"Deaths/100k\": 0.01501630850136451, \"Recovered/100k\": 0.09325917911373748, \"Confirmed\": 701.0, \"Deaths\": 19.0, \"Recovered\": 118.0, \"Long\": 138.03089558, \"Lat\": 37.59230135}, {\"Country/Region\": \"Korea, South\", \"Confirmed/100k\": 15.452620201979823, \"Deaths/100k\": 0.12781964322981182, \"Recovered/100k\": 0.9876972431394551, \"Confirmed\": 7979.0, \"Deaths\": 66.0, \"Recovered\": 510.0, \"Long\": 127.83916086, \"Lat\": 36.38523983}, {\"Country/Region\": \"Malaysia\", \"Confirmed/100k\": 0.6248298171326115, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.08246484896166446, \"Confirmed\": 197.0, \"Deaths\": 0.0, \"Recovered\": 26.0, \"Long\": 109.69762284, \"Lat\": 3.78986846}, {\"Country/Region\": \"Netherlands\", \"Confirmed/100k\": 4.666004333928752, \"Deaths/100k\": 0.05803487977523322, \"Recovered/100k\": 0.0, \"Confirmed\": 804.0, \"Deaths\": 10.0, \"Recovered\": 0.0, \"Long\": 5.28144793, \"Lat\": 52.1007899}, {\"Country/Region\": \"Norway\", \"Confirmed/100k\": 18.741758142503603, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.018817026247493568, \"Confirmed\": 996.0, \"Deaths\": 0.0, \"Recovered\": 1.0, \"Long\": 15.34834656, \"Lat\": 68.75015572}, {\"Country/Region\": \"Portugal\", \"Confirmed/100k\": 1.0893074552785798, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.009725959422130177, \"Confirmed\": 112.0, \"Deaths\": 0.0, \"Recovered\": 1.0, \"Long\": -8.50104361, \"Lat\": 39.59550671}, {\"Country/Region\": \"Qatar\", \"Confirmed/100k\": 11.503851813132869, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.0, \"Confirmed\": 320.0, \"Deaths\": 0.0, \"Recovered\": 0.0, \"Long\": 51.18479632, \"Lat\": 25.30601188}, {\"Country/Region\": \"Singapore\", \"Confirmed/100k\": 3.5469319393417886, \"Deaths/100k\": 0.0, \"Recovered/100k\": 1.7202619905807677, \"Confirmed\": 200.0, \"Deaths\": 0.0, \"Recovered\": 97.0, \"Long\": 103.81725592, \"Lat\": 1.35876087}, {\"Country/Region\": \"Slovenia\", \"Confirmed/100k\": 6.820252958828889, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.0, \"Confirmed\": 141.0, \"Deaths\": 0.0, \"Recovered\": 0.0, \"Long\": 14.80444238, \"Lat\": 46.11554772}, {\"Country/Region\": \"Spain\", \"Confirmed/100k\": 11.197731586136207, \"Deaths/100k\": 0.28465181593197925, \"Recovered/100k\": 0.413066168984, \"Confirmed\": 5232.0, \"Deaths\": 133.0, \"Recovered\": 193.0, \"Long\": -3.64755047, \"Lat\": 40.24448698}, {\"Country/Region\": \"Sweden\", \"Confirmed/100k\": 7.993577641550892, \"Deaths/100k\": 0.009820119952765223, \"Recovered/100k\": 0.009820119952765223, \"Confirmed\": 814.0, \"Deaths\": 1.0, \"Recovered\": 1.0, \"Long\": 16.74558049, \"Lat\": 62.77966519}, {\"Country/Region\": \"Switzerland\", \"Confirmed/100k\": 13.373971105412135, \"Deaths/100k\": 0.12916038819976602, \"Recovered/100k\": 0.04696741389082401, \"Confirmed\": 1139.0, \"Deaths\": 11.0, \"Recovered\": 4.0, \"Long\": 8.20867471, \"Lat\": 46.79785878}, {\"Country/Region\": \"US\", \"Confirmed/100k\": 0.6660198337466559, \"Deaths/100k\": 0.01436573299040515, \"Recovered/100k\": 0.0036678467209545055, \"Confirmed\": 2179.0, \"Deaths\": 47.0, \"Recovered\": 12.0, \"Long\": -112.4616737, \"Lat\": 45.6795472}, {\"Country/Region\": \"United Kingdom\", \"Confirmed/100k\": 1.2047107166959414, \"Deaths/100k\": 0.012032067083105532, \"Recovered/100k\": 0.028576159322375637, \"Confirmed\": 801.0, \"Deaths\": 8.0, \"Recovered\": 19.0, \"Long\": -2.86563164, \"Lat\": 54.12387156}]}}, {\"mode\": \"vega-lite\"});\n", + " })({\"config\": {\"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300, \"stroke\": null}}, \"layer\": [{\"data\": {\"sphere\": true}, \"mark\": {\"type\": \"geoshape\", \"fill\": \"#cae6ef\"}}, {\"data\": {\"graticule\": true}, \"mark\": {\"type\": \"geoshape\", \"stroke\": \"white\", \"strokeWidth\": 0.5}}, {\"data\": {\"url\": \"https://vega.github.io/vega-datasets/data/world-110m.json\", \"format\": {\"feature\": \"countries\", \"type\": \"topojson\"}}, \"mark\": {\"type\": \"geoshape\", \"fill\": \"#dddddd\", \"stroke\": \"#aaaaaa\"}}, {\"data\": {\"name\": \"data-f3b3d5ed8d303f261562171c1d731858\"}, \"mark\": {\"type\": \"circle\", \"opacity\": 0.6}, \"encoding\": {\"color\": {\"value\": \"steelblue\"}, \"latitude\": {\"field\": \"Lat\", \"type\": \"quantitative\"}, \"longitude\": {\"field\": \"Long\", \"type\": \"quantitative\"}, \"size\": {\"type\": \"quantitative\", \"field\": \"Confirmed/100k\", \"title\": \"Cases\"}, \"tooltip\": [{\"type\": \"nominal\", \"field\": \"Country/Region\"}, {\"type\": \"quantitative\", \"field\": \"Confirmed\"}, {\"type\": \"quantitative\", \"field\": \"Deaths\"}, {\"type\": \"quantitative\", \"field\": \"Recovered\"}, {\"type\": \"quantitative\", \"field\": \"Confirmed/100k\"}, {\"type\": \"quantitative\", \"field\": \"Deaths/100k\"}, {\"type\": \"quantitative\", \"field\": \"Recovered/100k\"}]}}], \"height\": 400, \"projection\": {\"type\": \"naturalEarth1\"}, \"title\": \"Confirmed cases per 100k inhabitants\", \"width\": 600, \"$schema\": \"https://vega.github.io/schema/vega-lite/v4.0.2.json\", \"datasets\": {\"data-f3b3d5ed8d303f261562171c1d731858\": [{\"Country/Region\": \"Australia\", \"Confirmed/100k\": 1.000305333199906, \"Deaths/100k\": 0.012003663998398872, \"Recovered/100k\": 0.09202809065439137, \"Confirmed\": 250.0, \"Deaths\": 3.0, \"Recovered\": 23.0, \"Long\": 134.49100008, \"Lat\": -25.73288704}, {\"Country/Region\": \"Austria\", \"Confirmed/100k\": 7.403608688423027, \"Deaths/100k\": 0.01130321937163821, \"Recovered/100k\": 0.06781931622982926, \"Confirmed\": 655.0, \"Deaths\": 1.0, \"Recovered\": 6.0, \"Long\": 14.1264761, \"Lat\": 47.58549439}, {\"Country/Region\": \"Bahrain\", \"Confirmed/100k\": 13.380577391029535, \"Deaths/100k\": 0.0, \"Recovered/100k\": 2.8035495485966644, \"Confirmed\": 210.0, \"Deaths\": 0.0, \"Recovered\": 44.0, \"Long\": 50.54196932, \"Lat\": 26.04205135}, {\"Country/Region\": \"Belgium\", \"Confirmed/100k\": 6.0321826135162215, \"Deaths/100k\": 0.035019928090079665, \"Recovered/100k\": 0.008754982022519914, \"Confirmed\": 689.0, \"Deaths\": 4.0, \"Recovered\": 1.0, \"Long\": 4.64065114, \"Lat\": 50.63981576}, {\"Country/Region\": \"Brazil\", \"Confirmed/100k\": 0.07208692453324421, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.0, \"Confirmed\": 151.0, \"Deaths\": 0.0, \"Recovered\": 0.0, \"Long\": -53.09783113, \"Lat\": -10.78777702}, {\"Country/Region\": \"Canada\", \"Confirmed/100k\": 0.53428524615007, \"Deaths/100k\": 0.002698410334091263, \"Recovered/100k\": 0.021587282672730104, \"Confirmed\": 198.0, \"Deaths\": 1.0, \"Recovered\": 8.0, \"Long\": -98.30777028, \"Lat\": 61.36206324}, {\"Country/Region\": \"China\", \"Confirmed/100k\": 5.814264071284455, \"Deaths/100k\": 0.2292619531423894, \"Recovered/100k\": 4.7144816296051655, \"Confirmed\": 80977.0, \"Deaths\": 3193.0, \"Recovered\": 65660.0, \"Long\": 103.81907349, \"Lat\": 36.56176546}, {\"Country/Region\": \"Czechia\", \"Confirmed/100k\": 1.7787071810361583, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.0, \"Confirmed\": 189.0, \"Deaths\": 0.0, \"Recovered\": 0.0, \"Long\": 15.31240163, \"Lat\": 49.73341233}, {\"Country/Region\": \"Denmark\", \"Confirmed/100k\": 14.420142938804432, \"Deaths/100k\": 0.01724897480718234, \"Recovered/100k\": 0.01724897480718234, \"Confirmed\": 836.0, \"Deaths\": 1.0, \"Recovered\": 1.0, \"Long\": 10.02800992, \"Lat\": 55.98125296}, {\"Country/Region\": \"Egypt\", \"Confirmed/100k\": 0.11074580236578434, \"Deaths/100k\": 0.002032033070931823, \"Recovered/100k\": 0.02743244645757961, \"Confirmed\": 109.0, \"Deaths\": 2.0, \"Recovered\": 27.0, \"Long\": 29.86190099, \"Lat\": 26.49593311}, {\"Country/Region\": \"Estonia\", \"Confirmed/100k\": 8.706290635665205, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.0, \"Confirmed\": 115.0, \"Deaths\": 0.0, \"Recovered\": 0.0, \"Long\": 25.54248537, \"Lat\": 58.67192972}, {\"Country/Region\": \"Finland\", \"Confirmed/100k\": 4.077527387392285, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.018122343943965717, \"Confirmed\": 225.0, \"Deaths\": 0.0, \"Recovered\": 1.0, \"Long\": 26.2746656, \"Lat\": 64.49884603}, {\"Country/Region\": \"France\", \"Confirmed/100k\": 6.687840449145809, \"Deaths/100k\": 0.13584675912327426, \"Recovered/100k\": 0.017913858345926282, \"Confirmed\": 4480.0, \"Deaths\": 91.0, \"Recovered\": 12.0, \"Long\": -2.76172945, \"Lat\": 42.17344011}, {\"Country/Region\": \"Germany\", \"Confirmed/100k\": 5.528897733624627, \"Deaths/100k\": 0.010852798168510723, \"Recovered/100k\": 0.055469857305721466, \"Confirmed\": 4585.0, \"Deaths\": 9.0, \"Recovered\": 46.0, \"Long\": 10.38578051, \"Lat\": 51.10698181}, {\"Country/Region\": \"Greece\", \"Confirmed/100k\": 2.1253454152384283, \"Deaths/100k\": 0.027965071253137214, \"Recovered/100k\": 0.07457352334169924, \"Confirmed\": 228.0, \"Deaths\": 3.0, \"Recovered\": 8.0, \"Long\": 22.95555794, \"Lat\": 39.07469623}, {\"Country/Region\": \"Iceland\", \"Confirmed/100k\": 44.1208912420031, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.28282622591027623, \"Confirmed\": 156.0, \"Deaths\": 0.0, \"Recovered\": 1.0, \"Long\": -18.57396167, \"Lat\": 64.99575386}, {\"Country/Region\": \"India\", \"Confirmed/100k\": 0.007540935480311991, \"Deaths/100k\": 0.00014786148000611743, \"Recovered/100k\": 0.00029572296001223485, \"Confirmed\": 102.0, \"Deaths\": 2.0, \"Recovered\": 4.0, \"Long\": 79.61197609999998, \"Lat\": 22.88578212}, {\"Country/Region\": \"Iran\", \"Confirmed/100k\": 15.561073521653087, \"Deaths/100k\": 0.7469413089582871, \"Recovered/100k\": 3.6173475175246668, \"Confirmed\": 12729.0, \"Deaths\": 611.0, \"Recovered\": 2959.0, \"Long\": 54.27407004, \"Lat\": 32.57503292}, {\"Country/Region\": \"Iraq\", \"Confirmed/100k\": 0.2862079014195912, \"Deaths/100k\": 0.026018900129053748, \"Recovered/100k\": 0.06764914033553975, \"Confirmed\": 110.0, \"Deaths\": 10.0, \"Recovered\": 26.0, \"Long\": 43.74353149, \"Lat\": 33.03970582}, {\"Country/Region\": \"Ireland\", \"Confirmed/100k\": 2.657872474042476, \"Deaths/100k\": 0.04120732517895311, \"Recovered/100k\": 0.0, \"Confirmed\": 129.0, \"Deaths\": 2.0, \"Recovered\": 0.0, \"Long\": -8.13793569, \"Lat\": 53.17544870000001}, {\"Country/Region\": \"Israel\", \"Confirmed/100k\": 2.1724937526734056, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.045025777257479915, \"Confirmed\": 193.0, \"Deaths\": 0.0, \"Recovered\": 4.0, \"Long\": 35.00444693, \"Lat\": 31.46110101}, {\"Country/Region\": \"Italy\", \"Confirmed/100k\": 35.0100129431308, \"Deaths/100k\": 2.3845265704519294, \"Recovered/100k\": 3.25328191360756, \"Confirmed\": 21157.0, \"Deaths\": 1441.0, \"Recovered\": 1966.0, \"Long\": 12.07001339, \"Lat\": 42.79662641}, {\"Country/Region\": \"Japan\", \"Confirmed/100k\": 0.6109266563976192, \"Deaths/100k\": 0.017387304580527327, \"Recovered/100k\": 0.09325917911373748, \"Confirmed\": 773.0, \"Deaths\": 22.0, \"Recovered\": 118.0, \"Long\": 138.03089558, \"Lat\": 37.59230135}, {\"Country/Region\": \"Korea, South\", \"Confirmed/100k\": 15.659842956913007, \"Deaths/100k\": 0.13943961079615835, \"Recovered/100k\": 0.9876972431394551, \"Confirmed\": 8086.0, \"Deaths\": 72.0, \"Recovered\": 510.0, \"Long\": 127.83916086, \"Lat\": 36.38523983}, {\"Country/Region\": \"Kuwait\", \"Confirmed/100k\": 2.513711206970521, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.1208515003351212, \"Confirmed\": 104.0, \"Deaths\": 0.0, \"Recovered\": 5.0, \"Long\": 47.58700459, \"Lat\": 29.33431262}, {\"Country/Region\": \"Malaysia\", \"Confirmed/100k\": 0.7548705404952363, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.11101037360224064, \"Confirmed\": 238.0, \"Deaths\": 0.0, \"Recovered\": 35.0, \"Long\": 109.69762284, \"Lat\": 3.78986846}, {\"Country/Region\": \"Netherlands\", \"Confirmed/100k\": 5.565544970444868, \"Deaths/100k\": 0.06964185573027988, \"Recovered/100k\": 0.011606975955046644, \"Confirmed\": 959.0, \"Deaths\": 12.0, \"Recovered\": 2.0, \"Long\": 5.28144793, \"Lat\": 52.1007899}, {\"Country/Region\": \"Norway\", \"Confirmed/100k\": 20.510558609767997, \"Deaths/100k\": 0.056451078742480724, \"Recovered/100k\": 0.018817026247493568, \"Confirmed\": 1090.0, \"Deaths\": 3.0, \"Recovered\": 1.0, \"Long\": 15.34834656, \"Lat\": 68.75015572}, {\"Country/Region\": \"Philippines\", \"Confirmed/100k\": 0.10407688667814162, \"Deaths/100k\": 0.007501036877703902, \"Recovered/100k\": 0.0018752592194259754, \"Confirmed\": 111.0, \"Deaths\": 8.0, \"Recovered\": 2.0, \"Long\": 122.88393253, \"Lat\": 11.77536778}, {\"Country/Region\": \"Poland\", \"Confirmed/100k\": 0.2712057343529827, \"Deaths/100k\": 0.007899196146203378, \"Recovered/100k\": 0.0, \"Confirmed\": 103.0, \"Deaths\": 3.0, \"Recovered\": 0.0, \"Long\": 19.39012835, \"Lat\": 52.12759564}, {\"Country/Region\": \"Portugal\", \"Confirmed/100k\": 1.6436871423399997, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.01945191884426035, \"Confirmed\": 169.0, \"Deaths\": 0.0, \"Recovered\": 2.0, \"Long\": -8.50104361, \"Lat\": 39.59550671}, {\"Country/Region\": \"Qatar\", \"Confirmed/100k\": 12.114993940705553, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.14379814766416085, \"Confirmed\": 337.0, \"Deaths\": 0.0, \"Recovered\": 4.0, \"Long\": 51.18479632, \"Lat\": 25.30601188}, {\"Country/Region\": \"Romania\", \"Confirmed/100k\": 0.6316134550303544, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.046215618660757636, \"Confirmed\": 123.0, \"Deaths\": 0.0, \"Recovered\": 9.0, \"Long\": 24.97293039, \"Lat\": 45.85243127}, {\"Country/Region\": \"Saudi Arabia\", \"Confirmed/100k\": 0.30563846287354696, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.0029673637172189025, \"Confirmed\": 103.0, \"Deaths\": 0.0, \"Recovered\": 1.0, \"Long\": 44.53686271, \"Lat\": 24.12245841}, {\"Country/Region\": \"Singapore\", \"Confirmed/100k\": 3.7597478557022965, \"Deaths/100k\": 0.0, \"Recovered/100k\": 1.8621392681544395, \"Confirmed\": 212.0, \"Deaths\": 0.0, \"Recovered\": 105.0, \"Long\": 103.81725592, \"Lat\": 1.35876087}, {\"Country/Region\": \"Slovenia\", \"Confirmed/100k\": 8.755076493248433, \"Deaths/100k\": 0.04837058836048858, \"Recovered/100k\": 0.0, \"Confirmed\": 181.0, \"Deaths\": 1.0, \"Recovered\": 0.0, \"Long\": 14.80444238, \"Lat\": 46.11554772}, {\"Country/Region\": \"Spain\", \"Confirmed/100k\": 13.678268839257742, \"Deaths/100k\": 0.4173466474190673, \"Recovered/100k\": 1.1065036754649118, \"Confirmed\": 6391.0, \"Deaths\": 195.0, \"Recovered\": 517.0, \"Long\": -3.64755047, \"Lat\": 40.24448698}, {\"Country/Region\": \"Sweden\", \"Confirmed/100k\": 9.437135274607376, \"Deaths/100k\": 0.019640239905530446, \"Recovered/100k\": 0.009820119952765223, \"Confirmed\": 961.0, \"Deaths\": 2.0, \"Recovered\": 1.0, \"Long\": 16.74558049, \"Lat\": 62.77966519}, {\"Country/Region\": \"Switzerland\", \"Confirmed/100k\": 15.957178869407455, \"Deaths/100k\": 0.15264409514517804, \"Recovered/100k\": 0.04696741389082401, \"Confirmed\": 1359.0, \"Deaths\": 13.0, \"Recovered\": 4.0, \"Long\": 8.20867471, \"Lat\": 46.79785878}, {\"Country/Region\": \"US\", \"Confirmed/100k\": 0.8335181673369116, \"Deaths/100k\": 0.01650531024429528, \"Recovered/100k\": 0.0036678467209545055, \"Confirmed\": 2727.0, \"Deaths\": 54.0, \"Recovered\": 12.0, \"Long\": -112.4616737, \"Lat\": 45.6795472}, {\"Country/Region\": \"United Kingdom\", \"Confirmed/100k\": 1.719081584498703, \"Deaths/100k\": 0.031584176093152026, \"Recovered/100k\": 0.028576159322375637, \"Confirmed\": 1143.0, \"Deaths\": 21.0, \"Recovered\": 19.0, \"Long\": -2.86563164, \"Lat\": 54.12387156}]}}, {\"mode\": \"vega-lite\"});\n", "</script>" ], "text/plain": [ @@ -466,10 +466,10 @@ "execution_count": 14, "metadata": { "papermill": { - "duration": 0.083778, - "end_time": "2020-03-15T16:37:30.576656", + "duration": 0.091709, + "end_time": "2020-03-15T16:43:46.992648", "exception": false, - "start_time": "2020-03-15T16:37:30.492878", + "start_time": "2020-03-15T16:43:46.900939", "status": "completed" }, "tags": [] @@ -479,10 +479,10 @@ "data": { "text/html": [ "\n", - "<div id=\"altair-viz-6a54aa46a40245ccbf20c582c4265681\"></div>\n", + "<div id=\"altair-viz-1547c49492144563b9afc56050315808\"></div>\n", "<script type=\"text/javascript\">\n", " (function(spec, embedOpt){\n", - " const outputDiv = document.getElementById(\"altair-viz-6a54aa46a40245ccbf20c582c4265681\");\n", + " const outputDiv = document.getElementById(\"altair-viz-1547c49492144563b9afc56050315808\");\n", " const paths = {\n", " \"vega\": \"https://cdn.jsdelivr.net/npm//vega@5?noext\",\n", " \"vega-lib\": \"https://cdn.jsdelivr.net/npm//vega-lib?noext\",\n", @@ -523,7 +523,7 @@ " .catch(showError)\n", " .then(() => displayChart(vegaEmbed));\n", " }\n", - " })({\"config\": {\"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"layer\": [{\"mark\": \"bar\", \"encoding\": {\"tooltip\": [{\"type\": \"nominal\", \"field\": \"Country/Region\"}, {\"type\": \"quantitative\", \"field\": \"Confirmed\"}, {\"type\": \"quantitative\", \"field\": \"Deaths\"}, {\"type\": \"quantitative\", \"field\": \"Recovered\"}, {\"type\": \"quantitative\", \"field\": \"Confirmed/100k\"}, {\"type\": \"quantitative\", \"field\": \"Deaths/100k\"}, {\"type\": \"quantitative\", \"field\": \"Recovered/100k\"}], \"x\": {\"type\": \"quantitative\", \"field\": \"Confirmed/100k\"}, \"y\": {\"type\": \"nominal\", \"field\": \"Country/Region\", \"sort\": \"-x\"}}}, {\"mark\": {\"type\": \"text\", \"align\": \"left\", \"baseline\": \"middle\", \"dx\": 3}, \"encoding\": {\"text\": {\"type\": \"quantitative\", \"field\": \"Confirmed/100k\", \"format\": \".3\"}, \"tooltip\": [{\"type\": \"nominal\", \"field\": \"Country/Region\"}, {\"type\": \"quantitative\", \"field\": \"Confirmed\"}, {\"type\": \"quantitative\", \"field\": \"Deaths\"}, {\"type\": \"quantitative\", \"field\": \"Recovered\"}, {\"type\": \"quantitative\", \"field\": \"Confirmed/100k\"}, {\"type\": \"quantitative\", \"field\": \"Deaths/100k\"}, {\"type\": \"quantitative\", \"field\": \"Recovered/100k\"}], \"x\": {\"type\": \"quantitative\", \"field\": \"Confirmed/100k\"}, \"y\": {\"type\": \"nominal\", \"field\": \"Country/Region\", \"sort\": \"-x\"}}}], \"data\": {\"name\": \"data-95ea86d40d32f37e513861317827f4db\"}, \"height\": 900, \"$schema\": \"https://vega.github.io/schema/vega-lite/v4.0.2.json\", \"datasets\": {\"data-95ea86d40d32f37e513861317827f4db\": [{\"Country/Region\": \"Australia\", \"Confirmed/100k\": 0.8002442665599246, \"Deaths/100k\": 0.012003663998398872, \"Recovered/100k\": 0.09202809065439137, \"Confirmed\": 200.0, \"Deaths\": 3.0, \"Recovered\": 23.0, \"Long\": 134.49100008, \"Lat\": -25.73288704}, {\"Country/Region\": \"Austria\", \"Confirmed/100k\": 5.696822563305657, \"Deaths/100k\": 0.01130321937163821, \"Recovered/100k\": 0.06781931622982926, \"Confirmed\": 504.0, \"Deaths\": 1.0, \"Recovered\": 6.0, \"Long\": 14.1264761, \"Lat\": 47.58549439}, {\"Country/Region\": \"Bahrain\", \"Confirmed/100k\": 12.042519651926579, \"Deaths/100k\": 0.0, \"Recovered/100k\": 2.8035495485966644, \"Confirmed\": 189.0, \"Deaths\": 0.0, \"Recovered\": 44.0, \"Long\": 50.54196932, \"Lat\": 26.04205135}, {\"Country/Region\": \"Belgium\", \"Confirmed/100k\": 4.894034950588631, \"Deaths/100k\": 0.026264946067559743, \"Recovered/100k\": 0.008754982022519914, \"Confirmed\": 559.0, \"Deaths\": 3.0, \"Recovered\": 1.0, \"Long\": 4.64065114, \"Lat\": 50.63981576}, {\"Country/Region\": \"Brazil\", \"Confirmed/100k\": 0.07208692453324421, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.0, \"Confirmed\": 151.0, \"Deaths\": 0.0, \"Recovered\": 0.0, \"Long\": -53.09783113, \"Lat\": -10.78777702}, {\"Country/Region\": \"Canada\", \"Confirmed/100k\": 0.5207931944796137, \"Deaths/100k\": 0.002698410334091263, \"Recovered/100k\": 0.021587282672730104, \"Confirmed\": 193.0, \"Deaths\": 1.0, \"Recovered\": 8.0, \"Long\": -98.30777028, \"Lat\": 61.36206324}, {\"Country/Region\": \"China\", \"Confirmed/100k\": 5.811966425653213, \"Deaths/100k\": 0.22832853460469724, \"Recovered/100k\": 4.609364341975832, \"Confirmed\": 80945.0, \"Deaths\": 3180.0, \"Recovered\": 64196.0, \"Long\": 103.81907349, \"Lat\": 36.56176546}, {\"Country/Region\": \"Czechia\", \"Confirmed/100k\": 1.3269720239476102, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.0, \"Confirmed\": 141.0, \"Deaths\": 0.0, \"Recovered\": 0.0, \"Long\": 15.31240163, \"Lat\": 49.73341233}, {\"Country/Region\": \"Denmark\", \"Confirmed/100k\": 13.868175744974597, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.01724897480718234, \"Confirmed\": 804.0, \"Deaths\": 0.0, \"Recovered\": 1.0, \"Long\": 10.02800992, \"Lat\": 55.98125296}, {\"Country/Region\": \"Finland\", \"Confirmed/100k\": 2.808963311314685, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.018122343943965717, \"Confirmed\": 155.0, \"Deaths\": 0.0, \"Recovered\": 1.0, \"Long\": 26.2746656, \"Lat\": 64.49884603}, {\"Country/Region\": \"France\", \"Confirmed/100k\": 5.474176546209304, \"Deaths/100k\": 0.117932900777348, \"Recovered/100k\": 0.017913858345926282, \"Confirmed\": 3667.0, \"Deaths\": 79.0, \"Recovered\": 12.0, \"Long\": -2.76172945, \"Lat\": 42.17344011}, {\"Country/Region\": \"Germany\", \"Confirmed/100k\": 4.431559252141878, \"Deaths/100k\": 0.008441065242175007, \"Recovered/100k\": 0.055469857305721466, \"Confirmed\": 3675.0, \"Deaths\": 7.0, \"Recovered\": 46.0, \"Long\": 10.38578051, \"Lat\": 51.10698181}, {\"Country/Region\": \"Greece\", \"Confirmed/100k\": 1.771121179365357, \"Deaths/100k\": 0.009321690417712405, \"Recovered/100k\": 0.0, \"Confirmed\": 190.0, \"Deaths\": 1.0, \"Recovered\": 0.0, \"Long\": 22.95555794, \"Lat\": 39.07469623}, {\"Country/Region\": \"Iceland\", \"Confirmed/100k\": 37.898714271977006, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.28282622591027623, \"Confirmed\": 134.0, \"Deaths\": 0.0, \"Recovered\": 1.0, \"Long\": -18.57396167, \"Lat\": 64.99575386}, {\"Country/Region\": \"Iran\", \"Confirmed/100k\": 13.892374852703725, \"Deaths/100k\": 0.6283597918241565, \"Recovered/100k\": 3.6173475175246668, \"Confirmed\": 11364.0, \"Deaths\": 514.0, \"Recovered\": 2959.0, \"Long\": 54.27407004, \"Lat\": 32.57503292}, {\"Country/Region\": \"Iraq\", \"Confirmed/100k\": 0.26279089130344285, \"Deaths/100k\": 0.023417010116148367, \"Recovered/100k\": 0.06244536030972898, \"Confirmed\": 101.0, \"Deaths\": 9.0, \"Recovered\": 24.0, \"Long\": 43.74353149, \"Lat\": 33.03970582}, {\"Country/Region\": \"Israel\", \"Confirmed/100k\": 1.8122875346135665, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.045025777257479915, \"Confirmed\": 161.0, \"Deaths\": 0.0, \"Recovered\": 4.0, \"Long\": 35.00444693, \"Lat\": 31.46110101}, {\"Country/Region\": \"Italy\", \"Confirmed/100k\": 29.22327497167319, \"Deaths/100k\": 2.0949414560667194, \"Recovered/100k\": 2.3812170262875267, \"Confirmed\": 17660.0, \"Deaths\": 1266.0, \"Recovered\": 1439.0, \"Long\": 12.07001339, \"Lat\": 42.79662641}, {\"Country/Region\": \"Japan\", \"Confirmed/100k\": 0.5540227504977115, \"Deaths/100k\": 0.01501630850136451, \"Recovered/100k\": 0.09325917911373748, \"Confirmed\": 701.0, \"Deaths\": 19.0, \"Recovered\": 118.0, \"Long\": 138.03089558, \"Lat\": 37.59230135}, {\"Country/Region\": \"Korea, South\", \"Confirmed/100k\": 15.452620201979823, \"Deaths/100k\": 0.12781964322981182, \"Recovered/100k\": 0.9876972431394551, \"Confirmed\": 7979.0, \"Deaths\": 66.0, \"Recovered\": 510.0, \"Long\": 127.83916086, \"Lat\": 36.38523983}, {\"Country/Region\": \"Malaysia\", \"Confirmed/100k\": 0.6248298171326115, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.08246484896166446, \"Confirmed\": 197.0, \"Deaths\": 0.0, \"Recovered\": 26.0, \"Long\": 109.69762284, \"Lat\": 3.78986846}, {\"Country/Region\": \"Netherlands\", \"Confirmed/100k\": 4.666004333928752, \"Deaths/100k\": 0.05803487977523322, \"Recovered/100k\": 0.0, \"Confirmed\": 804.0, \"Deaths\": 10.0, \"Recovered\": 0.0, \"Long\": 5.28144793, \"Lat\": 52.1007899}, {\"Country/Region\": \"Norway\", \"Confirmed/100k\": 18.741758142503603, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.018817026247493568, \"Confirmed\": 996.0, \"Deaths\": 0.0, \"Recovered\": 1.0, \"Long\": 15.34834656, \"Lat\": 68.75015572}, {\"Country/Region\": \"Portugal\", \"Confirmed/100k\": 1.0893074552785798, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.009725959422130177, \"Confirmed\": 112.0, \"Deaths\": 0.0, \"Recovered\": 1.0, \"Long\": -8.50104361, \"Lat\": 39.59550671}, {\"Country/Region\": \"Qatar\", \"Confirmed/100k\": 11.503851813132869, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.0, \"Confirmed\": 320.0, \"Deaths\": 0.0, \"Recovered\": 0.0, \"Long\": 51.18479632, \"Lat\": 25.30601188}, {\"Country/Region\": \"Singapore\", \"Confirmed/100k\": 3.5469319393417886, \"Deaths/100k\": 0.0, \"Recovered/100k\": 1.7202619905807677, \"Confirmed\": 200.0, \"Deaths\": 0.0, \"Recovered\": 97.0, \"Long\": 103.81725592, \"Lat\": 1.35876087}, {\"Country/Region\": \"Slovenia\", \"Confirmed/100k\": 6.820252958828889, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.0, \"Confirmed\": 141.0, \"Deaths\": 0.0, \"Recovered\": 0.0, \"Long\": 14.80444238, \"Lat\": 46.11554772}, {\"Country/Region\": \"Spain\", \"Confirmed/100k\": 11.197731586136207, \"Deaths/100k\": 0.28465181593197925, \"Recovered/100k\": 0.413066168984, \"Confirmed\": 5232.0, \"Deaths\": 133.0, \"Recovered\": 193.0, \"Long\": -3.64755047, \"Lat\": 40.24448698}, {\"Country/Region\": \"Sweden\", \"Confirmed/100k\": 7.993577641550892, \"Deaths/100k\": 0.009820119952765223, \"Recovered/100k\": 0.009820119952765223, \"Confirmed\": 814.0, \"Deaths\": 1.0, \"Recovered\": 1.0, \"Long\": 16.74558049, \"Lat\": 62.77966519}, {\"Country/Region\": \"Switzerland\", \"Confirmed/100k\": 13.373971105412135, \"Deaths/100k\": 0.12916038819976602, \"Recovered/100k\": 0.04696741389082401, \"Confirmed\": 1139.0, \"Deaths\": 11.0, \"Recovered\": 4.0, \"Long\": 8.20867471, \"Lat\": 46.79785878}, {\"Country/Region\": \"US\", \"Confirmed/100k\": 0.6660198337466559, \"Deaths/100k\": 0.01436573299040515, \"Recovered/100k\": 0.0036678467209545055, \"Confirmed\": 2179.0, \"Deaths\": 47.0, \"Recovered\": 12.0, \"Long\": -112.4616737, \"Lat\": 45.6795472}, {\"Country/Region\": \"United Kingdom\", \"Confirmed/100k\": 1.2047107166959414, \"Deaths/100k\": 0.012032067083105532, \"Recovered/100k\": 0.028576159322375637, \"Confirmed\": 801.0, \"Deaths\": 8.0, \"Recovered\": 19.0, \"Long\": -2.86563164, \"Lat\": 54.12387156}]}}, {\"mode\": \"vega-lite\"});\n", + " })({\"config\": {\"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"layer\": [{\"mark\": \"bar\", \"encoding\": {\"tooltip\": [{\"type\": \"nominal\", \"field\": \"Country/Region\"}, {\"type\": \"quantitative\", \"field\": \"Confirmed\"}, {\"type\": \"quantitative\", \"field\": \"Deaths\"}, {\"type\": \"quantitative\", \"field\": \"Recovered\"}, {\"type\": \"quantitative\", \"field\": \"Confirmed/100k\"}, {\"type\": \"quantitative\", \"field\": \"Deaths/100k\"}, {\"type\": \"quantitative\", \"field\": \"Recovered/100k\"}], \"x\": {\"type\": \"quantitative\", \"field\": \"Confirmed/100k\"}, \"y\": {\"type\": \"nominal\", \"field\": \"Country/Region\", \"sort\": \"-x\"}}}, {\"mark\": {\"type\": \"text\", \"align\": \"left\", \"baseline\": \"middle\", \"dx\": 3}, \"encoding\": {\"text\": {\"type\": \"quantitative\", \"field\": \"Confirmed/100k\", \"format\": \".3\"}, \"tooltip\": [{\"type\": \"nominal\", \"field\": \"Country/Region\"}, {\"type\": \"quantitative\", \"field\": \"Confirmed\"}, {\"type\": \"quantitative\", \"field\": \"Deaths\"}, {\"type\": \"quantitative\", \"field\": \"Recovered\"}, {\"type\": \"quantitative\", \"field\": \"Confirmed/100k\"}, {\"type\": \"quantitative\", \"field\": \"Deaths/100k\"}, {\"type\": \"quantitative\", \"field\": \"Recovered/100k\"}], \"x\": {\"type\": \"quantitative\", \"field\": \"Confirmed/100k\"}, \"y\": {\"type\": \"nominal\", \"field\": \"Country/Region\", \"sort\": \"-x\"}}}], \"data\": {\"name\": \"data-f3b3d5ed8d303f261562171c1d731858\"}, \"height\": 900, \"$schema\": \"https://vega.github.io/schema/vega-lite/v4.0.2.json\", \"datasets\": {\"data-f3b3d5ed8d303f261562171c1d731858\": [{\"Country/Region\": \"Australia\", \"Confirmed/100k\": 1.000305333199906, \"Deaths/100k\": 0.012003663998398872, \"Recovered/100k\": 0.09202809065439137, \"Confirmed\": 250.0, \"Deaths\": 3.0, \"Recovered\": 23.0, \"Long\": 134.49100008, \"Lat\": -25.73288704}, {\"Country/Region\": \"Austria\", \"Confirmed/100k\": 7.403608688423027, \"Deaths/100k\": 0.01130321937163821, \"Recovered/100k\": 0.06781931622982926, \"Confirmed\": 655.0, \"Deaths\": 1.0, \"Recovered\": 6.0, \"Long\": 14.1264761, \"Lat\": 47.58549439}, {\"Country/Region\": \"Bahrain\", \"Confirmed/100k\": 13.380577391029535, \"Deaths/100k\": 0.0, \"Recovered/100k\": 2.8035495485966644, \"Confirmed\": 210.0, \"Deaths\": 0.0, \"Recovered\": 44.0, \"Long\": 50.54196932, \"Lat\": 26.04205135}, {\"Country/Region\": \"Belgium\", \"Confirmed/100k\": 6.0321826135162215, \"Deaths/100k\": 0.035019928090079665, \"Recovered/100k\": 0.008754982022519914, \"Confirmed\": 689.0, \"Deaths\": 4.0, \"Recovered\": 1.0, \"Long\": 4.64065114, \"Lat\": 50.63981576}, {\"Country/Region\": \"Brazil\", \"Confirmed/100k\": 0.07208692453324421, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.0, \"Confirmed\": 151.0, \"Deaths\": 0.0, \"Recovered\": 0.0, \"Long\": -53.09783113, \"Lat\": -10.78777702}, {\"Country/Region\": \"Canada\", \"Confirmed/100k\": 0.53428524615007, \"Deaths/100k\": 0.002698410334091263, \"Recovered/100k\": 0.021587282672730104, \"Confirmed\": 198.0, \"Deaths\": 1.0, \"Recovered\": 8.0, \"Long\": -98.30777028, \"Lat\": 61.36206324}, {\"Country/Region\": \"China\", \"Confirmed/100k\": 5.814264071284455, \"Deaths/100k\": 0.2292619531423894, \"Recovered/100k\": 4.7144816296051655, \"Confirmed\": 80977.0, \"Deaths\": 3193.0, \"Recovered\": 65660.0, \"Long\": 103.81907349, \"Lat\": 36.56176546}, {\"Country/Region\": \"Czechia\", \"Confirmed/100k\": 1.7787071810361583, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.0, \"Confirmed\": 189.0, \"Deaths\": 0.0, \"Recovered\": 0.0, \"Long\": 15.31240163, \"Lat\": 49.73341233}, {\"Country/Region\": \"Denmark\", \"Confirmed/100k\": 14.420142938804432, \"Deaths/100k\": 0.01724897480718234, \"Recovered/100k\": 0.01724897480718234, \"Confirmed\": 836.0, \"Deaths\": 1.0, \"Recovered\": 1.0, \"Long\": 10.02800992, \"Lat\": 55.98125296}, {\"Country/Region\": \"Egypt\", \"Confirmed/100k\": 0.11074580236578434, \"Deaths/100k\": 0.002032033070931823, \"Recovered/100k\": 0.02743244645757961, \"Confirmed\": 109.0, \"Deaths\": 2.0, \"Recovered\": 27.0, \"Long\": 29.86190099, \"Lat\": 26.49593311}, {\"Country/Region\": \"Estonia\", \"Confirmed/100k\": 8.706290635665205, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.0, \"Confirmed\": 115.0, \"Deaths\": 0.0, \"Recovered\": 0.0, \"Long\": 25.54248537, \"Lat\": 58.67192972}, {\"Country/Region\": \"Finland\", \"Confirmed/100k\": 4.077527387392285, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.018122343943965717, \"Confirmed\": 225.0, \"Deaths\": 0.0, \"Recovered\": 1.0, \"Long\": 26.2746656, \"Lat\": 64.49884603}, {\"Country/Region\": \"France\", \"Confirmed/100k\": 6.687840449145809, \"Deaths/100k\": 0.13584675912327426, \"Recovered/100k\": 0.017913858345926282, \"Confirmed\": 4480.0, \"Deaths\": 91.0, \"Recovered\": 12.0, \"Long\": -2.76172945, \"Lat\": 42.17344011}, {\"Country/Region\": \"Germany\", \"Confirmed/100k\": 5.528897733624627, \"Deaths/100k\": 0.010852798168510723, \"Recovered/100k\": 0.055469857305721466, \"Confirmed\": 4585.0, \"Deaths\": 9.0, \"Recovered\": 46.0, \"Long\": 10.38578051, \"Lat\": 51.10698181}, {\"Country/Region\": \"Greece\", \"Confirmed/100k\": 2.1253454152384283, \"Deaths/100k\": 0.027965071253137214, \"Recovered/100k\": 0.07457352334169924, \"Confirmed\": 228.0, \"Deaths\": 3.0, \"Recovered\": 8.0, \"Long\": 22.95555794, \"Lat\": 39.07469623}, {\"Country/Region\": \"Iceland\", \"Confirmed/100k\": 44.1208912420031, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.28282622591027623, \"Confirmed\": 156.0, \"Deaths\": 0.0, \"Recovered\": 1.0, \"Long\": -18.57396167, \"Lat\": 64.99575386}, {\"Country/Region\": \"India\", \"Confirmed/100k\": 0.007540935480311991, \"Deaths/100k\": 0.00014786148000611743, \"Recovered/100k\": 0.00029572296001223485, \"Confirmed\": 102.0, \"Deaths\": 2.0, \"Recovered\": 4.0, \"Long\": 79.61197609999998, \"Lat\": 22.88578212}, {\"Country/Region\": \"Iran\", \"Confirmed/100k\": 15.561073521653087, \"Deaths/100k\": 0.7469413089582871, \"Recovered/100k\": 3.6173475175246668, \"Confirmed\": 12729.0, \"Deaths\": 611.0, \"Recovered\": 2959.0, \"Long\": 54.27407004, \"Lat\": 32.57503292}, {\"Country/Region\": \"Iraq\", \"Confirmed/100k\": 0.2862079014195912, \"Deaths/100k\": 0.026018900129053748, \"Recovered/100k\": 0.06764914033553975, \"Confirmed\": 110.0, \"Deaths\": 10.0, \"Recovered\": 26.0, \"Long\": 43.74353149, \"Lat\": 33.03970582}, {\"Country/Region\": \"Ireland\", \"Confirmed/100k\": 2.657872474042476, \"Deaths/100k\": 0.04120732517895311, \"Recovered/100k\": 0.0, \"Confirmed\": 129.0, \"Deaths\": 2.0, \"Recovered\": 0.0, \"Long\": -8.13793569, \"Lat\": 53.17544870000001}, {\"Country/Region\": \"Israel\", \"Confirmed/100k\": 2.1724937526734056, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.045025777257479915, \"Confirmed\": 193.0, \"Deaths\": 0.0, \"Recovered\": 4.0, \"Long\": 35.00444693, \"Lat\": 31.46110101}, {\"Country/Region\": \"Italy\", \"Confirmed/100k\": 35.0100129431308, \"Deaths/100k\": 2.3845265704519294, \"Recovered/100k\": 3.25328191360756, \"Confirmed\": 21157.0, \"Deaths\": 1441.0, \"Recovered\": 1966.0, \"Long\": 12.07001339, \"Lat\": 42.79662641}, {\"Country/Region\": \"Japan\", \"Confirmed/100k\": 0.6109266563976192, \"Deaths/100k\": 0.017387304580527327, \"Recovered/100k\": 0.09325917911373748, \"Confirmed\": 773.0, \"Deaths\": 22.0, \"Recovered\": 118.0, \"Long\": 138.03089558, \"Lat\": 37.59230135}, {\"Country/Region\": \"Korea, South\", \"Confirmed/100k\": 15.659842956913007, \"Deaths/100k\": 0.13943961079615835, \"Recovered/100k\": 0.9876972431394551, \"Confirmed\": 8086.0, \"Deaths\": 72.0, \"Recovered\": 510.0, \"Long\": 127.83916086, \"Lat\": 36.38523983}, {\"Country/Region\": \"Kuwait\", \"Confirmed/100k\": 2.513711206970521, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.1208515003351212, \"Confirmed\": 104.0, \"Deaths\": 0.0, \"Recovered\": 5.0, \"Long\": 47.58700459, \"Lat\": 29.33431262}, {\"Country/Region\": \"Malaysia\", \"Confirmed/100k\": 0.7548705404952363, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.11101037360224064, \"Confirmed\": 238.0, \"Deaths\": 0.0, \"Recovered\": 35.0, \"Long\": 109.69762284, \"Lat\": 3.78986846}, {\"Country/Region\": \"Netherlands\", \"Confirmed/100k\": 5.565544970444868, \"Deaths/100k\": 0.06964185573027988, \"Recovered/100k\": 0.011606975955046644, \"Confirmed\": 959.0, \"Deaths\": 12.0, \"Recovered\": 2.0, \"Long\": 5.28144793, \"Lat\": 52.1007899}, {\"Country/Region\": \"Norway\", \"Confirmed/100k\": 20.510558609767997, \"Deaths/100k\": 0.056451078742480724, \"Recovered/100k\": 0.018817026247493568, \"Confirmed\": 1090.0, \"Deaths\": 3.0, \"Recovered\": 1.0, \"Long\": 15.34834656, \"Lat\": 68.75015572}, {\"Country/Region\": \"Philippines\", \"Confirmed/100k\": 0.10407688667814162, \"Deaths/100k\": 0.007501036877703902, \"Recovered/100k\": 0.0018752592194259754, \"Confirmed\": 111.0, \"Deaths\": 8.0, \"Recovered\": 2.0, \"Long\": 122.88393253, \"Lat\": 11.77536778}, {\"Country/Region\": \"Poland\", \"Confirmed/100k\": 0.2712057343529827, \"Deaths/100k\": 0.007899196146203378, \"Recovered/100k\": 0.0, \"Confirmed\": 103.0, \"Deaths\": 3.0, \"Recovered\": 0.0, \"Long\": 19.39012835, \"Lat\": 52.12759564}, {\"Country/Region\": \"Portugal\", \"Confirmed/100k\": 1.6436871423399997, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.01945191884426035, \"Confirmed\": 169.0, \"Deaths\": 0.0, \"Recovered\": 2.0, \"Long\": -8.50104361, \"Lat\": 39.59550671}, {\"Country/Region\": \"Qatar\", \"Confirmed/100k\": 12.114993940705553, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.14379814766416085, \"Confirmed\": 337.0, \"Deaths\": 0.0, \"Recovered\": 4.0, \"Long\": 51.18479632, \"Lat\": 25.30601188}, {\"Country/Region\": \"Romania\", \"Confirmed/100k\": 0.6316134550303544, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.046215618660757636, \"Confirmed\": 123.0, \"Deaths\": 0.0, \"Recovered\": 9.0, \"Long\": 24.97293039, \"Lat\": 45.85243127}, {\"Country/Region\": \"Saudi Arabia\", \"Confirmed/100k\": 0.30563846287354696, \"Deaths/100k\": 0.0, \"Recovered/100k\": 0.0029673637172189025, \"Confirmed\": 103.0, \"Deaths\": 0.0, \"Recovered\": 1.0, \"Long\": 44.53686271, \"Lat\": 24.12245841}, {\"Country/Region\": \"Singapore\", \"Confirmed/100k\": 3.7597478557022965, \"Deaths/100k\": 0.0, \"Recovered/100k\": 1.8621392681544395, \"Confirmed\": 212.0, \"Deaths\": 0.0, \"Recovered\": 105.0, \"Long\": 103.81725592, \"Lat\": 1.35876087}, {\"Country/Region\": \"Slovenia\", \"Confirmed/100k\": 8.755076493248433, \"Deaths/100k\": 0.04837058836048858, \"Recovered/100k\": 0.0, \"Confirmed\": 181.0, \"Deaths\": 1.0, \"Recovered\": 0.0, \"Long\": 14.80444238, \"Lat\": 46.11554772}, {\"Country/Region\": \"Spain\", \"Confirmed/100k\": 13.678268839257742, \"Deaths/100k\": 0.4173466474190673, \"Recovered/100k\": 1.1065036754649118, \"Confirmed\": 6391.0, \"Deaths\": 195.0, \"Recovered\": 517.0, \"Long\": -3.64755047, \"Lat\": 40.24448698}, {\"Country/Region\": \"Sweden\", \"Confirmed/100k\": 9.437135274607376, \"Deaths/100k\": 0.019640239905530446, \"Recovered/100k\": 0.009820119952765223, \"Confirmed\": 961.0, \"Deaths\": 2.0, \"Recovered\": 1.0, \"Long\": 16.74558049, \"Lat\": 62.77966519}, {\"Country/Region\": \"Switzerland\", \"Confirmed/100k\": 15.957178869407455, \"Deaths/100k\": 0.15264409514517804, \"Recovered/100k\": 0.04696741389082401, \"Confirmed\": 1359.0, \"Deaths\": 13.0, \"Recovered\": 4.0, \"Long\": 8.20867471, \"Lat\": 46.79785878}, {\"Country/Region\": \"US\", \"Confirmed/100k\": 0.8335181673369116, \"Deaths/100k\": 0.01650531024429528, \"Recovered/100k\": 0.0036678467209545055, \"Confirmed\": 2727.0, \"Deaths\": 54.0, \"Recovered\": 12.0, \"Long\": -112.4616737, \"Lat\": 45.6795472}, {\"Country/Region\": \"United Kingdom\", \"Confirmed/100k\": 1.719081584498703, \"Deaths/100k\": 0.031584176093152026, \"Recovered/100k\": 0.028576159322375637, \"Confirmed\": 1143.0, \"Deaths\": 21.0, \"Recovered\": 19.0, \"Long\": -2.86563164, \"Lat\": 54.12387156}]}}, {\"mode\": \"vega-lite\"});\n", "</script>" ], "text/plain": [ @@ -575,20 +575,20 @@ "version": "3.7.6" }, "papermill": { - "duration": 2.502575, - "end_time": "2020-03-15T16:37:30.908644", + "duration": 2.488601, + "end_time": "2020-03-15T16:43:47.325947", "environment_variables": {}, "exception": null, - "input_path": "notebooks/Dashboard.ipynb", + "input_path": "/tmp/e5179t23/notebooks/Dashboard.ipynb", "output_path": "runs/Dashboard.run.ipynb", "parameters": { - "PAPERMILL_INPUT_PATH": "notebooks/Dashboard.ipynb", + "PAPERMILL_INPUT_PATH": "/tmp/e5179t23/notebooks/Dashboard.ipynb", "PAPERMILL_OUTPUT_PATH": "runs/Dashboard.run.ipynb", - "geodata_path": "./data/geodata/geo_data.csv", - "rates_folder": "./data/covid-19_rates/", - "ts_folder": "./data/covid-19_jhu-csse/" + "geodata_path": "/tmp/e5179t23/data/geodata/geo_data.csv", + "rates_folder": "/tmp/e5179t23/data/covid-19_rates", + "ts_folder": "/tmp/e5179t23/data/covid-19_jhu-csse" }, - "start_time": "2020-03-15T16:37:28.406069", + "start_time": "2020-03-15T16:43:44.837346", "version": "1.1.0" } }, diff --git a/runs/ToRates.run.ipynb b/runs/ToRates.run.ipynb index 62734fea1c58a1e56626aa2e65accc4d16c2b197..34d9fda62a409a688294e098eff51be66cbf3af5 100644 --- a/runs/ToRates.run.ipynb +++ b/runs/ToRates.run.ipynb @@ -4,10 +4,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.02643, - "end_time": "2020-03-15T16:12:44.459053", + "duration": 0.026762, + "end_time": "2020-03-15T16:43:42.228951", "exception": false, - "start_time": "2020-03-15T16:12:44.432623", + "start_time": "2020-03-15T16:43:42.202189", "status": "completed" }, "tags": [] @@ -21,10 +21,10 @@ "execution_count": 1, "metadata": { "papermill": { - "duration": 0.285755, - "end_time": "2020-03-15T16:12:44.756979", + "duration": 0.308159, + "end_time": "2020-03-15T16:43:42.549233", "exception": false, - "start_time": "2020-03-15T16:12:44.471224", + "start_time": "2020-03-15T16:43:42.241074", "status": "completed" }, "tags": [] @@ -40,10 +40,10 @@ "execution_count": 2, "metadata": { "papermill": { - "duration": 0.026229, - "end_time": "2020-03-15T16:12:44.806173", + "duration": 0.024464, + "end_time": "2020-03-15T16:43:42.596678", "exception": false, - "start_time": "2020-03-15T16:12:44.779944", + "start_time": "2020-03-15T16:43:42.572214", "status": "completed" }, "tags": [ @@ -64,10 +64,10 @@ "execution_count": 3, "metadata": { "papermill": { - "duration": 0.024224, - "end_time": "2020-03-15T16:12:44.844892", + "duration": 0.023161, + "end_time": "2020-03-15T16:43:42.632795", "exception": false, - "start_time": "2020-03-15T16:12:44.820668", + "start_time": "2020-03-15T16:43:42.609634", "status": "completed" }, "tags": [ @@ -77,22 +77,22 @@ "outputs": [], "source": [ "# Parameters\n", - "PAPERMILL_INPUT_PATH = \"notebooks/ToRates.ipynb\"\n", + "PAPERMILL_INPUT_PATH = \"/tmp/sj0uwmdy/notebooks/ToRates.ipynb\"\n", "PAPERMILL_OUTPUT_PATH = \"runs/ToRates.run.ipynb\"\n", - "ts_folder = \"./data/covid-19_jhu-csse/\"\n", - "wb_path = \"./data/worldbank/SP.POP.TOTL.zip\"\n", - "geodata_path = \"./data/geodata/geo_data.csv\"\n", - "out_folder = \"./data/covid-19_rates/\"\n" + "ts_folder = \"/tmp/sj0uwmdy/data/covid-19_jhu-csse\"\n", + "wb_path = \"/tmp/sj0uwmdy/data/worldbank/SP.POP.TOTL.zip\"\n", + "geodata_path = \"/tmp/sj0uwmdy/data/geodata/geo_data.csv\"\n", + "out_folder = \"data/covid-19_rates\"\n" ] }, { "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.009881, - "end_time": "2020-03-15T16:12:44.866364", + "duration": 0.008873, + "end_time": "2020-03-15T16:43:42.653860", "exception": false, - "start_time": "2020-03-15T16:12:44.856483", + "start_time": "2020-03-15T16:43:42.644987", "status": "completed" }, "tags": [ @@ -110,10 +110,10 @@ "execution_count": 4, "metadata": { "papermill": { - "duration": 0.031271, - "end_time": "2020-03-15T16:12:44.906787", + "duration": 0.027857, + "end_time": "2020-03-15T16:43:42.690591", "exception": false, - "start_time": "2020-03-15T16:12:44.875516", + "start_time": "2020-03-15T16:43:42.662734", "status": "completed" }, "tags": [] @@ -135,10 +135,10 @@ "execution_count": 5, "metadata": { "papermill": { - "duration": 0.13379, - "end_time": "2020-03-15T16:12:45.055605", + "duration": 0.132113, + "end_time": "2020-03-15T16:43:42.839054", "exception": false, - "start_time": "2020-03-15T16:12:44.921815", + "start_time": "2020-03-15T16:43:42.706941", "status": "completed" }, "tags": [] @@ -156,10 +156,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.010981, - "end_time": "2020-03-15T16:12:45.086595", + "duration": 0.01131, + "end_time": "2020-03-15T16:43:42.871122", "exception": false, - "start_time": "2020-03-15T16:12:45.075614", + "start_time": "2020-03-15T16:43:42.859812", "status": "completed" }, "tags": [] @@ -173,10 +173,10 @@ "execution_count": 6, "metadata": { "papermill": { - "duration": 0.046657, - "end_time": "2020-03-15T16:12:45.142594", + "duration": 0.042676, + "end_time": "2020-03-15T16:43:42.923258", "exception": false, - "start_time": "2020-03-15T16:12:45.095937", + "start_time": "2020-03-15T16:43:42.880582", "status": "completed" }, "tags": [] @@ -192,10 +192,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.011166, - "end_time": "2020-03-15T16:12:45.175964", + "duration": 0.011135, + "end_time": "2020-03-15T16:43:42.955397", "exception": false, - "start_time": "2020-03-15T16:12:45.164798", + "start_time": "2020-03-15T16:43:42.944262", "status": "completed" }, "tags": [] @@ -209,10 +209,10 @@ "execution_count": 7, "metadata": { "papermill": { - "duration": 0.066877, - "end_time": "2020-03-15T16:12:45.252472", + "duration": 0.063297, + "end_time": "2020-03-15T16:43:43.027899", "exception": false, - "start_time": "2020-03-15T16:12:45.185595", + "start_time": "2020-03-15T16:43:42.964602", "status": "completed" }, "tags": [] @@ -345,10 +345,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.010445, - "end_time": "2020-03-15T16:12:45.282710", + "duration": 0.010848, + "end_time": "2020-03-15T16:43:43.059760", "exception": false, - "start_time": "2020-03-15T16:12:45.272265", + "start_time": "2020-03-15T16:43:43.048912", "status": "completed" }, "tags": [] @@ -362,10 +362,10 @@ "execution_count": 8, "metadata": { "papermill": { - "duration": 0.039483, - "end_time": "2020-03-15T16:12:45.332210", + "duration": 0.041061, + "end_time": "2020-03-15T16:43:43.110716", "exception": false, - "start_time": "2020-03-15T16:12:45.292727", + "start_time": "2020-03-15T16:43:43.069655", "status": "completed" }, "tags": [] @@ -394,10 +394,10 @@ "execution_count": 9, "metadata": { "papermill": { - "duration": 0.021992, - "end_time": "2020-03-15T16:12:45.373057", + "duration": 0.034436, + "end_time": "2020-03-15T16:43:43.163584", "exception": false, - "start_time": "2020-03-15T16:12:45.351065", + "start_time": "2020-03-15T16:43:43.129148", "status": "completed" }, "tags": [] @@ -412,10 +412,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.009838, - "end_time": "2020-03-15T16:12:45.395040", + "duration": 0.012003, + "end_time": "2020-03-15T16:43:43.199703", "exception": false, - "start_time": "2020-03-15T16:12:45.385202", + "start_time": "2020-03-15T16:43:43.187700", "status": "completed" }, "tags": [] @@ -429,10 +429,10 @@ "execution_count": 10, "metadata": { "papermill": { - "duration": 0.043595, - "end_time": "2020-03-15T16:12:45.448638", + "duration": 0.050802, + "end_time": "2020-03-15T16:43:43.260325", "exception": false, - "start_time": "2020-03-15T16:12:45.405043", + "start_time": "2020-03-15T16:43:43.209523", "status": "completed" }, "tags": [] @@ -461,8 +461,8 @@ " <th></th>\n", " <th></th>\n", " <th></th>\n", - " <th>2020-03-12 00:00:00</th>\n", " <th>2020-03-13 00:00:00</th>\n", + " <th>2020-03-14 00:00:00</th>\n", " </tr>\n", " <tr>\n", " <th>Country/Region</th>\n", @@ -477,7 +477,7 @@ " <th>Congo (Kinshasa)</th>\n", " <th>21.7587</th>\n", " <th>-4.0383</th>\n", - " <td>1</td>\n", + " <td>2</td>\n", " <td>2</td>\n", " </tr>\n", " <tr>\n", @@ -498,6 +498,13 @@ " <th>Guadeloupe</th>\n", " <th>-61.5510</th>\n", " <th>16.2650</th>\n", + " <td>1</td>\n", + " <td>1</td>\n", + " </tr>\n", + " <tr>\n", + " <th>Guernsey</th>\n", + " <th>-2.5800</th>\n", + " <th>49.4500</th>\n", " <td>0</td>\n", " <td>1</td>\n", " </tr>\n", @@ -509,41 +516,99 @@ " <td>1</td>\n", " </tr>\n", " <tr>\n", + " <th>Jersey</th>\n", + " <th>-2.1100</th>\n", + " <th>49.1900</th>\n", + " <td>0</td>\n", + " <td>2</td>\n", + " </tr>\n", + " <tr>\n", " <th>Martinique</th>\n", " <th>-61.0242</th>\n", " <th>14.6415</th>\n", " <td>3</td>\n", - " <td>3</td>\n", + " <td>9</td>\n", " </tr>\n", " <tr>\n", " <th>Reunion</th>\n", " <th>55.5364</th>\n", " <th>-21.1151</th>\n", - " <td>1</td>\n", " <td>5</td>\n", + " <td>6</td>\n", + " </tr>\n", + " <tr>\n", + " <th>Saint Lucia</th>\n", + " <th>-60.9789</th>\n", + " <th>13.9094</th>\n", + " <td>0</td>\n", + " <td>1</td>\n", + " </tr>\n", + " <tr>\n", + " <th>Saint Vincent and the Grenadines</th>\n", + " <th>-61.2872</th>\n", + " <th>12.9843</th>\n", + " <td>0</td>\n", + " <td>1</td>\n", " </tr>\n", " <tr>\n", " <th>Taiwan*</th>\n", " <th>121.0000</th>\n", " <th>23.7000</th>\n", - " <td>49</td>\n", " <td>50</td>\n", + " <td>53</td>\n", + " </tr>\n", + " <tr>\n", + " <th>Venezuela</th>\n", + " <th>-66.5897</th>\n", + " <th>6.4238</th>\n", + " <td>0</td>\n", + " <td>2</td>\n", + " </tr>\n", + " <tr>\n", + " <th>occupied Palestinian territory</th>\n", + " <th>35.2332</th>\n", + " <th>31.9522</th>\n", + " <td>0</td>\n", + " <td>0</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ - " 2020-03-12 00:00:00 2020-03-13 00:00:00\n", - "Country/Region Long Lat \n", - "Congo (Kinshasa) 21.7587 -4.0383 1 2\n", - "Cruise Ship 139.6380 35.4437 696 696\n", - "French Guiana -53.1258 3.9339 5 5\n", - "Guadeloupe -61.5510 16.2650 0 1\n", - "Holy See 12.4534 41.9029 1 1\n", - "Martinique -61.0242 14.6415 3 3\n", - "Reunion 55.5364 -21.1151 1 5\n", - "Taiwan* 121.0000 23.7000 49 50" + " 2020-03-13 00:00:00 \\\n", + "Country/Region Long Lat \n", + "Congo (Kinshasa) 21.7587 -4.0383 2 \n", + "Cruise Ship 139.6380 35.4437 696 \n", + "French Guiana -53.1258 3.9339 5 \n", + "Guadeloupe -61.5510 16.2650 1 \n", + "Guernsey -2.5800 49.4500 0 \n", + "Holy See 12.4534 41.9029 1 \n", + "Jersey -2.1100 49.1900 0 \n", + "Martinique -61.0242 14.6415 3 \n", + "Reunion 55.5364 -21.1151 5 \n", + "Saint Lucia -60.9789 13.9094 0 \n", + "Saint Vincent and the Grenadines -61.2872 12.9843 0 \n", + "Taiwan* 121.0000 23.7000 50 \n", + "Venezuela -66.5897 6.4238 0 \n", + "occupied Palestinian territory 35.2332 31.9522 0 \n", + "\n", + " 2020-03-14 00:00:00 \n", + "Country/Region Long Lat \n", + "Congo (Kinshasa) 21.7587 -4.0383 2 \n", + "Cruise Ship 139.6380 35.4437 696 \n", + "French Guiana -53.1258 3.9339 5 \n", + "Guadeloupe -61.5510 16.2650 1 \n", + "Guernsey -2.5800 49.4500 1 \n", + "Holy See 12.4534 41.9029 1 \n", + "Jersey -2.1100 49.1900 2 \n", + "Martinique -61.0242 14.6415 9 \n", + "Reunion 55.5364 -21.1151 6 \n", + "Saint Lucia -60.9789 13.9094 1 \n", + "Saint Vincent and the Grenadines -61.2872 12.9843 1 \n", + "Taiwan* 121.0000 23.7000 53 \n", + "Venezuela -66.5897 6.4238 2 \n", + "occupied Palestinian territory 35.2332 31.9522 0 " ] }, "execution_count": 10, @@ -561,10 +626,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.011436, - "end_time": "2020-03-15T16:12:45.477570", + "duration": 0.011461, + "end_time": "2020-03-15T16:43:43.292694", "exception": false, - "start_time": "2020-03-15T16:12:45.466134", + "start_time": "2020-03-15T16:43:43.281233", "status": "completed" }, "tags": [] @@ -578,10 +643,10 @@ "execution_count": 11, "metadata": { "papermill": { - "duration": 0.038201, - "end_time": "2020-03-15T16:12:45.525965", + "duration": 0.037434, + "end_time": "2020-03-15T16:43:43.340346", "exception": false, - "start_time": "2020-03-15T16:12:45.487764", + "start_time": "2020-03-15T16:43:43.302912", "status": "completed" }, "tags": [] @@ -595,10 +660,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.011731, - "end_time": "2020-03-15T16:12:45.559855", + "duration": 0.010233, + "end_time": "2020-03-15T16:43:43.366112", "exception": false, - "start_time": "2020-03-15T16:12:45.548124", + "start_time": "2020-03-15T16:43:43.355879", "status": "completed" }, "tags": [] @@ -612,10 +677,10 @@ "execution_count": 12, "metadata": { "papermill": { - "duration": 0.054112, - "end_time": "2020-03-15T16:12:45.625087", + "duration": 0.062288, + "end_time": "2020-03-15T16:43:43.438245", "exception": false, - "start_time": "2020-03-15T16:12:45.570975", + "start_time": "2020-03-15T16:43:43.375957", "status": "completed" }, "tags": [] @@ -669,6 +734,45 @@ " </thead>\n", " <tbody>\n", " <tr>\n", + " <th>Guernsey</th>\n", + " <td>Guernsey</td>\n", + " <td>Guernsey</td>\n", + " <td>Europe</td>\n", + " <td>Northern Europe</td>\n", + " <td>Europe & Central Asia</td>\n", + " <td>68633</td>\n", + " <td>2742.0</td>\n", + " <td>2. High income: nonOECD</td>\n", + " <td>-2.572391</td>\n", + " <td>49.468098</td>\n", + " </tr>\n", + " <tr>\n", + " <th>Jersey</th>\n", + " <td>Jersey</td>\n", + " <td>Jersey</td>\n", + " <td>Europe</td>\n", + " <td>Northern Europe</td>\n", + " <td>Europe & Central Asia</td>\n", + " <td>91626</td>\n", + " <td>5100.0</td>\n", + " <td>2. High income: nonOECD</td>\n", + " <td>-2.126899</td>\n", + " <td>49.218374</td>\n", + " </tr>\n", + " <tr>\n", + " <th>Saint Lucia</th>\n", + " <td>Saint Lucia</td>\n", + " <td>Saint Lucia</td>\n", + " <td>Americas</td>\n", + " <td>Caribbean</td>\n", + " <td>Latin America & Caribbean</td>\n", + " <td>160267</td>\n", + " <td>1778.0</td>\n", + " <td>3. Upper middle income</td>\n", + " <td>-60.969699</td>\n", + " <td>13.894795</td>\n", + " </tr>\n", + " <tr>\n", " <th>Taiwan*</th>\n", " <td>Taiwan</td>\n", " <td>Taiwan</td>\n", @@ -681,18 +785,90 @@ " <td>120.954273</td>\n", " <td>23.753993</td>\n", " </tr>\n", + " <tr>\n", + " <th>Saint Vincent and the Grenadines</th>\n", + " <td>St. Vin. and Gren.</td>\n", + " <td>Saint Vincent and the Grenadines</td>\n", + " <td>Americas</td>\n", + " <td>Caribbean</td>\n", + " <td>Latin America & Caribbean</td>\n", + " <td>104574</td>\n", + " <td>1070.0</td>\n", + " <td>3. Upper middle income</td>\n", + " <td>-61.201297</td>\n", + " <td>13.224723</td>\n", + " </tr>\n", + " <tr>\n", + " <th>Venezuela</th>\n", + " <td>Venezuela</td>\n", + " <td>Venezuela</td>\n", + " <td>Americas</td>\n", + " <td>South America</td>\n", + " <td>Latin America & Caribbean</td>\n", + " <td>26814843</td>\n", + " <td>357400.0</td>\n", + " <td>3. Upper middle income</td>\n", + " <td>-66.181841</td>\n", + " <td>7.124224</td>\n", + " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ - " name name_long region_un subregion region_wb \\\n", - "name_jhu \n", - "Taiwan* Taiwan Taiwan Asia Eastern Asia East Asia & Pacific \n", + " name \\\n", + "name_jhu \n", + "Guernsey Guernsey \n", + "Jersey Jersey \n", + "Saint Lucia Saint Lucia \n", + "Taiwan* Taiwan \n", + "Saint Vincent and the Grenadines St. Vin. and Gren. \n", + "Venezuela Venezuela \n", + "\n", + " name_long region_un \\\n", + "name_jhu \n", + "Guernsey Guernsey Europe \n", + "Jersey Jersey Europe \n", + "Saint Lucia Saint Lucia Americas \n", + "Taiwan* Taiwan Asia \n", + "Saint Vincent and the Grenadines Saint Vincent and the Grenadines Americas \n", + "Venezuela Venezuela Americas \n", + "\n", + " subregion region_wb \\\n", + "name_jhu \n", + "Guernsey Northern Europe Europe & Central Asia \n", + "Jersey Northern Europe Europe & Central Asia \n", + "Saint Lucia Caribbean Latin America & Caribbean \n", + "Taiwan* Eastern Asia East Asia & Pacific \n", + "Saint Vincent and the Grenadines Caribbean Latin America & Caribbean \n", + "Venezuela South America Latin America & Caribbean \n", + "\n", + " pop_est gdp_md_est \\\n", + "name_jhu \n", + "Guernsey 68633 2742.0 \n", + "Jersey 91626 5100.0 \n", + "Saint Lucia 160267 1778.0 \n", + "Taiwan* 22974347 712000.0 \n", + "Saint Vincent and the Grenadines 104574 1070.0 \n", + "Venezuela 26814843 357400.0 \n", + "\n", + " income_grp Longitude \\\n", + "name_jhu \n", + "Guernsey 2. High income: nonOECD -2.572391 \n", + "Jersey 2. High income: nonOECD -2.126899 \n", + "Saint Lucia 3. Upper middle income -60.969699 \n", + "Taiwan* 2. High income: nonOECD 120.954273 \n", + "Saint Vincent and the Grenadines 3. Upper middle income -61.201297 \n", + "Venezuela 3. Upper middle income -66.181841 \n", "\n", - " pop_est gdp_md_est income_grp Longitude Latitude \n", - "name_jhu \n", - "Taiwan* 22974347 712000.0 2. High income: nonOECD 120.954273 23.753993 " + " Latitude \n", + "name_jhu \n", + "Guernsey 49.468098 \n", + "Jersey 49.218374 \n", + "Saint Lucia 13.894795 \n", + "Taiwan* 23.753993 \n", + "Saint Vincent and the Grenadines 13.224723 \n", + "Venezuela 7.124224 " ] }, "metadata": {}, @@ -713,10 +889,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.011426, - "end_time": "2020-03-15T16:12:45.657075", + "duration": 0.012259, + "end_time": "2020-03-15T16:43:43.474771", "exception": false, - "start_time": "2020-03-15T16:12:45.645649", + "start_time": "2020-03-15T16:43:43.462512", "status": "completed" }, "tags": [] @@ -730,10 +906,10 @@ "execution_count": 13, "metadata": { "papermill": { - "duration": 0.082905, - "end_time": "2020-03-15T16:12:45.750274", + "duration": 0.080269, + "end_time": "2020-03-15T16:43:43.565663", "exception": false, - "start_time": "2020-03-15T16:12:45.667369", + "start_time": "2020-03-15T16:43:43.485394", "status": "completed" }, "tags": [] @@ -758,10 +934,10 @@ "execution_count": 14, "metadata": { "papermill": { - "duration": 0.057388, - "end_time": "2020-03-15T16:12:45.829536", + "duration": 0.065907, + "end_time": "2020-03-15T16:43:43.656507", "exception": false, - "start_time": "2020-03-15T16:12:45.772148", + "start_time": "2020-03-15T16:43:43.590600", "status": "completed" }, "tags": [] @@ -794,21 +970,21 @@ "version": "3.7.6" }, "papermill": { - "duration": 2.578814, - "end_time": "2020-03-15T16:12:46.163138", + "duration": 2.541462, + "end_time": "2020-03-15T16:43:43.994344", "environment_variables": {}, "exception": null, - "input_path": "notebooks/ToRates.ipynb", + "input_path": "/tmp/sj0uwmdy/notebooks/ToRates.ipynb", "output_path": "runs/ToRates.run.ipynb", "parameters": { - "PAPERMILL_INPUT_PATH": "notebooks/ToRates.ipynb", + "PAPERMILL_INPUT_PATH": "/tmp/sj0uwmdy/notebooks/ToRates.ipynb", "PAPERMILL_OUTPUT_PATH": "runs/ToRates.run.ipynb", - "geodata_path": "./data/geodata/geo_data.csv", - "out_folder": "./data/covid-19_rates/", - "ts_folder": "./data/covid-19_jhu-csse/", - "wb_path": "./data/worldbank/SP.POP.TOTL.zip" + "geodata_path": "/tmp/sj0uwmdy/data/geodata/geo_data.csv", + "out_folder": "data/covid-19_rates", + "ts_folder": "/tmp/sj0uwmdy/data/covid-19_jhu-csse", + "wb_path": "/tmp/sj0uwmdy/data/worldbank/SP.POP.TOTL.zip" }, - "start_time": "2020-03-15T16:12:43.584324", + "start_time": "2020-03-15T16:43:41.452882", "version": "1.1.0" } },