diff --git a/.renku/workflow/24f649b76cd94bb081e327b6200fc2de_papermill.cwl b/.renku/workflow/24f649b76cd94bb081e327b6200fc2de_papermill.cwl new file mode 100644 index 0000000000000000000000000000000000000000..473061c8f64291e29744b69b762ab9d9666bc55d --- /dev/null +++ b/.renku/workflow/24f649b76cd94bb081e327b6200fc2de_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/atlas/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/atlas/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 762ea359b31e29d5dcde3c6b1bac20286f2089d5..de75c94bf0d92beeba4da5fb695988bd01674a5e 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:0a3ea2e24d3c73306ecb7a2c20b6f958f47dea9f61d31a60d27470f82b9bc32b -size 151413 +oid sha256:ef8b634fff8d332792b7aa71d294740e6c6deeab58e79e118bca0e403b9efdfd +size 154716 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 b4c13fde616f5a01784f0d3929c4a16a114e426f..4924f102980bf668ad90bd7fc815595f44f43a39 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:10d4336230364ed22641a40a476f4400d5b3bfc0c32bc035bd6e8da6d1790c20 -size 100359 +oid sha256:60a5fb3f15af1d6d1c2e9206b8c65dab140876f02ff3586ad98d0571378329da +size 103289 diff --git a/runs/ToRates.run.ipynb b/runs/ToRates.run.ipynb index 0cd0d9b5982bcfa2279313a4d246a8c1da42403b..f4d14418e8f1cebc32bc2a9829ccaf35f73f02ce 100644 --- a/runs/ToRates.run.ipynb +++ b/runs/ToRates.run.ipynb @@ -4,10 +4,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.017012, - "end_time": "2020-04-07T07:26:23.790565", + "duration": 0.02726, + "end_time": "2020-04-09T05:00:38.273676", "exception": false, - "start_time": "2020-04-07T07:26:23.773553", + "start_time": "2020-04-09T05:00:38.246416", "status": "completed" }, "tags": [] @@ -21,10 +21,10 @@ "execution_count": 1, "metadata": { "papermill": { - "duration": 0.296352, - "end_time": "2020-04-07T07:26:24.099650", + "duration": 0.373082, + "end_time": "2020-04-09T05:00:38.659078", "exception": false, - "start_time": "2020-04-07T07:26:23.803298", + "start_time": "2020-04-09T05:00:38.285996", "status": "completed" }, "tags": [] @@ -40,10 +40,10 @@ "execution_count": 2, "metadata": { "papermill": { - "duration": 0.023758, - "end_time": "2020-04-07T07:26:24.140475", + "duration": 0.027823, + "end_time": "2020-04-09T05:00:38.706532", "exception": false, - "start_time": "2020-04-07T07:26:24.116717", + "start_time": "2020-04-09T05:00:38.678709", "status": "completed" }, "tags": [ @@ -53,7 +53,7 @@ "outputs": [], "source": [ "ts_folder = \"../../data/covid-19_jhu-csse/\"\n", - "wb_path = \"../../data/worldbank/SP.POP.TOTL.zip\"\n", + "wb_path = \"../../data/atlas/worldbank/SP.POP.TOTL.zip\"\n", "geodata_path = \"../../data/geodata/geo_data.csv\"\n", "out_folder = None\n", "PAPERMILL_OUTPUT_PATH = None" @@ -64,10 +64,10 @@ "execution_count": 3, "metadata": { "papermill": { - "duration": 0.02264, - "end_time": "2020-04-07T07:26:24.177456", + "duration": 0.030505, + "end_time": "2020-04-09T05:00:38.750544", "exception": false, - "start_time": "2020-04-07T07:26:24.154816", + "start_time": "2020-04-09T05:00:38.720039", "status": "completed" }, "tags": [ @@ -77,22 +77,22 @@ "outputs": [], "source": [ "# Parameters\n", - "PAPERMILL_INPUT_PATH = \"/tmp/o7ht8_17/notebooks/process/ToRates.ipynb\"\n", + "PAPERMILL_INPUT_PATH = \"notebooks/process/ToRates.ipynb\"\n", "PAPERMILL_OUTPUT_PATH = \"runs/ToRates.run.ipynb\"\n", - "ts_folder = \"/tmp/o7ht8_17/data/covid-19_jhu-csse\"\n", - "wb_path = \"/tmp/o7ht8_17/data/worldbank/SP.POP.TOTL.zip\"\n", - "geodata_path = \"/tmp/o7ht8_17/data/geodata/geo_data.csv\"\n", - "out_folder = \"data/covid-19_rates\"\n" + "ts_folder = \"./data/covid-19_jhu-csse/\"\n", + "wb_path = \"./data/atlas/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.013275, - "end_time": "2020-04-07T07:26:24.205204", + "duration": 0.010526, + "end_time": "2020-04-09T05:00:38.775129", "exception": false, - "start_time": "2020-04-07T07:26:24.191929", + "start_time": "2020-04-09T05:00:38.764603", "status": "completed" }, "tags": [ @@ -110,10 +110,10 @@ "execution_count": 4, "metadata": { "papermill": { - "duration": 0.02493, - "end_time": "2020-04-07T07:26:24.242506", + "duration": 0.034297, + "end_time": "2020-04-09T05:00:38.820899", "exception": false, - "start_time": "2020-04-07T07:26:24.217576", + "start_time": "2020-04-09T05:00:38.786602", "status": "completed" }, "tags": [] @@ -135,10 +135,10 @@ "execution_count": 5, "metadata": { "papermill": { - "duration": 0.140184, - "end_time": "2020-04-07T07:26:24.395550", + "duration": 0.114622, + "end_time": "2020-04-09T05:00:38.951454", "exception": false, - "start_time": "2020-04-07T07:26:24.255366", + "start_time": "2020-04-09T05:00:38.836832", "status": "completed" }, "tags": [] @@ -155,10 +155,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.012225, - "end_time": "2020-04-07T07:26:24.420637", + "duration": 0.011673, + "end_time": "2020-04-09T05:00:38.983837", "exception": false, - "start_time": "2020-04-07T07:26:24.408412", + "start_time": "2020-04-09T05:00:38.972164", "status": "completed" }, "tags": [] @@ -172,10 +172,10 @@ "execution_count": 6, "metadata": { "papermill": { - "duration": 0.07793, - "end_time": "2020-04-07T07:26:24.510919", + "duration": 0.047924, + "end_time": "2020-04-09T05:00:39.042023", "exception": false, - "start_time": "2020-04-07T07:26:24.432989", + "start_time": "2020-04-09T05:00:38.994099", "status": "completed" }, "tags": [] @@ -191,10 +191,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.012674, - "end_time": "2020-04-07T07:26:24.537326", + "duration": 0.01031, + "end_time": "2020-04-09T05:00:39.069203", "exception": false, - "start_time": "2020-04-07T07:26:24.524652", + "start_time": "2020-04-09T05:00:39.058893", "status": "completed" }, "tags": [] @@ -208,10 +208,10 @@ "execution_count": 7, "metadata": { "papermill": { - "duration": 0.059408, - "end_time": "2020-04-07T07:26:24.609279", + "duration": 0.072257, + "end_time": "2020-04-09T05:00:39.152334", "exception": false, - "start_time": "2020-04-07T07:26:24.549871", + "start_time": "2020-04-09T05:00:39.080077", "status": "completed" }, "tags": [] @@ -344,10 +344,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.012869, - "end_time": "2020-04-07T07:26:24.635680", + "duration": 0.011511, + "end_time": "2020-04-09T05:00:39.184287", "exception": false, - "start_time": "2020-04-07T07:26:24.622811", + "start_time": "2020-04-09T05:00:39.172776", "status": "completed" }, "tags": [] @@ -361,10 +361,10 @@ "execution_count": 8, "metadata": { "papermill": { - "duration": 0.031272, - "end_time": "2020-04-07T07:26:24.680185", + "duration": 0.04807, + "end_time": "2020-04-09T05:00:39.243326", "exception": false, - "start_time": "2020-04-07T07:26:24.648913", + "start_time": "2020-04-09T05:00:39.195256", "status": "completed" }, "tags": [] @@ -393,10 +393,10 @@ "execution_count": 9, "metadata": { "papermill": { - "duration": 0.021441, - "end_time": "2020-04-07T07:26:24.714729", + "duration": 0.025839, + "end_time": "2020-04-09T05:00:39.290082", "exception": false, - "start_time": "2020-04-07T07:26:24.693288", + "start_time": "2020-04-09T05:00:39.264243", "status": "completed" }, "tags": [] @@ -411,10 +411,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.013002, - "end_time": "2020-04-07T07:26:24.742466", + "duration": 0.01093, + "end_time": "2020-04-09T05:00:39.314581", "exception": false, - "start_time": "2020-04-07T07:26:24.729464", + "start_time": "2020-04-09T05:00:39.303651", "status": "completed" }, "tags": [] @@ -428,10 +428,10 @@ "execution_count": 10, "metadata": { "papermill": { - "duration": 0.038013, - "end_time": "2020-04-07T07:26:24.793563", + "duration": 0.058977, + "end_time": "2020-04-09T05:00:39.384626", "exception": false, - "start_time": "2020-04-07T07:26:24.755550", + "start_time": "2020-04-09T05:00:39.325649", "status": "completed" }, "tags": [] @@ -460,8 +460,8 @@ " <th></th>\n", " <th></th>\n", " <th></th>\n", - " <th>2020-04-05 00:00:00</th>\n", " <th>2020-04-06 00:00:00</th>\n", + " <th>2020-04-07 00:00:00</th>\n", " </tr>\n", " <tr>\n", " <th>Country/Region</th>\n", @@ -476,14 +476,14 @@ " <th>Bahamas</th>\n", " <th>-77.396300</th>\n", " <th>25.034300</th>\n", - " <td>28</td>\n", " <td>29</td>\n", + " <td>33</td>\n", " </tr>\n", " <tr>\n", " <th>Burma</th>\n", " <th>95.956000</th>\n", " <th>21.916200</th>\n", - " <td>21</td>\n", + " <td>22</td>\n", " <td>22</td>\n", " </tr>\n", " <tr>\n", @@ -497,8 +497,8 @@ " <th>Congo (Kinshasa)</th>\n", " <th>21.758700</th>\n", " <th>-4.038300</th>\n", - " <td>154</td>\n", " <td>161</td>\n", + " <td>180</td>\n", " </tr>\n", " <tr>\n", " <th>Diamond Princess</th>\n", @@ -525,15 +525,15 @@ " <th>Kyrgyzstan</th>\n", " <th>74.766100</th>\n", " <th>41.204400</th>\n", - " <td>147</td>\n", " <td>216</td>\n", + " <td>228</td>\n", " </tr>\n", " <tr>\n", " <th>Laos</th>\n", " <th>102.495496</th>\n", " <th>19.856270</th>\n", - " <td>11</td>\n", " <td>12</td>\n", + " <td>14</td>\n", " </tr>\n", " <tr>\n", " <th>MS Zaandam</th>\n", @@ -547,7 +547,7 @@ " <th>-62.782998</th>\n", " <th>17.357822</th>\n", " <td>10</td>\n", - " <td>10</td>\n", + " <td>11</td>\n", " </tr>\n", " <tr>\n", " <th>Saint Lucia</th>\n", @@ -561,7 +561,7 @@ " <th>-61.287200</th>\n", " <th>12.984300</th>\n", " <td>7</td>\n", - " <td>7</td>\n", + " <td>8</td>\n", " </tr>\n", " <tr>\n", " <th>Syria</th>\n", @@ -574,14 +574,14 @@ " <th>Taiwan*</th>\n", " <th>121.000000</th>\n", " <th>23.700000</th>\n", - " <td>363</td>\n", " <td>373</td>\n", + " <td>376</td>\n", " </tr>\n", " <tr>\n", " <th>Venezuela</th>\n", " <th>-66.589700</th>\n", " <th>6.423800</th>\n", - " <td>159</td>\n", + " <td>165</td>\n", " <td>165</td>\n", " </tr>\n", " <tr>\n", @@ -596,43 +596,43 @@ "</div>" ], "text/plain": [ - " 2020-04-05 00:00:00 \\\n", + " 2020-04-06 00:00:00 \\\n", "Country/Region Long Lat \n", - "Bahamas -77.396300 25.034300 28 \n", - "Burma 95.956000 21.916200 21 \n", + "Bahamas -77.396300 25.034300 29 \n", + "Burma 95.956000 21.916200 22 \n", "Congo (Brazzaville) 21.758700 -4.038300 45 \n", - "Congo (Kinshasa) 21.758700 -4.038300 154 \n", + "Congo (Kinshasa) 21.758700 -4.038300 161 \n", "Diamond Princess 0.000000 0.000000 712 \n", "Gambia -15.310100 13.443200 4 \n", "Holy See 12.453400 41.902900 7 \n", - "Kyrgyzstan 74.766100 41.204400 147 \n", - "Laos 102.495496 19.856270 11 \n", + "Kyrgyzstan 74.766100 41.204400 216 \n", + "Laos 102.495496 19.856270 12 \n", "MS Zaandam 0.000000 0.000000 9 \n", "Saint Kitts and Nevis -62.782998 17.357822 10 \n", "Saint Lucia -60.978900 13.909400 14 \n", "Saint Vincent and the Grenadines -61.287200 12.984300 7 \n", "Syria 38.996815 34.802075 19 \n", - "Taiwan* 121.000000 23.700000 363 \n", - "Venezuela -66.589700 6.423800 159 \n", + "Taiwan* 121.000000 23.700000 373 \n", + "Venezuela -66.589700 6.423800 165 \n", "Western Sahara -12.885800 24.215500 4 \n", "\n", - " 2020-04-06 00:00:00 \n", + " 2020-04-07 00:00:00 \n", "Country/Region Long Lat \n", - "Bahamas -77.396300 25.034300 29 \n", + "Bahamas -77.396300 25.034300 33 \n", "Burma 95.956000 21.916200 22 \n", "Congo (Brazzaville) 21.758700 -4.038300 45 \n", - "Congo (Kinshasa) 21.758700 -4.038300 161 \n", + "Congo (Kinshasa) 21.758700 -4.038300 180 \n", "Diamond Princess 0.000000 0.000000 712 \n", "Gambia -15.310100 13.443200 4 \n", "Holy See 12.453400 41.902900 7 \n", - "Kyrgyzstan 74.766100 41.204400 216 \n", - "Laos 102.495496 19.856270 12 \n", + "Kyrgyzstan 74.766100 41.204400 228 \n", + "Laos 102.495496 19.856270 14 \n", "MS Zaandam 0.000000 0.000000 9 \n", - "Saint Kitts and Nevis -62.782998 17.357822 10 \n", + "Saint Kitts and Nevis -62.782998 17.357822 11 \n", "Saint Lucia -60.978900 13.909400 14 \n", - "Saint Vincent and the Grenadines -61.287200 12.984300 7 \n", + "Saint Vincent and the Grenadines -61.287200 12.984300 8 \n", "Syria 38.996815 34.802075 19 \n", - "Taiwan* 121.000000 23.700000 373 \n", + "Taiwan* 121.000000 23.700000 376 \n", "Venezuela -66.589700 6.423800 165 \n", "Western Sahara -12.885800 24.215500 4 " ] @@ -652,10 +652,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.013688, - "end_time": "2020-04-07T07:26:24.822695", + "duration": 0.01194, + "end_time": "2020-04-09T05:00:39.418251", "exception": false, - "start_time": "2020-04-07T07:26:24.809007", + "start_time": "2020-04-09T05:00:39.406311", "status": "completed" }, "tags": [] @@ -669,10 +669,10 @@ "execution_count": 11, "metadata": { "papermill": { - "duration": 0.030357, - "end_time": "2020-04-07T07:26:24.866561", + "duration": 0.04001, + "end_time": "2020-04-09T05:00:39.469552", "exception": false, - "start_time": "2020-04-07T07:26:24.836204", + "start_time": "2020-04-09T05:00:39.429542", "status": "completed" }, "tags": [] @@ -686,10 +686,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.013462, - "end_time": "2020-04-07T07:26:24.893963", + "duration": 0.012892, + "end_time": "2020-04-09T05:00:39.505711", "exception": false, - "start_time": "2020-04-07T07:26:24.880501", + "start_time": "2020-04-09T05:00:39.492819", "status": "completed" }, "tags": [] @@ -703,10 +703,10 @@ "execution_count": 12, "metadata": { "papermill": { - "duration": 0.049958, - "end_time": "2020-04-07T07:26:24.957693", + "duration": 0.072541, + "end_time": "2020-04-09T05:00:39.590213", "exception": false, - "start_time": "2020-04-07T07:26:24.907735", + "start_time": "2020-04-09T05:00:39.517672", "status": "completed" }, "tags": [] @@ -735,6 +735,7 @@ " <th></th>\n", " <th>name</th>\n", " <th>name_long</th>\n", + " <th>sov_a3</th>\n", " <th>region_un</th>\n", " <th>subregion</th>\n", " <th>region_wb</th>\n", @@ -756,6 +757,7 @@ " <th></th>\n", " <th></th>\n", " <th></th>\n", + " <th></th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", @@ -763,6 +765,7 @@ " <th>Bahamas</th>\n", " <td>Bahamas</td>\n", " <td>Bahamas</td>\n", + " <td>BHS</td>\n", " <td>Americas</td>\n", " <td>Caribbean</td>\n", " <td>Latin America & Caribbean</td>\n", @@ -776,6 +779,7 @@ " <th>Kyrgyzstan</th>\n", " <td>Kyrgyzstan</td>\n", " <td>Kyrgyzstan</td>\n", + " <td>KGZ</td>\n", " <td>Asia</td>\n", " <td>Central Asia</td>\n", " <td>Europe & Central Asia</td>\n", @@ -789,6 +793,7 @@ " <th>Saint Kitts and Nevis</th>\n", " <td>St. Kitts and Nevis</td>\n", " <td>Saint Kitts and Nevis</td>\n", + " <td>KNA</td>\n", " <td>Americas</td>\n", " <td>Caribbean</td>\n", " <td>Latin America & Caribbean</td>\n", @@ -802,6 +807,7 @@ " <th>Saint Lucia</th>\n", " <td>Saint Lucia</td>\n", " <td>Saint Lucia</td>\n", + " <td>LCA</td>\n", " <td>Americas</td>\n", " <td>Caribbean</td>\n", " <td>Latin America & Caribbean</td>\n", @@ -815,6 +821,7 @@ " <th>Western Sahara</th>\n", " <td>W. Sahara</td>\n", " <td>Western Sahara</td>\n", + " <td>SAH</td>\n", " <td>Africa</td>\n", " <td>Northern Africa</td>\n", " <td>Middle East & North Africa</td>\n", @@ -828,6 +835,7 @@ " <th>Syria</th>\n", " <td>Syria</td>\n", " <td>Syria</td>\n", + " <td>SYR</td>\n", " <td>Asia</td>\n", " <td>Western Asia</td>\n", " <td>Middle East & North Africa</td>\n", @@ -841,6 +849,7 @@ " <th>Taiwan*</th>\n", " <td>Taiwan</td>\n", " <td>Taiwan</td>\n", + " <td>TWN</td>\n", " <td>Asia</td>\n", " <td>Eastern Asia</td>\n", " <td>East Asia & Pacific</td>\n", @@ -854,6 +863,7 @@ " <th>Saint Vincent and the Grenadines</th>\n", " <td>St. Vin. and Gren.</td>\n", " <td>Saint Vincent and the Grenadines</td>\n", + " <td>VCT</td>\n", " <td>Americas</td>\n", " <td>Caribbean</td>\n", " <td>Latin America & Caribbean</td>\n", @@ -867,6 +877,7 @@ " <th>Venezuela</th>\n", " <td>Venezuela</td>\n", " <td>Venezuela</td>\n", + " <td>VEN</td>\n", " <td>Americas</td>\n", " <td>South America</td>\n", " <td>Latin America & Caribbean</td>\n", @@ -893,65 +904,65 @@ "Saint Vincent and the Grenadines St. Vin. and Gren. \n", "Venezuela Venezuela \n", "\n", - " name_long region_un \\\n", - "name_jhu \n", - "Bahamas Bahamas Americas \n", - "Kyrgyzstan Kyrgyzstan Asia \n", - "Saint Kitts and Nevis Saint Kitts and Nevis Americas \n", - "Saint Lucia Saint Lucia Americas \n", - "Western Sahara Western Sahara Africa \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", + " name_long sov_a3 \\\n", + "name_jhu \n", + "Bahamas Bahamas BHS \n", + "Kyrgyzstan Kyrgyzstan KGZ \n", + "Saint Kitts and Nevis Saint Kitts and Nevis KNA \n", + "Saint Lucia Saint Lucia LCA \n", + "Western Sahara Western Sahara SAH \n", + "Syria Syria SYR \n", + "Taiwan* Taiwan TWN \n", + "Saint Vincent and the Grenadines Saint Vincent and the Grenadines VCT \n", + "Venezuela Venezuela VEN \n", "\n", - " subregion region_wb \\\n", - "name_jhu \n", - "Bahamas Caribbean Latin America & Caribbean \n", - "Kyrgyzstan Central Asia Europe & Central Asia \n", - "Saint Kitts and Nevis Caribbean Latin America & Caribbean \n", - "Saint Lucia Caribbean Latin America & Caribbean \n", - "Western Sahara Northern Africa Middle East & North Africa \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", + " region_un subregion \\\n", + "name_jhu \n", + "Bahamas Americas Caribbean \n", + "Kyrgyzstan Asia Central Asia \n", + "Saint Kitts and Nevis Americas Caribbean \n", + "Saint Lucia Americas Caribbean \n", + "Western Sahara Africa Northern Africa \n", + "Syria Asia Western Asia \n", + "Taiwan* Asia Eastern Asia \n", + "Saint Vincent and the Grenadines Americas Caribbean \n", + "Venezuela Americas South America \n", "\n", - " pop_est gdp_md_est \\\n", - "name_jhu \n", - "Bahamas 309156 9093.0 \n", - "Kyrgyzstan 5431747 11610.0 \n", - "Saint Kitts and Nevis 40131 777.7 \n", - "Saint Lucia 160267 1778.0 \n", - "Western Sahara -99 -99.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", + " region_wb pop_est \\\n", + "name_jhu \n", + "Bahamas Latin America & Caribbean 309156 \n", + "Kyrgyzstan Europe & Central Asia 5431747 \n", + "Saint Kitts and Nevis Latin America & Caribbean 40131 \n", + "Saint Lucia Latin America & Caribbean 160267 \n", + "Western Sahara Middle East & North Africa -99 \n", + "Syria Middle East & North Africa 20178485 \n", + "Taiwan* East Asia & Pacific 22974347 \n", + "Saint Vincent and the Grenadines Latin America & Caribbean 104574 \n", + "Venezuela Latin America & Caribbean 26814843 \n", "\n", - " income_grp Longitude \\\n", + " gdp_md_est income_grp \\\n", "name_jhu \n", - "Bahamas 2. High income: nonOECD -76.628430 \n", - "Kyrgyzstan 5. Low income 74.541655 \n", - "Saint Kitts and Nevis 2. High income: nonOECD -62.687553 \n", - "Saint Lucia 3. Upper middle income -60.969699 \n", - "Western Sahara 5. Low income -12.219828 \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", + "Bahamas 9093.0 2. High income: nonOECD \n", + "Kyrgyzstan 11610.0 5. Low income \n", + "Saint Kitts and Nevis 777.7 2. High income: nonOECD \n", + "Saint Lucia 1778.0 3. Upper middle income \n", + "Western Sahara -99.0 5. Low income \n", + "Syria 98830.0 4. Lower middle income \n", + "Taiwan* 712000.0 2. High income: nonOECD \n", + "Saint Vincent and the Grenadines 1070.0 3. Upper middle income \n", + "Venezuela 357400.0 3. Upper middle income \n", "\n", - " Latitude \n", - "name_jhu \n", - "Bahamas 24.290367 \n", - "Kyrgyzstan 41.462219 \n", - "Saint Kitts and Nevis 17.264599 \n", - "Saint Lucia 13.894795 \n", - "Western Sahara 24.229567 \n", - "Syria 35.025474 \n", - "Taiwan* 23.753993 \n", - "Saint Vincent and the Grenadines 13.224723 \n", - "Venezuela 7.124224 " + " Longitude Latitude \n", + "name_jhu \n", + "Bahamas -76.628430 24.290367 \n", + "Kyrgyzstan 74.541655 41.462219 \n", + "Saint Kitts and Nevis -62.687553 17.264599 \n", + "Saint Lucia -60.969699 13.894795 \n", + "Western Sahara -12.219828 24.229567 \n", + "Syria 38.507882 35.025474 \n", + "Taiwan* 120.954273 23.753993 \n", + "Saint Vincent and the Grenadines -61.201297 13.224723 \n", + "Venezuela -66.181841 7.124224 " ] }, "metadata": {}, @@ -972,10 +983,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.01429, - "end_time": "2020-04-07T07:26:24.987432", + "duration": 0.01225, + "end_time": "2020-04-09T05:00:39.623449", "exception": false, - "start_time": "2020-04-07T07:26:24.973142", + "start_time": "2020-04-09T05:00:39.611199", "status": "completed" }, "tags": [] @@ -989,10 +1000,10 @@ "execution_count": 13, "metadata": { "papermill": { - "duration": 0.038975, - "end_time": "2020-04-07T07:26:25.041155", + "duration": 0.051992, + "end_time": "2020-04-09T05:00:39.687185", "exception": false, - "start_time": "2020-04-07T07:26:25.002180", + "start_time": "2020-04-09T05:00:39.635193", "status": "completed" }, "tags": [] @@ -1017,10 +1028,10 @@ "execution_count": 14, "metadata": { "papermill": { - "duration": 0.119428, - "end_time": "2020-04-07T07:26:25.175277", + "duration": 0.082263, + "end_time": "2020-04-09T05:00:39.790829", "exception": false, - "start_time": "2020-04-07T07:26:25.055849", + "start_time": "2020-04-09T05:00:39.708566", "status": "completed" }, "tags": [] @@ -1053,21 +1064,21 @@ "version": "3.7.3" }, "papermill": { - "duration": 2.579772, - "end_time": "2020-04-07T07:26:25.515177", + "duration": 2.769091, + "end_time": "2020-04-09T05:00:40.129241", "environment_variables": {}, "exception": null, - "input_path": "/tmp/o7ht8_17/notebooks/process/ToRates.ipynb", + "input_path": "notebooks/process/ToRates.ipynb", "output_path": "runs/ToRates.run.ipynb", "parameters": { - "PAPERMILL_INPUT_PATH": "/tmp/o7ht8_17/notebooks/process/ToRates.ipynb", + "PAPERMILL_INPUT_PATH": "notebooks/process/ToRates.ipynb", "PAPERMILL_OUTPUT_PATH": "runs/ToRates.run.ipynb", - "geodata_path": "/tmp/o7ht8_17/data/geodata/geo_data.csv", - "out_folder": "data/covid-19_rates", - "ts_folder": "/tmp/o7ht8_17/data/covid-19_jhu-csse", - "wb_path": "/tmp/o7ht8_17/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/atlas/worldbank/SP.POP.TOTL.zip" }, - "start_time": "2020-04-07T07:26:22.935405", + "start_time": "2020-04-09T05:00:37.360150", "version": "1.1.0" } },