diff --git a/.renku/workflow/414e8dd586a446e588db482c4fc88f09_papermill.cwl b/.renku/workflow/414e8dd586a446e588db482c4fc88f09_papermill.cwl new file mode 100644 index 0000000000000000000000000000000000000000..988afcd830a1f9c81a2ca1b826ac4fbb0f595b33 --- /dev/null +++ b/.renku/workflow/414e8dd586a446e588db482c4fc88f09_papermill.cwl @@ -0,0 +1,137 @@ +arguments: [] +baseCommand: +- papermill +class: CommandLineTool +cwlVersion: v1.0 +hints: [] +inputs: + input_1: + default: ts_folder + inputBinding: + position: 1 + prefix: -p + separate: true + shellQuote: true + streamable: false + type: string + input_10: + default: runs/ToRates.run.ipynb + inputBinding: + position: 10 + separate: true + shellQuote: true + streamable: false + type: string + input_2: + default: + class: Directory + listing: [] + path: ../../data/covid-19_jhu-csse + inputBinding: + position: 2 + separate: true + shellQuote: true + streamable: false + type: Directory + input_3: + default: wb_path + inputBinding: + position: 3 + prefix: -p + separate: true + shellQuote: true + streamable: false + type: string + input_4: + default: + class: File + path: ../../data/worldbank/SP.POP.TOTL.zip + inputBinding: + position: 4 + separate: true + shellQuote: true + streamable: false + type: File + input_5: + default: geodata_path + inputBinding: + position: 5 + prefix: -p + separate: true + shellQuote: true + streamable: false + type: string + input_6: + default: + class: File + path: ../../data/geodata/geo_data.csv + inputBinding: + position: 6 + separate: true + shellQuote: true + streamable: false + type: File + input_7: + default: out_folder + inputBinding: + position: 7 + prefix: -p + separate: true + shellQuote: true + streamable: false + type: string + input_8: + default: data/covid-19_rates + inputBinding: + position: 8 + separate: true + shellQuote: true + streamable: false + type: string + input_9: + default: + class: File + path: ../../notebooks/process/ToRates.ipynb + inputBinding: + position: 9 + prefix: --inject-paths + separate: true + shellQuote: true + streamable: false + type: File +outputs: + output_0: + outputBinding: + glob: $(inputs.input_10) + streamable: false + type: File + output_1: + outputBinding: + glob: $(inputs.input_8) + streamable: false + type: Directory +permanentFailCodes: [] +requirements: +- class: InlineJavascriptRequirement +- class: InitialWorkDirRequirement + listing: + - entry: '$({"listing": [], "class": "Directory"})' + entryname: runs + writable: true + - entry: '$({"listing": [], "class": "Directory"})' + entryname: data/covid-19_rates + writable: true + - entry: $(inputs.input_2) + entryname: data/covid-19_jhu-csse + writable: false + - entry: $(inputs.input_4) + entryname: data/worldbank/SP.POP.TOTL.zip + writable: false + - entry: $(inputs.input_6) + entryname: data/geodata/geo_data.csv + writable: false + - entry: $(inputs.input_9) + entryname: notebooks/process/ToRates.ipynb + writable: false +successCodes: [] +temporaryFailCodes: [] 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 7b5f02fe51aaaf65baebe04bd54484f86561947e..d5f8230902d6edf79202e29cd190de20d0096ef9 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:b8f2140f3579b87a0b898231e4791d3943454507ff79055747aee72ef38cb173 -size 87096 +oid sha256:9ae1fd02112a3f7f1f74c314625a7042c89de2f6df105dc4c13f53b3d00e8cd6 +size 104570 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 14b7534f20ecd8eaf6985bf98fb36eef516fe967..be053acdb2cd682fc71ea08024df5e2d17f7088c 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:101e9885fce5564a2452250eabaca0929e1ebfb00f17d762c1064fdeaae3837a -size 49944 +oid sha256:905ade4dbd24d54b75fcef4b21b2642b71cac902a4fc314d180880e7a5ebd499 +size 62770 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 3914842abf31a1ea51925eddbb74d7b67e617692..b50338e950ace568358569adedf6a07c934e8141 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:5e501b13b10ffeee0fa4bed91482e1151ab37c8370548c668b1996b0869b5c5a -size 62472 +oid sha256:9434e8bf57ebee68c6b69c85b78b9d84e2b4c6196fe0869299594c33f205e404 +size 76043 diff --git a/runs/ToRates.run.ipynb b/runs/ToRates.run.ipynb index 2ab9a8b826121970d18cd31b939dd2810c444131..60c0a454cdc14cb0fc3cc710006fe09f7e88b1b2 100644 --- a/runs/ToRates.run.ipynb +++ b/runs/ToRates.run.ipynb @@ -4,10 +4,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.019737, - "end_time": "2020-03-20T09:14:21.387138", + "duration": 0.032494, + "end_time": "2020-03-25T13:55:04.106838", "exception": false, - "start_time": "2020-03-20T09:14:21.367401", + "start_time": "2020-03-25T13:55:04.074344", "status": "completed" }, "tags": [] @@ -21,10 +21,10 @@ "execution_count": 1, "metadata": { "papermill": { - "duration": 0.344425, - "end_time": "2020-03-20T09:14:21.745752", + "duration": 0.307799, + "end_time": "2020-03-25T13:55:04.426890", "exception": false, - "start_time": "2020-03-20T09:14:21.401327", + "start_time": "2020-03-25T13:55:04.119091", "status": "completed" }, "tags": [] @@ -40,10 +40,10 @@ "execution_count": 2, "metadata": { "papermill": { - "duration": 0.028, - "end_time": "2020-03-20T09:14:21.793663", + "duration": 0.024997, + "end_time": "2020-03-25T13:55:04.473087", "exception": false, - "start_time": "2020-03-20T09:14:21.765663", + "start_time": "2020-03-25T13:55:04.448090", "status": "completed" }, "tags": [ @@ -64,10 +64,10 @@ "execution_count": 3, "metadata": { "papermill": { - "duration": 0.024974, - "end_time": "2020-03-20T09:14:21.834058", + "duration": 0.022661, + "end_time": "2020-03-25T13:55:04.509511", "exception": false, - "start_time": "2020-03-20T09:14:21.809084", + "start_time": "2020-03-25T13:55:04.486850", "status": "completed" }, "tags": [ @@ -77,22 +77,22 @@ "outputs": [], "source": [ "# Parameters\n", - "PAPERMILL_INPUT_PATH = \"/tmp/99ksj1h9/notebooks/process/ToRates.ipynb\"\n", + "PAPERMILL_INPUT_PATH = \"notebooks/process/ToRates.ipynb\"\n", "PAPERMILL_OUTPUT_PATH = \"runs/ToRates.run.ipynb\"\n", - "ts_folder = \"/tmp/99ksj1h9/data/covid-19_jhu-csse\"\n", - "wb_path = \"/tmp/99ksj1h9/data/worldbank/SP.POP.TOTL.zip\"\n", - "geodata_path = \"/tmp/99ksj1h9/data/geodata/geo_data.csv\"\n", - "out_folder = \"data/covid-19_rates\"\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" ] }, { "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.013897, - "end_time": "2020-03-20T09:14:21.861189", + "duration": 0.010324, + "end_time": "2020-03-25T13:55:04.532118", "exception": false, - "start_time": "2020-03-20T09:14:21.847292", + "start_time": "2020-03-25T13:55:04.521794", "status": "completed" }, "tags": [ @@ -110,10 +110,10 @@ "execution_count": 4, "metadata": { "papermill": { - "duration": 0.037703, - "end_time": "2020-03-20T09:14:21.914653", + "duration": 0.029616, + "end_time": "2020-03-25T13:55:04.571972", "exception": false, - "start_time": "2020-03-20T09:14:21.876950", + "start_time": "2020-03-25T13:55:04.542356", "status": "completed" }, "tags": [] @@ -135,10 +135,10 @@ "execution_count": 5, "metadata": { "papermill": { - "duration": 0.160725, - "end_time": "2020-03-20T09:14:22.091386", + "duration": 0.139315, + "end_time": "2020-03-25T13:55:04.724324", "exception": false, - "start_time": "2020-03-20T09:14:21.930661", + "start_time": "2020-03-25T13:55:04.585009", "status": "completed" }, "tags": [] @@ -156,10 +156,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.013485, - "end_time": "2020-03-20T09:14:22.121911", + "duration": 0.011298, + "end_time": "2020-03-25T13:55:04.758899", "exception": false, - "start_time": "2020-03-20T09:14:22.108426", + "start_time": "2020-03-25T13:55:04.747601", "status": "completed" }, "tags": [] @@ -173,10 +173,10 @@ "execution_count": 6, "metadata": { "papermill": { - "duration": 0.045236, - "end_time": "2020-03-20T09:14:22.179994", + "duration": 0.046291, + "end_time": "2020-03-25T13:55:04.814885", "exception": false, - "start_time": "2020-03-20T09:14:22.134758", + "start_time": "2020-03-25T13:55:04.768594", "status": "completed" }, "tags": [] @@ -192,10 +192,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.01244, - "end_time": "2020-03-20T09:14:22.208872", + "duration": 0.011042, + "end_time": "2020-03-25T13:55:04.848202", "exception": false, - "start_time": "2020-03-20T09:14:22.196432", + "start_time": "2020-03-25T13:55:04.837160", "status": "completed" }, "tags": [] @@ -209,10 +209,10 @@ "execution_count": 7, "metadata": { "papermill": { - "duration": 0.066727, - "end_time": "2020-03-20T09:14:22.288534", + "duration": 0.070582, + "end_time": "2020-03-25T13:55:04.929280", "exception": false, - "start_time": "2020-03-20T09:14:22.221807", + "start_time": "2020-03-25T13:55:04.858698", "status": "completed" }, "tags": [] @@ -345,10 +345,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.017214, - "end_time": "2020-03-20T09:14:22.323770", + "duration": 0.011058, + "end_time": "2020-03-25T13:55:04.961018", "exception": false, - "start_time": "2020-03-20T09:14:22.306556", + "start_time": "2020-03-25T13:55:04.949960", "status": "completed" }, "tags": [] @@ -362,10 +362,10 @@ "execution_count": 8, "metadata": { "papermill": { - "duration": 0.039771, - "end_time": "2020-03-20T09:14:22.376854", + "duration": 0.045924, + "end_time": "2020-03-25T13:55:05.017994", "exception": false, - "start_time": "2020-03-20T09:14:22.337083", + "start_time": "2020-03-25T13:55:04.972070", "status": "completed" }, "tags": [] @@ -394,10 +394,10 @@ "execution_count": 9, "metadata": { "papermill": { - "duration": 0.030032, - "end_time": "2020-03-20T09:14:22.426341", + "duration": 0.024519, + "end_time": "2020-03-25T13:55:05.063028", "exception": false, - "start_time": "2020-03-20T09:14:22.396309", + "start_time": "2020-03-25T13:55:05.038509", "status": "completed" }, "tags": [] @@ -412,10 +412,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.015764, - "end_time": "2020-03-20T09:14:22.459526", + "duration": 0.013202, + "end_time": "2020-03-25T13:55:05.094653", "exception": false, - "start_time": "2020-03-20T09:14:22.443762", + "start_time": "2020-03-25T13:55:05.081451", "status": "completed" }, "tags": [] @@ -429,10 +429,10 @@ "execution_count": 10, "metadata": { "papermill": { - "duration": 0.046845, - "end_time": "2020-03-20T09:14:22.521782", + "duration": 0.057047, + "end_time": "2020-03-25T13:55:05.164566", "exception": false, - "start_time": "2020-03-20T09:14:22.474937", + "start_time": "2020-03-25T13:55:05.107519", "status": "completed" }, "tags": [] @@ -461,8 +461,8 @@ " <th></th>\n", " <th></th>\n", " <th></th>\n", - " <th>2020-03-18 00:00:00</th>\n", - " <th>2020-03-19 00:00:00</th>\n", + " <th>2020-03-22 00:00:00</th>\n", + " <th>2020-03-23 00:00:00</th>\n", " </tr>\n", " <tr>\n", " <th>Country/Region</th>\n", @@ -474,105 +474,213 @@ " </thead>\n", " <tbody>\n", " <tr>\n", + " <th>Cape Verde</th>\n", + " <th>-23.6167</th>\n", + " <th>15.1111</th>\n", + " <td>1</td>\n", + " <td>0.0</td>\n", + " </tr>\n", + " <tr>\n", " <th>Congo (Brazzaville)</th>\n", " <th>21.7587</th>\n", " <th>-4.0383</th>\n", - " <td>1</td>\n", " <td>3</td>\n", + " <td>3.0</td>\n", " </tr>\n", " <tr>\n", " <th>Congo (Kinshasa)</th>\n", " <th>21.7587</th>\n", " <th>-4.0383</th>\n", - " <td>4</td>\n", - " <td>14</td>\n", + " <td>30</td>\n", + " <td>30.0</td>\n", " </tr>\n", " <tr>\n", " <th>Cruise Ship</th>\n", " <th>139.6380</th>\n", " <th>35.4437</th>\n", " <td>712</td>\n", - " <td>712</td>\n", + " <td>712.0</td>\n", + " </tr>\n", + " <tr>\n", + " <th>East Timor</th>\n", + " <th>125.5600</th>\n", + " <th>-8.5500</th>\n", + " <td>1</td>\n", + " <td>0.0</td>\n", + " </tr>\n", + " <tr>\n", + " <th>French Guiana</th>\n", + " <th>-53.1258</th>\n", + " <th>3.9339</th>\n", + " <td>0</td>\n", + " <td>18.0</td>\n", + " </tr>\n", + " <tr>\n", + " <th>Guadeloupe</th>\n", + " <th>-61.5510</th>\n", + " <th>16.2650</th>\n", + " <td>0</td>\n", + " <td>56.0</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>0.0</td>\n", " </tr>\n", " <tr>\n", " <th>Holy See</th>\n", " <th>12.4534</th>\n", " <th>41.9029</th>\n", " <td>1</td>\n", - " <td>1</td>\n", + " <td>1.0</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>0.0</td>\n", " </tr>\n", " <tr>\n", " <th>Kyrgyzstan</th>\n", " <th>74.7661</th>\n", " <th>41.2044</th>\n", - " <td>3</td>\n", - " <td>3</td>\n", + " <td>14</td>\n", + " <td>14.0</td>\n", " </tr>\n", " <tr>\n", " <th>Martinique</th>\n", " <th>-61.0242</th>\n", " <th>14.6415</th>\n", - " <td>19</td>\n", - " <td>23</td>\n", + " <td>37</td>\n", + " <td>37.0</td>\n", + " </tr>\n", + " <tr>\n", + " <th>Mayotte</th>\n", + " <th>45.1662</th>\n", + " <th>-12.8275</th>\n", + " <td>0</td>\n", + " <td>11.0</td>\n", + " </tr>\n", + " <tr>\n", + " <th>Republic of the Congo</th>\n", + " <th>15.5560</th>\n", + " <th>-1.4400</th>\n", + " <td>0</td>\n", + " <td>0.0</td>\n", + " </tr>\n", + " <tr>\n", + " <th>Reunion</th>\n", + " <th>55.5364</th>\n", + " <th>-21.1151</th>\n", + " <td>0</td>\n", + " <td>47.0</td>\n", " </tr>\n", " <tr>\n", " <th>Saint Lucia</th>\n", " <th>-60.9789</th>\n", " <th>13.9094</th>\n", " <td>2</td>\n", - " <td>2</td>\n", + " <td>2.0</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>1</td>\n", + " <td>1.0</td>\n", + " </tr>\n", + " <tr>\n", + " <th>Syria</th>\n", + " <th>38.9968</th>\n", + " <th>34.8021</th>\n", " <td>1</td>\n", + " <td>1.0</td>\n", " </tr>\n", " <tr>\n", " <th>Taiwan*</th>\n", " <th>121.0000</th>\n", " <th>23.7000</th>\n", - " <td>100</td>\n", - " <td>108</td>\n", + " <td>169</td>\n", + " <td>169.0</td>\n", + " </tr>\n", + " <tr>\n", + " <th>The Bahamas</th>\n", + " <th>-76.0000</th>\n", + " <th>24.2500</th>\n", + " <td>0</td>\n", + " <td>0.0</td>\n", + " </tr>\n", + " <tr>\n", + " <th>The Gambia</th>\n", + " <th>-16.6000</th>\n", + " <th>13.4667</th>\n", + " <td>0</td>\n", + " <td>0.0</td>\n", " </tr>\n", " <tr>\n", " <th>Venezuela</th>\n", " <th>-66.5897</th>\n", " <th>6.4238</th>\n", - " <td>36</td>\n", - " <td>42</td>\n", + " <td>70</td>\n", + " <td>70.0</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ - " 2020-03-18 00:00:00 \\\n", + " 2020-03-22 00:00:00 \\\n", "Country/Region Long Lat \n", - "Congo (Brazzaville) 21.7587 -4.0383 1 \n", - "Congo (Kinshasa) 21.7587 -4.0383 4 \n", + "Cape Verde -23.6167 15.1111 1 \n", + "Congo (Brazzaville) 21.7587 -4.0383 3 \n", + "Congo (Kinshasa) 21.7587 -4.0383 30 \n", "Cruise Ship 139.6380 35.4437 712 \n", + "East Timor 125.5600 -8.5500 1 \n", + "French Guiana -53.1258 3.9339 0 \n", + "Guadeloupe -61.5510 16.2650 0 \n", + "Guernsey -2.5800 49.4500 0 \n", "Holy See 12.4534 41.9029 1 \n", - "Kyrgyzstan 74.7661 41.2044 3 \n", - "Martinique -61.0242 14.6415 19 \n", + "Jersey -2.1100 49.1900 0 \n", + "Kyrgyzstan 74.7661 41.2044 14 \n", + "Martinique -61.0242 14.6415 37 \n", + "Mayotte 45.1662 -12.8275 0 \n", + "Republic of the Congo 15.5560 -1.4400 0 \n", + "Reunion 55.5364 -21.1151 0 \n", "Saint Lucia -60.9789 13.9094 2 \n", "Saint Vincent and the Grenadines -61.2872 12.9843 1 \n", - "Taiwan* 121.0000 23.7000 100 \n", - "Venezuela -66.5897 6.4238 36 \n", + "Syria 38.9968 34.8021 1 \n", + "Taiwan* 121.0000 23.7000 169 \n", + "The Bahamas -76.0000 24.2500 0 \n", + "The Gambia -16.6000 13.4667 0 \n", + "Venezuela -66.5897 6.4238 70 \n", "\n", - " 2020-03-19 00:00:00 \n", + " 2020-03-23 00:00:00 \n", "Country/Region Long Lat \n", - "Congo (Brazzaville) 21.7587 -4.0383 3 \n", - "Congo (Kinshasa) 21.7587 -4.0383 14 \n", - "Cruise Ship 139.6380 35.4437 712 \n", - "Holy See 12.4534 41.9029 1 \n", - "Kyrgyzstan 74.7661 41.2044 3 \n", - "Martinique -61.0242 14.6415 23 \n", - "Saint Lucia -60.9789 13.9094 2 \n", - "Saint Vincent and the Grenadines -61.2872 12.9843 1 \n", - "Taiwan* 121.0000 23.7000 108 \n", - "Venezuela -66.5897 6.4238 42 " + "Cape Verde -23.6167 15.1111 0.0 \n", + "Congo (Brazzaville) 21.7587 -4.0383 3.0 \n", + "Congo (Kinshasa) 21.7587 -4.0383 30.0 \n", + "Cruise Ship 139.6380 35.4437 712.0 \n", + "East Timor 125.5600 -8.5500 0.0 \n", + "French Guiana -53.1258 3.9339 18.0 \n", + "Guadeloupe -61.5510 16.2650 56.0 \n", + "Guernsey -2.5800 49.4500 0.0 \n", + "Holy See 12.4534 41.9029 1.0 \n", + "Jersey -2.1100 49.1900 0.0 \n", + "Kyrgyzstan 74.7661 41.2044 14.0 \n", + "Martinique -61.0242 14.6415 37.0 \n", + "Mayotte 45.1662 -12.8275 11.0 \n", + "Republic of the Congo 15.5560 -1.4400 0.0 \n", + "Reunion 55.5364 -21.1151 47.0 \n", + "Saint Lucia -60.9789 13.9094 2.0 \n", + "Saint Vincent and the Grenadines -61.2872 12.9843 1.0 \n", + "Syria 38.9968 34.8021 1.0 \n", + "Taiwan* 121.0000 23.7000 169.0 \n", + "The Bahamas -76.0000 24.2500 0.0 \n", + "The Gambia -16.6000 13.4667 0.0 \n", + "Venezuela -66.5897 6.4238 70.0 " ] }, "execution_count": 10, @@ -590,10 +698,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.021182, - "end_time": "2020-03-20T09:14:22.566561", + "duration": 0.012705, + "end_time": "2020-03-25T13:55:05.196368", "exception": false, - "start_time": "2020-03-20T09:14:22.545379", + "start_time": "2020-03-25T13:55:05.183663", "status": "completed" }, "tags": [] @@ -607,10 +715,10 @@ "execution_count": 11, "metadata": { "papermill": { - "duration": 0.050686, - "end_time": "2020-03-20T09:14:22.640332", + "duration": 0.041453, + "end_time": "2020-03-25T13:55:05.249421", "exception": false, - "start_time": "2020-03-20T09:14:22.589646", + "start_time": "2020-03-25T13:55:05.207968", "status": "completed" }, "tags": [] @@ -624,10 +732,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.01352, - "end_time": "2020-03-20T09:14:22.673904", + "duration": 0.012499, + "end_time": "2020-03-25T13:55:05.286397", "exception": false, - "start_time": "2020-03-20T09:14:22.660384", + "start_time": "2020-03-25T13:55:05.273898", "status": "completed" }, "tags": [] @@ -641,10 +749,10 @@ "execution_count": 12, "metadata": { "papermill": { - "duration": 0.060982, - "end_time": "2020-03-20T09:14:22.748645", + "duration": 0.067215, + "end_time": "2020-03-25T13:55:05.366227", "exception": false, - "start_time": "2020-03-20T09:14:22.687663", + "start_time": "2020-03-25T13:55:05.299012", "status": "completed" }, "tags": [] @@ -698,6 +806,58 @@ " </thead>\n", " <tbody>\n", " <tr>\n", + " <th>Cape Verde</th>\n", + " <td>Cape Verde</td>\n", + " <td>Cape Verde</td>\n", + " <td>Africa</td>\n", + " <td>Western Africa</td>\n", + " <td>Sub-Saharan Africa</td>\n", + " <td>429474</td>\n", + " <td>1626.0</td>\n", + " <td>4. Lower middle income</td>\n", + " <td>-23.959888</td>\n", + " <td>15.955233</td>\n", + " </tr>\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>The Gambia</th>\n", + " <td>Gambia</td>\n", + " <td>The Gambia</td>\n", + " <td>Africa</td>\n", + " <td>Western Africa</td>\n", + " <td>Sub-Saharan Africa</td>\n", + " <td>1782893</td>\n", + " <td>2272.0</td>\n", + " <td>5. Low income</td>\n", + " <td>-15.396013</td>\n", + " <td>13.449652</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>Kyrgyzstan</th>\n", " <td>Kyrgyzstan</td>\n", " <td>Kyrgyzstan</td>\n", @@ -724,6 +884,19 @@ " <td>13.894795</td>\n", " </tr>\n", " <tr>\n", + " <th>Syria</th>\n", + " <td>Syria</td>\n", + " <td>Syria</td>\n", + " <td>Asia</td>\n", + " <td>Western Asia</td>\n", + " <td>Middle East & North Africa</td>\n", + " <td>20178485</td>\n", + " <td>98830.0</td>\n", + " <td>4. Lower middle income</td>\n", + " <td>38.507882</td>\n", + " <td>35.025474</td>\n", + " </tr>\n", + " <tr>\n", " <th>Taiwan*</th>\n", " <td>Taiwan</td>\n", " <td>Taiwan</td>\n", @@ -769,48 +942,78 @@ "text/plain": [ " name \\\n", "name_jhu \n", + "Cape Verde Cape Verde \n", + "Guernsey Guernsey \n", + "The Gambia Gambia \n", + "Jersey Jersey \n", "Kyrgyzstan Kyrgyzstan \n", "Saint Lucia Saint Lucia \n", + "Syria Syria \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", + "Cape Verde Cape Verde Africa \n", + "Guernsey Guernsey Europe \n", + "The Gambia The Gambia Africa \n", + "Jersey Jersey Europe \n", "Kyrgyzstan Kyrgyzstan Asia \n", "Saint Lucia Saint Lucia Americas \n", + "Syria Syria Asia \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", - "Kyrgyzstan Central Asia 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", + " subregion region_wb \\\n", + "name_jhu \n", + "Cape Verde Western Africa Sub-Saharan Africa \n", + "Guernsey Northern Europe Europe & Central Asia \n", + "The Gambia Western Africa Sub-Saharan Africa \n", + "Jersey Northern Europe Europe & Central Asia \n", + "Kyrgyzstan Central Asia Europe & Central Asia \n", + "Saint Lucia Caribbean Latin America & Caribbean \n", + "Syria Western Asia Middle East & North Africa \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", + "Cape Verde 429474 1626.0 \n", + "Guernsey 68633 2742.0 \n", + "The Gambia 1782893 2272.0 \n", + "Jersey 91626 5100.0 \n", "Kyrgyzstan 5431747 11610.0 \n", "Saint Lucia 160267 1778.0 \n", + "Syria 20178485 98830.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", + "Cape Verde 4. Lower middle income -23.959888 \n", + "Guernsey 2. High income: nonOECD -2.572391 \n", + "The Gambia 5. Low income -15.396013 \n", + "Jersey 2. High income: nonOECD -2.126899 \n", "Kyrgyzstan 5. Low income 74.541655 \n", "Saint Lucia 3. Upper middle income -60.969699 \n", + "Syria 4. Lower middle income 38.507882 \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", " Latitude \n", "name_jhu \n", + "Cape Verde 15.955233 \n", + "Guernsey 49.468098 \n", + "The Gambia 13.449652 \n", + "Jersey 49.218374 \n", "Kyrgyzstan 41.462219 \n", "Saint Lucia 13.894795 \n", + "Syria 35.025474 \n", "Taiwan* 23.753993 \n", "Saint Vincent and the Grenadines 13.224723 \n", "Venezuela 7.124224 " @@ -834,10 +1037,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.013999, - "end_time": "2020-03-20T09:14:22.779092", + "duration": 0.012964, + "end_time": "2020-03-25T13:55:05.402092", "exception": false, - "start_time": "2020-03-20T09:14:22.765093", + "start_time": "2020-03-25T13:55:05.389128", "status": "completed" }, "tags": [] @@ -851,10 +1054,10 @@ "execution_count": 13, "metadata": { "papermill": { - "duration": 0.043702, - "end_time": "2020-03-20T09:14:22.837331", + "duration": 0.172521, + "end_time": "2020-03-25T13:55:05.587275", "exception": false, - "start_time": "2020-03-20T09:14:22.793629", + "start_time": "2020-03-25T13:55:05.414754", "status": "completed" }, "tags": [] @@ -879,10 +1082,10 @@ "execution_count": 14, "metadata": { "papermill": { - "duration": 0.083012, - "end_time": "2020-03-20T09:14:22.939277", + "duration": 0.078266, + "end_time": "2020-03-25T13:55:05.678115", "exception": false, - "start_time": "2020-03-20T09:14:22.856265", + "start_time": "2020-03-25T13:55:05.599849", "status": "completed" }, "tags": [] @@ -915,21 +1118,21 @@ "version": "3.7.3" }, "papermill": { - "duration": 2.769685, - "end_time": "2020-03-20T09:14:23.270979", + "duration": 2.775622, + "end_time": "2020-03-25T13:55:06.012085", "environment_variables": {}, "exception": null, - "input_path": "/tmp/99ksj1h9/notebooks/process/ToRates.ipynb", + "input_path": "notebooks/process/ToRates.ipynb", "output_path": "runs/ToRates.run.ipynb", "parameters": { - "PAPERMILL_INPUT_PATH": "/tmp/99ksj1h9/notebooks/process/ToRates.ipynb", + "PAPERMILL_INPUT_PATH": "notebooks/process/ToRates.ipynb", "PAPERMILL_OUTPUT_PATH": "runs/ToRates.run.ipynb", - "geodata_path": "/tmp/99ksj1h9/data/geodata/geo_data.csv", - "out_folder": "data/covid-19_rates", - "ts_folder": "/tmp/99ksj1h9/data/covid-19_jhu-csse", - "wb_path": "/tmp/99ksj1h9/data/worldbank/SP.POP.TOTL.zip" + "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" }, - "start_time": "2020-03-20T09:14:20.501294", + "start_time": "2020-03-25T13:55:03.236463", "version": "1.1.0" } },