From 4fd1997c2e52fd6d8da1b32e8b1254ede2c072c6 Mon Sep 17 00:00:00 2001 From: Chandrasekhar Ramakrishnan <cramakri@ethz.ch> Date: Fri, 13 Mar 2020 17:58:09 +0000 Subject: [PATCH] renku update --with-siblings --- .../529e3b9f6140470ab818a888d405c983.cwl | 108 ++++++ .../ts_rates_19-covid-confirmed.csv | 4 +- .../ts_rates_19-covid-deaths.csv | 4 +- .../ts_rates_19-covid-recovered.csv | 4 +- runs/Dashboard.run.ipynb | 136 +++---- runs/ToRates.run.ipynb | 346 ++++++++---------- 6 files changed, 343 insertions(+), 259 deletions(-) create mode 100644 .renku/workflow/529e3b9f6140470ab818a888d405c983.cwl diff --git a/.renku/workflow/529e3b9f6140470ab818a888d405c983.cwl b/.renku/workflow/529e3b9f6140470ab818a888d405c983.cwl new file mode 100644 index 00000000..74c75316 --- /dev/null +++ b/.renku/workflow/529e3b9f6140470ab818a888d405c983.cwl @@ -0,0 +1,108 @@ +class: Workflow +cwlVersion: v1.0 +hints: [] +inputs: + input_1: + default: ts_folder + streamable: false + type: string + input_10: + default: out_folder + streamable: false + type: string + input_11: + default: data/covid-19_rates + streamable: false + type: string + input_12: + default: + class: File + path: ../../notebooks/ToRates.ipynb + streamable: false + type: File + input_13: + default: runs/ToRates.run.ipynb + streamable: false + type: string + input_2: + default: + class: Directory + listing: [] + path: ../../data/covid-19_jhu-csse + streamable: false + type: Directory + input_3: + default: rates_folder + streamable: false + type: string + input_4: + default: + class: File + path: ../../notebooks/Dashboard.ipynb + streamable: false + type: File + input_5: + default: runs/Dashboard.run.ipynb + streamable: false + type: string + input_6: + default: ts_folder + streamable: false + type: string + input_7: + default: + class: Directory + listing: [] + path: ../../data/covid-19_jhu-csse + streamable: false + type: Directory + input_8: + default: wb_path + streamable: false + type: string + input_9: + default: + class: File + path: ../../data/worldbank/SP.POP.TOTL.zip + streamable: false + type: File +outputs: + output_0: + outputSource: step_2/output_0 + streamable: false + type: File + output_1: + outputSource: step_1/output_0 + streamable: false + type: File + output_2: + outputSource: step_2/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: step_2/output_1 + input_5: input_4 + input_6: input_5 + out: + - output_0 + run: b1c0a33b463d406a820ff0a61fb3a526_papermill.cwl + step_2: + in: + input_1: input_6 + input_2: input_7 + input_3: input_8 + input_4: input_9 + input_5: input_10 + input_6: input_11 + input_7: input_12 + input_8: input_13 + out: + - output_0 + - output_1 + run: a38f8d703e0c4c55a2e3f49bbf15466e_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 68469b73..41904d5c 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:953941d2e4414e15f0e840d13c806b56d0cfda23f402d2d8daf840ef9e6ba666 -size 55521 +oid sha256:8db5a5e65fa9c9cdc76ee4e1a665d74972a0c85d0b4de74aacf7426d1337dc38 +size 52089 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 927fd93f..75a97a02 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:1d07625575b61e275be3ba1b85e04dc96984df348680d2c3f5866a4443144138 -size 28842 +oid sha256:6151848c812f7e97885da2cf7bd8f506ef862f9e46183e4849147d8471924577 +size 26971 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 c35fa7b0..3050ac8b 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:eae1d5842d547e04eec2706bb61a5f5c019f244150dbab899c675ad67f166524 -size 38957 +oid sha256:bb9740f1a3a3f0edb8466d11cca258d5b757b6f2638db80c9a53173607306549 +size 35550 diff --git a/runs/Dashboard.run.ipynb b/runs/Dashboard.run.ipynb index 8ee68b5d..190e010a 100644 --- a/runs/Dashboard.run.ipynb +++ b/runs/Dashboard.run.ipynb @@ -5,10 +5,10 @@ "execution_count": 1, "metadata": { "papermill": { - "duration": 0.35409, - "end_time": "2020-03-13T17:04:15.061697", + "duration": 0.318369, + "end_time": "2020-03-13T17:58:07.699048", "exception": false, - "start_time": "2020-03-13T17:04:14.707607", + "start_time": "2020-03-13T17:58:07.380679", "status": "completed" }, "tags": [] @@ -25,10 +25,10 @@ "execution_count": 2, "metadata": { "papermill": { - "duration": 0.02437, - "end_time": "2020-03-13T17:04:15.106586", + "duration": 0.02116, + "end_time": "2020-03-13T17:58:07.739632", "exception": false, - "start_time": "2020-03-13T17:04:15.082216", + "start_time": "2020-03-13T17:58:07.718472", "status": "completed" }, "tags": [ @@ -48,10 +48,10 @@ "execution_count": 3, "metadata": { "papermill": { - "duration": 0.022646, - "end_time": "2020-03-13T17:04:15.137496", + "duration": 0.021777, + "end_time": "2020-03-13T17:58:07.771101", "exception": false, - "start_time": "2020-03-13T17:04:15.114850", + "start_time": "2020-03-13T17:58:07.749324", "status": "completed" }, "tags": [ @@ -61,10 +61,10 @@ "outputs": [], "source": [ "# Parameters\n", - "PAPERMILL_INPUT_PATH = \"notebooks/Dashboard.ipynb\"\n", + "PAPERMILL_INPUT_PATH = \"/tmp/ajs106te/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" + "ts_folder = \"/tmp/ajs106te/data/covid-19_jhu-csse\"\n", + "rates_folder = \"/tmp/ajs106te/data/covid-19_rates\"\n" ] }, { @@ -72,10 +72,10 @@ "execution_count": 4, "metadata": { "papermill": { - "duration": 0.021072, - "end_time": "2020-03-13T17:04:15.168525", + "duration": 0.020625, + "end_time": "2020-03-13T17:58:07.801350", "exception": false, - "start_time": "2020-03-13T17:04:15.147453", + "start_time": "2020-03-13T17:58:07.780725", "status": "completed" }, "tags": [] @@ -90,10 +90,10 @@ "execution_count": 5, "metadata": { "papermill": { - "duration": 0.065756, - "end_time": "2020-03-13T17:04:15.243131", + "duration": 0.088499, + "end_time": "2020-03-13T17:58:07.900202", "exception": false, - "start_time": "2020-03-13T17:04:15.177375", + "start_time": "2020-03-13T17:58:07.811703", "status": "completed" }, "tags": [] @@ -120,10 +120,10 @@ "execution_count": 6, "metadata": { "papermill": { - "duration": 0.038039, - "end_time": "2020-03-13T17:04:15.289236", + "duration": 0.046747, + "end_time": "2020-03-13T17:58:07.960957", "exception": false, - "start_time": "2020-03-13T17:04:15.251197", + "start_time": "2020-03-13T17:58:07.914210", "status": "completed" }, "tags": [] @@ -150,10 +150,10 @@ "execution_count": 7, "metadata": { "papermill": { - "duration": 0.017688, - "end_time": "2020-03-13T17:04:15.314301", + "duration": 0.019568, + "end_time": "2020-03-13T17:58:07.999627", "exception": false, - "start_time": "2020-03-13T17:04:15.296613", + "start_time": "2020-03-13T17:58:07.980059", "status": "completed" }, "tags": [] @@ -168,10 +168,10 @@ "execution_count": 8, "metadata": { "papermill": { - "duration": 0.040604, - "end_time": "2020-03-13T17:04:15.374996", + "duration": 0.03619, + "end_time": "2020-03-13T17:58:08.046674", "exception": false, - "start_time": "2020-03-13T17:04:15.334392", + "start_time": "2020-03-13T17:58:08.010484", "status": "completed" }, "tags": [] @@ -188,10 +188,10 @@ "execution_count": 9, "metadata": { "papermill": { - "duration": 0.034326, - "end_time": "2020-03-13T17:04:15.424734", + "duration": 0.036248, + "end_time": "2020-03-13T17:58:08.099308", "exception": false, - "start_time": "2020-03-13T17:04:15.390408", + "start_time": "2020-03-13T17:58:08.063060", "status": "completed" }, "tags": [] @@ -207,10 +207,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.009134, - "end_time": "2020-03-13T17:04:15.448316", + "duration": 0.009486, + "end_time": "2020-03-13T17:58:08.127085", "exception": false, - "start_time": "2020-03-13T17:04:15.439182", + "start_time": "2020-03-13T17:58:08.117599", "status": "completed" }, "tags": [] @@ -226,10 +226,10 @@ "execution_count": 10, "metadata": { "papermill": { - "duration": 0.041449, - "end_time": "2020-03-13T17:04:15.498158", + "duration": 0.043858, + "end_time": "2020-03-13T17:58:08.178940", "exception": false, - "start_time": "2020-03-13T17:04:15.456709", + "start_time": "2020-03-13T17:58:08.135082", "status": "completed" }, "tags": [] @@ -238,7 +238,7 @@ { "data": { "text/html": [ - "<em>Data up to Mar 10 2020</em>" + "<em>Data up to Mar 12 2020</em>" ], "text/plain": [ "<IPython.core.display.HTML object>" @@ -257,10 +257,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.009938, - "end_time": "2020-03-13T17:04:15.526404", + "duration": 0.009732, + "end_time": "2020-03-13T17:58:08.205403", "exception": false, - "start_time": "2020-03-13T17:04:15.516466", + "start_time": "2020-03-13T17:58:08.195671", "status": "completed" }, "tags": [] @@ -274,10 +274,10 @@ "execution_count": 11, "metadata": { "papermill": { - "duration": 0.199352, - "end_time": "2020-03-13T17:04:15.733984", + "duration": 0.215996, + "end_time": "2020-03-13T17:58:08.429475", "exception": false, - "start_time": "2020-03-13T17:04:15.534632", + "start_time": "2020-03-13T17:58:08.213479", "status": "completed" }, "tags": [] @@ -293,10 +293,10 @@ "execution_count": 12, "metadata": { "papermill": { - "duration": 0.045428, - "end_time": "2020-03-13T17:04:15.799713", + "duration": 0.040087, + "end_time": "2020-03-13T17:58:08.490379", "exception": false, - "start_time": "2020-03-13T17:04:15.754285", + "start_time": "2020-03-13T17:58:08.450292", "status": "completed" }, "tags": [] @@ -320,10 +320,10 @@ "execution_count": 13, "metadata": { "papermill": { - "duration": 0.030132, - "end_time": "2020-03-13T17:04:15.844929", + "duration": 0.034884, + "end_time": "2020-03-13T17:58:08.543325", "exception": false, - "start_time": "2020-03-13T17:04:15.814797", + "start_time": "2020-03-13T17:58:08.508441", "status": "completed" }, "tags": [] @@ -362,10 +362,10 @@ "execution_count": 14, "metadata": { "papermill": { - "duration": 0.100208, - "end_time": "2020-03-13T17:04:15.958509", + "duration": 0.103115, + "end_time": "2020-03-13T17:58:08.660915", "exception": false, - "start_time": "2020-03-13T17:04:15.858301", + "start_time": "2020-03-13T17:58:08.557800", "status": "completed" }, "tags": [] @@ -375,10 +375,10 @@ "data": { "text/html": [ "\n", - "<div id=\"altair-viz-b79eb79d0e8f4b50be1688903bb8f9f0\"></div>\n", + "<div id=\"altair-viz-9d8bbc6305e34585bef05d17e261d227\"></div>\n", "<script type=\"text/javascript\">\n", " (function(spec, embedOpt){\n", - " const outputDiv = document.getElementById(\"altair-viz-b79eb79d0e8f4b50be1688903bb8f9f0\");\n", + " const outputDiv = document.getElementById(\"altair-viz-9d8bbc6305e34585bef05d17e261d227\");\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", @@ -419,7 +419,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-433f706ddfa6221156e78c265aebad1f\"}, \"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\", \"title\": \"Cases\"}, \"tooltip\": [{\"type\": \"nominal\", \"field\": \"Country/Region\"}, {\"type\": \"quantitative\", \"field\": \"Confirmed\"}, {\"type\": \"quantitative\", \"field\": \"Deaths\"}, {\"type\": \"quantitative\", \"field\": \"Recovered\"}]}}], \"height\": 400, \"projection\": {\"type\": \"naturalEarth1\"}, \"title\": \"Confirmed cases per 100,000\", \"width\": 600, \"$schema\": \"https://vega.github.io/schema/vega-lite/v4.0.2.json\", \"datasets\": {\"data-433f706ddfa6221156e78c265aebad1f\": [{\"Country/Region\": \"Australia\", \"Confirmed\": 0.4281306826095598, \"Deaths\": 0.012003663998398872, \"Recovered\": 0.0840256479887921, \"Lat\": -23.1315375, \"Long\": 140.0609875}, {\"Country/Region\": \"Austria\", \"Confirmed\": 2.057185925638154, \"Deaths\": 0.0, \"Recovered\": 0.04521287748655284, \"Lat\": 47.5162, \"Long\": 14.5501}, {\"Country/Region\": \"Bahrain\", \"Confirmed\": 7.00887387149166, \"Deaths\": 0.0, \"Recovered\": 1.4017747742983322, \"Lat\": 26.0275, \"Long\": 50.55}, {\"Country/Region\": \"Belgium\", \"Confirmed\": 2.3375802000128174, \"Deaths\": 0.0, \"Recovered\": 0.008754982022519914, \"Lat\": 50.8333, \"Long\": 4.0}, {\"Country/Region\": \"Denmark\", \"Confirmed\": 4.519231399481772, \"Deaths\": 0.0, \"Recovered\": 0.01724897480718234, \"Lat\": 56.2639, \"Long\": 9.5018}, {\"Country/Region\": \"France\", \"Confirmed\": 2.663193607427707, \"Deaths\": 0.04926311045129727, \"Recovered\": 0.017913858345926282, \"Lat\": 47.0, \"Long\": 2.0}, {\"Country/Region\": \"Germany\", \"Confirmed\": 1.7569474368355689, \"Deaths\": 0.0024117329263357162, \"Recovered\": 0.021705596337021446, \"Lat\": 51.0, \"Long\": 9.0}, {\"Country/Region\": \"Hong Kong SAR\", \"Confirmed\": 1.61052207757348, \"Deaths\": 0.040263051939337005, \"Recovered\": 0.8723661253523016, \"Lat\": 22.3, \"Long\": 114.2}, {\"Country/Region\": \"Iran (Islamic Republic of)\", \"Confirmed\": 9.831263513326588, \"Deaths\": 0.3557445514023921, \"Recovered\": 3.3386198277660917, \"Lat\": 32.0, \"Long\": 53.0}, {\"Country/Region\": \"Italy\", \"Confirmed\": 16.794281862259982, \"Deaths\": 1.0441611838689575, \"Recovered\": 1.198054987513669, \"Lat\": 43.0, \"Long\": 12.0}, {\"Country/Region\": \"Japan\", \"Confirmed\": 0.4591829073311989, \"Deaths\": 0.007903320263876057, \"Recovered\": 0.07982353466514817, \"Lat\": 36.0, \"Long\": 138.0}, {\"Country/Region\": \"Mainland China\", \"Confirmed\": 5.798467757569664, \"Deaths\": 0.2251692718617392, \"Recovered\": 4.315696509732684, \"Lat\": 33.40693612903227, \"Long\": 111.54290322580646}, {\"Country/Region\": \"Malaysia\", \"Confirmed\": 0.4091525198482584, \"Deaths\": 0.0, \"Recovered\": 0.07612139904153642, \"Lat\": 2.5, \"Long\": 112.5}, {\"Country/Region\": \"Netherlands\", \"Confirmed\": 2.216932407413909, \"Deaths\": 0.02321395191009329, \"Recovered\": 0.0, \"Lat\": 52.1326, \"Long\": 5.2913}, {\"Country/Region\": \"Norway\", \"Confirmed\": 7.526810498997428, \"Deaths\": 0.0, \"Recovered\": 0.018817026247493568, \"Lat\": 60.472, \"Long\": 8.4689}, {\"Country/Region\": \"Republic of Korea\", \"Confirmed\": 14.550136054326911, \"Deaths\": 0.10457970809711876, \"Recovered\": 0.4783553314812655, \"Lat\": 36.0, \"Long\": 128.0}, {\"Country/Region\": \"Singapore\", \"Confirmed\": 2.837545551473431, \"Deaths\": 0.0, \"Recovered\": 1.3833034563432978, \"Lat\": 1.2833, \"Long\": 103.8333}, {\"Country/Region\": \"Spain\", \"Confirmed\": 3.6277054737195855, \"Deaths\": 0.07490837261367876, \"Recovered\": 0.06848765496107773, \"Lat\": 40.0, \"Long\": -4.0}, {\"Country/Region\": \"Sweden\", \"Confirmed\": 3.4861425832316537, \"Deaths\": 0.0, \"Recovered\": 0.009820119952765223, \"Lat\": 63.0, \"Long\": 16.0}, {\"Country/Region\": \"Switzerland\", \"Confirmed\": 5.7652500550986465, \"Deaths\": 0.035225560418118015, \"Recovered\": 0.035225560418118015, \"Lat\": 46.8182, \"Long\": 8.2275}, {\"Country/Region\": \"UK\", \"Confirmed\": 0.5745312032182892, \"Deaths\": 0.009024050312329149, \"Recovered\": 0.027072150936987446, \"Lat\": 55.0, \"Long\": -3.0}, {\"Country/Region\": \"US\", \"Confirmed\": 0.5104420019995022, \"Deaths\": 0.017116618031121033, \"Recovered\": 0.004584808401193134, \"Lat\": 38.77302746113991, \"Long\": -93.61047823834195}]}}, {\"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-af06d21f07e2679aa76ca6a14f5f1418\"}, \"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\", \"title\": \"Cases\"}, \"tooltip\": [{\"type\": \"nominal\", \"field\": \"Country/Region\"}, {\"type\": \"quantitative\", \"field\": \"Confirmed\"}, {\"type\": \"quantitative\", \"field\": \"Deaths\"}, {\"type\": \"quantitative\", \"field\": \"Recovered\"}]}}], \"height\": 400, \"projection\": {\"type\": \"naturalEarth1\"}, \"title\": \"Confirmed cases per 100,000\", \"width\": 600, \"$schema\": \"https://vega.github.io/schema/vega-lite/v4.0.2.json\", \"datasets\": {\"data-af06d21f07e2679aa76ca6a14f5f1418\": [{\"Country/Region\": \"Australia\", \"Confirmed\": 0.5121563305983519, \"Deaths\": 0.012003663998398872, \"Recovered\": 0.0840256479887921, \"Lat\": -23.1315375, \"Long\": 140.0609875}, {\"Country/Region\": \"Austria\", \"Confirmed\": 3.4135722502347403, \"Deaths\": 0.01130321937163821, \"Recovered\": 0.04521287748655284, \"Lat\": 47.5162, \"Long\": 14.5501}, {\"Country/Region\": \"Bahrain\", \"Confirmed\": 12.424821863098854, \"Deaths\": 0.0, \"Recovered\": 2.230096231838256, \"Lat\": 26.0275, \"Long\": 50.55}, {\"Country/Region\": \"Belgium\", \"Confirmed\": 2.749064355071253, \"Deaths\": 0.026264946067559743, \"Recovered\": 0.008754982022519914, \"Lat\": 50.8333, \"Long\": 4.0}, {\"Country/Region\": \"Canada\", \"Confirmed\": 0.3157140090886777, \"Deaths\": 0.002698410334091263, \"Recovered\": 0.021587282672730104, \"Lat\": 50.795, \"Long\": -93.00628}, {\"Country/Region\": \"Denmark\", \"Confirmed\": 10.6426174560315, \"Deaths\": 0.0, \"Recovered\": 0.01724897480718234, \"Lat\": 59.07825, \"Long\": 1.2949999999999995}, {\"Country/Region\": \"France\", \"Confirmed\": 3.4096043718413016, \"Deaths\": 0.07165543338370511, \"Recovered\": 0.017913858345926282, \"Lat\": 27.399466666666665, \"Long\": -41.22323333333333}, {\"Country/Region\": \"Germany\", \"Confirmed\": 2.5057905104628087, \"Deaths\": 0.0036175993895035743, \"Recovered\": 0.03014666157919645, \"Lat\": 51.0, \"Long\": 9.0}, {\"Country/Region\": \"Iceland\", \"Confirmed\": 29.13110126875845, \"Deaths\": 0.0, \"Recovered\": 0.28282622591027623, \"Lat\": 64.9631, \"Long\": -19.0208}, {\"Country/Region\": \"Israel\", \"Confirmed\": 1.4745942051824668, \"Deaths\": 0.0, \"Recovered\": 0.045025777257479915, \"Lat\": 31.0, \"Long\": 35.0}, {\"Country/Region\": \"Italy\", \"Confirmed\": 20.62176968839136, \"Deaths\": 1.368496511980393, \"Recovered\": 1.7292368259002542, \"Lat\": 43.0, \"Long\": 12.0}, {\"Country/Region\": \"Japan\", \"Confirmed\": 0.5050221648616801, \"Deaths\": 0.012645312422201693, \"Recovered\": 0.09325917911373748, \"Lat\": 36.0, \"Long\": 138.0}, {\"Country/Region\": \"Malaysia\", \"Confirmed\": 0.4725870190495387, \"Deaths\": 0.0, \"Recovered\": 0.08246484896166446, \"Lat\": 2.5, \"Long\": 112.5}, {\"Country/Region\": \"Netherlands\", \"Confirmed\": 2.919154452694232, \"Deaths\": 0.02901743988761661, \"Recovered\": 0.0, \"Lat\": 52.1326, \"Long\": 5.2913}, {\"Country/Region\": \"Norway\", \"Confirmed\": 13.209552425740487, \"Deaths\": 0.0, \"Recovered\": 0.018817026247493568, \"Lat\": 60.472, \"Long\": 8.4689}, {\"Country/Region\": \"Qatar\", \"Confirmed\": 9.418778672002537, \"Deaths\": 0.0, \"Recovered\": 0.0, \"Lat\": 25.3548, \"Long\": 51.1839}, {\"Country/Region\": \"Singapore\", \"Confirmed\": 3.156769426014192, \"Deaths\": 0.0, \"Recovered\": 1.7025273308840587, \"Lat\": 1.2833, \"Long\": 103.8333}, {\"Country/Region\": \"Spain\", \"Confirmed\": 4.873324698324187, \"Deaths\": 0.11771315696435232, \"Recovered\": 0.3916637768086632, \"Lat\": 40.0, \"Long\": -4.0}, {\"Country/Region\": \"Sweden\", \"Confirmed\": 5.882251851706369, \"Deaths\": 0.009820119952765223, \"Recovered\": 0.009820119952765223, \"Lat\": 63.0, \"Long\": 16.0}, {\"Country/Region\": \"Switzerland\", \"Confirmed\": 7.655688464204314, \"Deaths\": 0.04696741389082401, \"Recovered\": 0.04696741389082401, \"Lat\": 46.8182, \"Long\": 8.2275}, {\"Country/Region\": \"US\", \"Confirmed\": 0.508302424745612, \"Deaths\": 0.012226155736515023, \"Recovered\": 0.0036678467209545055, \"Lat\": 38.88347448559672, \"Long\": -94.14907777777768}]}}, {\"mode\": \"vega-lite\"});\n", "</script>" ], "text/plain": [ @@ -460,10 +460,10 @@ "execution_count": 15, "metadata": { "papermill": { - "duration": 0.062654, - "end_time": "2020-03-13T17:04:16.037936", + "duration": 0.048886, + "end_time": "2020-03-13T17:58:08.727920", "exception": false, - "start_time": "2020-03-13T17:04:15.975282", + "start_time": "2020-03-13T17:58:08.679034", "status": "completed" }, "tags": [] @@ -473,10 +473,10 @@ "data": { "text/html": [ "\n", - "<div id=\"altair-viz-a0d74fce564e44529149f3e190cf879e\"></div>\n", + "<div id=\"altair-viz-01c78ff6476e41d882dd62fc1875817d\"></div>\n", "<script type=\"text/javascript\">\n", " (function(spec, embedOpt){\n", - " const outputDiv = document.getElementById(\"altair-viz-a0d74fce564e44529149f3e190cf879e\");\n", + " const outputDiv = document.getElementById(\"altair-viz-01c78ff6476e41d882dd62fc1875817d\");\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", @@ -517,7 +517,7 @@ " .catch(showError)\n", " .then(() => displayChart(vegaEmbed));\n", " }\n", - " })({\"config\": {\"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"layer\": [{\"mark\": \"bar\", \"encoding\": {\"x\": {\"type\": \"quantitative\", \"field\": \"Confirmed\"}, \"y\": {\"type\": \"nominal\", \"field\": \"Country/Region\", \"sort\": \"-x\"}}}, {\"mark\": {\"type\": \"text\", \"align\": \"left\", \"baseline\": \"middle\", \"dx\": 3}, \"encoding\": {\"text\": {\"type\": \"quantitative\", \"field\": \"Confirmed\", \"format\": \".3\"}, \"x\": {\"type\": \"quantitative\", \"field\": \"Confirmed\"}, \"y\": {\"type\": \"nominal\", \"field\": \"Country/Region\", \"sort\": \"-x\"}}}], \"data\": {\"name\": \"data-433f706ddfa6221156e78c265aebad1f\"}, \"height\": 900, \"$schema\": \"https://vega.github.io/schema/vega-lite/v4.0.2.json\", \"datasets\": {\"data-433f706ddfa6221156e78c265aebad1f\": [{\"Country/Region\": \"Australia\", \"Confirmed\": 0.4281306826095598, \"Deaths\": 0.012003663998398872, \"Recovered\": 0.0840256479887921, \"Lat\": -23.1315375, \"Long\": 140.0609875}, {\"Country/Region\": \"Austria\", \"Confirmed\": 2.057185925638154, \"Deaths\": 0.0, \"Recovered\": 0.04521287748655284, \"Lat\": 47.5162, \"Long\": 14.5501}, {\"Country/Region\": \"Bahrain\", \"Confirmed\": 7.00887387149166, \"Deaths\": 0.0, \"Recovered\": 1.4017747742983322, \"Lat\": 26.0275, \"Long\": 50.55}, {\"Country/Region\": \"Belgium\", \"Confirmed\": 2.3375802000128174, \"Deaths\": 0.0, \"Recovered\": 0.008754982022519914, \"Lat\": 50.8333, \"Long\": 4.0}, {\"Country/Region\": \"Denmark\", \"Confirmed\": 4.519231399481772, \"Deaths\": 0.0, \"Recovered\": 0.01724897480718234, \"Lat\": 56.2639, \"Long\": 9.5018}, {\"Country/Region\": \"France\", \"Confirmed\": 2.663193607427707, \"Deaths\": 0.04926311045129727, \"Recovered\": 0.017913858345926282, \"Lat\": 47.0, \"Long\": 2.0}, {\"Country/Region\": \"Germany\", \"Confirmed\": 1.7569474368355689, \"Deaths\": 0.0024117329263357162, \"Recovered\": 0.021705596337021446, \"Lat\": 51.0, \"Long\": 9.0}, {\"Country/Region\": \"Hong Kong SAR\", \"Confirmed\": 1.61052207757348, \"Deaths\": 0.040263051939337005, \"Recovered\": 0.8723661253523016, \"Lat\": 22.3, \"Long\": 114.2}, {\"Country/Region\": \"Iran (Islamic Republic of)\", \"Confirmed\": 9.831263513326588, \"Deaths\": 0.3557445514023921, \"Recovered\": 3.3386198277660917, \"Lat\": 32.0, \"Long\": 53.0}, {\"Country/Region\": \"Italy\", \"Confirmed\": 16.794281862259982, \"Deaths\": 1.0441611838689575, \"Recovered\": 1.198054987513669, \"Lat\": 43.0, \"Long\": 12.0}, {\"Country/Region\": \"Japan\", \"Confirmed\": 0.4591829073311989, \"Deaths\": 0.007903320263876057, \"Recovered\": 0.07982353466514817, \"Lat\": 36.0, \"Long\": 138.0}, {\"Country/Region\": \"Mainland China\", \"Confirmed\": 5.798467757569664, \"Deaths\": 0.2251692718617392, \"Recovered\": 4.315696509732684, \"Lat\": 33.40693612903227, \"Long\": 111.54290322580646}, {\"Country/Region\": \"Malaysia\", \"Confirmed\": 0.4091525198482584, \"Deaths\": 0.0, \"Recovered\": 0.07612139904153642, \"Lat\": 2.5, \"Long\": 112.5}, {\"Country/Region\": \"Netherlands\", \"Confirmed\": 2.216932407413909, \"Deaths\": 0.02321395191009329, \"Recovered\": 0.0, \"Lat\": 52.1326, \"Long\": 5.2913}, {\"Country/Region\": \"Norway\", \"Confirmed\": 7.526810498997428, \"Deaths\": 0.0, \"Recovered\": 0.018817026247493568, \"Lat\": 60.472, \"Long\": 8.4689}, {\"Country/Region\": \"Republic of Korea\", \"Confirmed\": 14.550136054326911, \"Deaths\": 0.10457970809711876, \"Recovered\": 0.4783553314812655, \"Lat\": 36.0, \"Long\": 128.0}, {\"Country/Region\": \"Singapore\", \"Confirmed\": 2.837545551473431, \"Deaths\": 0.0, \"Recovered\": 1.3833034563432978, \"Lat\": 1.2833, \"Long\": 103.8333}, {\"Country/Region\": \"Spain\", \"Confirmed\": 3.6277054737195855, \"Deaths\": 0.07490837261367876, \"Recovered\": 0.06848765496107773, \"Lat\": 40.0, \"Long\": -4.0}, {\"Country/Region\": \"Sweden\", \"Confirmed\": 3.4861425832316537, \"Deaths\": 0.0, \"Recovered\": 0.009820119952765223, \"Lat\": 63.0, \"Long\": 16.0}, {\"Country/Region\": \"Switzerland\", \"Confirmed\": 5.7652500550986465, \"Deaths\": 0.035225560418118015, \"Recovered\": 0.035225560418118015, \"Lat\": 46.8182, \"Long\": 8.2275}, {\"Country/Region\": \"UK\", \"Confirmed\": 0.5745312032182892, \"Deaths\": 0.009024050312329149, \"Recovered\": 0.027072150936987446, \"Lat\": 55.0, \"Long\": -3.0}, {\"Country/Region\": \"US\", \"Confirmed\": 0.5104420019995022, \"Deaths\": 0.017116618031121033, \"Recovered\": 0.004584808401193134, \"Lat\": 38.77302746113991, \"Long\": -93.61047823834195}]}}, {\"mode\": \"vega-lite\"});\n", + " })({\"config\": {\"view\": {\"continuousWidth\": 400, \"continuousHeight\": 300}}, \"layer\": [{\"mark\": \"bar\", \"encoding\": {\"x\": {\"type\": \"quantitative\", \"field\": \"Confirmed\"}, \"y\": {\"type\": \"nominal\", \"field\": \"Country/Region\", \"sort\": \"-x\"}}}, {\"mark\": {\"type\": \"text\", \"align\": \"left\", \"baseline\": \"middle\", \"dx\": 3}, \"encoding\": {\"text\": {\"type\": \"quantitative\", \"field\": \"Confirmed\", \"format\": \".3\"}, \"x\": {\"type\": \"quantitative\", \"field\": \"Confirmed\"}, \"y\": {\"type\": \"nominal\", \"field\": \"Country/Region\", \"sort\": \"-x\"}}}], \"data\": {\"name\": \"data-af06d21f07e2679aa76ca6a14f5f1418\"}, \"height\": 900, \"$schema\": \"https://vega.github.io/schema/vega-lite/v4.0.2.json\", \"datasets\": {\"data-af06d21f07e2679aa76ca6a14f5f1418\": [{\"Country/Region\": \"Australia\", \"Confirmed\": 0.5121563305983519, \"Deaths\": 0.012003663998398872, \"Recovered\": 0.0840256479887921, \"Lat\": -23.1315375, \"Long\": 140.0609875}, {\"Country/Region\": \"Austria\", \"Confirmed\": 3.4135722502347403, \"Deaths\": 0.01130321937163821, \"Recovered\": 0.04521287748655284, \"Lat\": 47.5162, \"Long\": 14.5501}, {\"Country/Region\": \"Bahrain\", \"Confirmed\": 12.424821863098854, \"Deaths\": 0.0, \"Recovered\": 2.230096231838256, \"Lat\": 26.0275, \"Long\": 50.55}, {\"Country/Region\": \"Belgium\", \"Confirmed\": 2.749064355071253, \"Deaths\": 0.026264946067559743, \"Recovered\": 0.008754982022519914, \"Lat\": 50.8333, \"Long\": 4.0}, {\"Country/Region\": \"Canada\", \"Confirmed\": 0.3157140090886777, \"Deaths\": 0.002698410334091263, \"Recovered\": 0.021587282672730104, \"Lat\": 50.795, \"Long\": -93.00628}, {\"Country/Region\": \"Denmark\", \"Confirmed\": 10.6426174560315, \"Deaths\": 0.0, \"Recovered\": 0.01724897480718234, \"Lat\": 59.07825, \"Long\": 1.2949999999999995}, {\"Country/Region\": \"France\", \"Confirmed\": 3.4096043718413016, \"Deaths\": 0.07165543338370511, \"Recovered\": 0.017913858345926282, \"Lat\": 27.399466666666665, \"Long\": -41.22323333333333}, {\"Country/Region\": \"Germany\", \"Confirmed\": 2.5057905104628087, \"Deaths\": 0.0036175993895035743, \"Recovered\": 0.03014666157919645, \"Lat\": 51.0, \"Long\": 9.0}, {\"Country/Region\": \"Iceland\", \"Confirmed\": 29.13110126875845, \"Deaths\": 0.0, \"Recovered\": 0.28282622591027623, \"Lat\": 64.9631, \"Long\": -19.0208}, {\"Country/Region\": \"Israel\", \"Confirmed\": 1.4745942051824668, \"Deaths\": 0.0, \"Recovered\": 0.045025777257479915, \"Lat\": 31.0, \"Long\": 35.0}, {\"Country/Region\": \"Italy\", \"Confirmed\": 20.62176968839136, \"Deaths\": 1.368496511980393, \"Recovered\": 1.7292368259002542, \"Lat\": 43.0, \"Long\": 12.0}, {\"Country/Region\": \"Japan\", \"Confirmed\": 0.5050221648616801, \"Deaths\": 0.012645312422201693, \"Recovered\": 0.09325917911373748, \"Lat\": 36.0, \"Long\": 138.0}, {\"Country/Region\": \"Malaysia\", \"Confirmed\": 0.4725870190495387, \"Deaths\": 0.0, \"Recovered\": 0.08246484896166446, \"Lat\": 2.5, \"Long\": 112.5}, {\"Country/Region\": \"Netherlands\", \"Confirmed\": 2.919154452694232, \"Deaths\": 0.02901743988761661, \"Recovered\": 0.0, \"Lat\": 52.1326, \"Long\": 5.2913}, {\"Country/Region\": \"Norway\", \"Confirmed\": 13.209552425740487, \"Deaths\": 0.0, \"Recovered\": 0.018817026247493568, \"Lat\": 60.472, \"Long\": 8.4689}, {\"Country/Region\": \"Qatar\", \"Confirmed\": 9.418778672002537, \"Deaths\": 0.0, \"Recovered\": 0.0, \"Lat\": 25.3548, \"Long\": 51.1839}, {\"Country/Region\": \"Singapore\", \"Confirmed\": 3.156769426014192, \"Deaths\": 0.0, \"Recovered\": 1.7025273308840587, \"Lat\": 1.2833, \"Long\": 103.8333}, {\"Country/Region\": \"Spain\", \"Confirmed\": 4.873324698324187, \"Deaths\": 0.11771315696435232, \"Recovered\": 0.3916637768086632, \"Lat\": 40.0, \"Long\": -4.0}, {\"Country/Region\": \"Sweden\", \"Confirmed\": 5.882251851706369, \"Deaths\": 0.009820119952765223, \"Recovered\": 0.009820119952765223, \"Lat\": 63.0, \"Long\": 16.0}, {\"Country/Region\": \"Switzerland\", \"Confirmed\": 7.655688464204314, \"Deaths\": 0.04696741389082401, \"Recovered\": 0.04696741389082401, \"Lat\": 46.8182, \"Long\": 8.2275}, {\"Country/Region\": \"US\", \"Confirmed\": 0.508302424745612, \"Deaths\": 0.012226155736515023, \"Recovered\": 0.0036678467209545055, \"Lat\": 38.88347448559672, \"Long\": -94.14907777777768}]}}, {\"mode\": \"vega-lite\"});\n", "</script>" ], "text/plain": [ @@ -566,19 +566,19 @@ "version": "3.7.6" }, "papermill": { - "duration": 2.520956, - "end_time": "2020-03-13T17:04:16.371464", + "duration": 2.508313, + "end_time": "2020-03-13T17:58:09.048792", "environment_variables": {}, "exception": null, - "input_path": "notebooks/Dashboard.ipynb", + "input_path": "/tmp/ajs106te/notebooks/Dashboard.ipynb", "output_path": "runs/Dashboard.run.ipynb", "parameters": { - "PAPERMILL_INPUT_PATH": "notebooks/Dashboard.ipynb", + "PAPERMILL_INPUT_PATH": "/tmp/ajs106te/notebooks/Dashboard.ipynb", "PAPERMILL_OUTPUT_PATH": "runs/Dashboard.run.ipynb", - "rates_folder": "./data/covid-19_rates/", - "ts_folder": "./data/covid-19_jhu-csse/" + "rates_folder": "/tmp/ajs106te/data/covid-19_rates", + "ts_folder": "/tmp/ajs106te/data/covid-19_jhu-csse" }, - "start_time": "2020-03-13T17:04:13.850508", + "start_time": "2020-03-13T17:58:06.540479", "version": "1.1.0" } }, diff --git a/runs/ToRates.run.ipynb b/runs/ToRates.run.ipynb index 2925f4ee..e93912c7 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-13T14:54:48.276145", + "duration": 0.031319, + "end_time": "2020-03-13T17:58:04.199968", "exception": false, - "start_time": "2020-03-13T14:54:48.256408", + "start_time": "2020-03-13T17:58:04.168649", "status": "completed" }, "tags": [] @@ -21,10 +21,10 @@ "execution_count": 1, "metadata": { "papermill": { - "duration": 0.327112, - "end_time": "2020-03-13T14:54:48.613995", + "duration": 0.365213, + "end_time": "2020-03-13T17:58:04.574239", "exception": false, - "start_time": "2020-03-13T14:54:48.286883", + "start_time": "2020-03-13T17:58:04.209026", "status": "completed" }, "tags": [] @@ -40,10 +40,10 @@ "execution_count": 2, "metadata": { "papermill": { - "duration": 0.025647, - "end_time": "2020-03-13T14:54:48.658686", + "duration": 0.018416, + "end_time": "2020-03-13T17:58:04.613366", "exception": false, - "start_time": "2020-03-13T14:54:48.633039", + "start_time": "2020-03-13T17:58:04.594950", "status": "completed" }, "tags": [ @@ -63,10 +63,10 @@ "execution_count": 3, "metadata": { "papermill": { - "duration": 0.027378, - "end_time": "2020-03-13T14:54:48.697099", + "duration": 0.018935, + "end_time": "2020-03-13T17:58:04.641455", "exception": false, - "start_time": "2020-03-13T14:54:48.669721", + "start_time": "2020-03-13T17:58:04.622520", "status": "completed" }, "tags": [ @@ -76,21 +76,21 @@ "outputs": [], "source": [ "# Parameters\n", - "PAPERMILL_INPUT_PATH = \"notebooks/ToRates.ipynb\"\n", + "PAPERMILL_INPUT_PATH = \"/tmp/hmyw2rom/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", - "out_folder = \"./data/covid-19_rates/\"\n" + "ts_folder = \"/tmp/hmyw2rom/data/covid-19_jhu-csse\"\n", + "wb_path = \"/tmp/hmyw2rom/data/worldbank/SP.POP.TOTL.zip\"\n", + "out_folder = \"data/covid-19_rates\"\n" ] }, { "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.009984, - "end_time": "2020-03-13T14:54:48.724400", + "duration": 0.00793, + "end_time": "2020-03-13T17:58:04.657374", "exception": false, - "start_time": "2020-03-13T14:54:48.714416", + "start_time": "2020-03-13T17:58:04.649444", "status": "completed" }, "tags": [ @@ -108,10 +108,10 @@ "execution_count": 4, "metadata": { "papermill": { - "duration": 0.044299, - "end_time": "2020-03-13T14:54:48.778200", + "duration": 0.02791, + "end_time": "2020-03-13T17:58:04.692567", "exception": false, - "start_time": "2020-03-13T14:54:48.733901", + "start_time": "2020-03-13T17:58:04.664657", "status": "completed" }, "tags": [] @@ -133,10 +133,10 @@ "execution_count": 5, "metadata": { "papermill": { - "duration": 0.126546, - "end_time": "2020-03-13T14:54:48.922552", + "duration": 0.127122, + "end_time": "2020-03-13T17:58:04.831576", "exception": false, - "start_time": "2020-03-13T14:54:48.796006", + "start_time": "2020-03-13T17:58:04.704454", "status": "completed" }, "tags": [] @@ -155,10 +155,10 @@ "execution_count": 6, "metadata": { "papermill": { - "duration": 0.05437, - "end_time": "2020-03-13T14:54:48.984940", + "duration": 0.052319, + "end_time": "2020-03-13T17:58:04.901105", "exception": false, - "start_time": "2020-03-13T14:54:48.930570", + "start_time": "2020-03-13T17:58:04.848786", "status": "completed" }, "tags": [] @@ -198,8 +198,6 @@ " <th>2020-01-30</th>\n", " <th>2020-01-31</th>\n", " <th>...</th>\n", - " <th>2020-03-01</th>\n", - " <th>2020-03-02</th>\n", " <th>2020-03-03</th>\n", " <th>2020-03-04</th>\n", " <th>2020-03-05</th>\n", @@ -208,6 +206,8 @@ " <th>2020-03-08</th>\n", " <th>2020-03-09</th>\n", " <th>2020-03-10</th>\n", + " <th>2020-03-11</th>\n", + " <th>2020-03-12</th>\n", " </tr>\n", " <tr>\n", " <th>Country/Region</th>\n", @@ -238,30 +238,30 @@ " </thead>\n", " <tbody>\n", " <tr>\n", - " <th>Mainland China</th>\n", - " <th>111.542903</th>\n", - " <th>33.406936</th>\n", - " <td>547</td>\n", - " <td>639</td>\n", - " <td>916</td>\n", - " <td>1399</td>\n", - " <td>2062</td>\n", - " <td>2863</td>\n", - " <td>5494</td>\n", - " <td>6070</td>\n", - " <td>8124</td>\n", - " <td>9783</td>\n", + " <th>China</th>\n", + " <th>111.649082</th>\n", + " <th>32.828385</th>\n", + " <td>548</td>\n", + " <td>643</td>\n", + " <td>920</td>\n", + " <td>1406</td>\n", + " <td>2075</td>\n", + " <td>2877</td>\n", + " <td>5509</td>\n", + " <td>6087</td>\n", + " <td>8141</td>\n", + " <td>9802</td>\n", " <td>...</td>\n", - " <td>79826</td>\n", - " <td>80026</td>\n", - " <td>80151</td>\n", - " <td>80271</td>\n", - " <td>80422</td>\n", - " <td>80573</td>\n", - " <td>80652</td>\n", - " <td>80699</td>\n", - " <td>80735</td>\n", - " <td>80757</td>\n", + " <td>80261</td>\n", + " <td>80386</td>\n", + " <td>80537</td>\n", + " <td>80690</td>\n", + " <td>80770</td>\n", + " <td>80823</td>\n", + " <td>80860</td>\n", + " <td>80887</td>\n", + " <td>80921</td>\n", + " <td>80932</td>\n", " </tr>\n", " <tr>\n", " <th>Italy</th>\n", @@ -278,8 +278,6 @@ " <td>0</td>\n", " <td>2</td>\n", " <td>...</td>\n", - " <td>1694</td>\n", - " <td>2036</td>\n", " <td>2502</td>\n", " <td>3089</td>\n", " <td>3858</td>\n", @@ -288,9 +286,11 @@ " <td>7375</td>\n", " <td>9172</td>\n", " <td>10149</td>\n", + " <td>12462</td>\n", + " <td>12462</td>\n", " </tr>\n", " <tr>\n", - " <th>Iran (Islamic Republic of)</th>\n", + " <th>Iran</th>\n", " <th>53.000000</th>\n", " <th>32.000000</th>\n", " <td>0</td>\n", @@ -304,8 +304,6 @@ " <td>0</td>\n", " <td>0</td>\n", " <td>...</td>\n", - " <td>978</td>\n", - " <td>1501</td>\n", " <td>2336</td>\n", " <td>2922</td>\n", " <td>3513</td>\n", @@ -314,9 +312,11 @@ " <td>6566</td>\n", " <td>7161</td>\n", " <td>8042</td>\n", + " <td>9000</td>\n", + " <td>10075</td>\n", " </tr>\n", " <tr>\n", - " <th>Republic of Korea</th>\n", + " <th>Korea, South</th>\n", " <th>128.000000</th>\n", " <th>36.000000</th>\n", " <td>1</td>\n", @@ -330,8 +330,6 @@ " <td>4</td>\n", " <td>11</td>\n", " <td>...</td>\n", - " <td>3736</td>\n", - " <td>4335</td>\n", " <td>5186</td>\n", " <td>5621</td>\n", " <td>6088</td>\n", @@ -340,11 +338,13 @@ " <td>7314</td>\n", " <td>7478</td>\n", " <td>7513</td>\n", + " <td>7755</td>\n", + " <td>7869</td>\n", " </tr>\n", " <tr>\n", " <th>France</th>\n", - " <th>2.000000</th>\n", - " <th>47.000000</th>\n", + " <th>-41.223233</th>\n", + " <th>27.399467</th>\n", " <td>0</td>\n", " <td>0</td>\n", " <td>2</td>\n", @@ -356,104 +356,80 @@ " <td>5</td>\n", " <td>5</td>\n", " <td>...</td>\n", - " <td>130</td>\n", - " <td>191</td>\n", " <td>204</td>\n", - " <td>285</td>\n", - " <td>377</td>\n", - " <td>653</td>\n", - " <td>949</td>\n", - " <td>1126</td>\n", - " <td>1209</td>\n", - " <td>1784</td>\n", + " <td>288</td>\n", + " <td>380</td>\n", + " <td>656</td>\n", + " <td>952</td>\n", + " <td>1129</td>\n", + " <td>1212</td>\n", + " <td>1787</td>\n", + " <td>2284</td>\n", + " <td>2284</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", - "<p>5 rows × 49 columns</p>\n", + "<p>5 rows × 51 columns</p>\n", "</div>" ], "text/plain": [ - " 2020-01-22 2020-01-23 \\\n", - "Country/Region Long Lat \n", - "Mainland China 111.542903 33.406936 547 639 \n", - "Italy 12.000000 43.000000 0 0 \n", - "Iran (Islamic Republic of) 53.000000 32.000000 0 0 \n", - "Republic of Korea 128.000000 36.000000 1 1 \n", - "France 2.000000 47.000000 0 0 \n", + " 2020-01-22 2020-01-23 2020-01-24 \\\n", + "Country/Region Long Lat \n", + "China 111.649082 32.828385 548 643 920 \n", + "Italy 12.000000 43.000000 0 0 0 \n", + "Iran 53.000000 32.000000 0 0 0 \n", + "Korea, South 128.000000 36.000000 1 1 2 \n", + "France -41.223233 27.399467 0 0 2 \n", "\n", - " 2020-01-24 2020-01-25 \\\n", - "Country/Region Long Lat \n", - "Mainland China 111.542903 33.406936 916 1399 \n", - "Italy 12.000000 43.000000 0 0 \n", - "Iran (Islamic Republic of) 53.000000 32.000000 0 0 \n", - "Republic of Korea 128.000000 36.000000 2 2 \n", - "France 2.000000 47.000000 2 3 \n", + " 2020-01-25 2020-01-26 2020-01-27 \\\n", + "Country/Region Long Lat \n", + "China 111.649082 32.828385 1406 2075 2877 \n", + "Italy 12.000000 43.000000 0 0 0 \n", + "Iran 53.000000 32.000000 0 0 0 \n", + "Korea, South 128.000000 36.000000 2 3 4 \n", + "France -41.223233 27.399467 3 3 3 \n", "\n", - " 2020-01-26 2020-01-27 \\\n", - "Country/Region Long Lat \n", - "Mainland China 111.542903 33.406936 2062 2863 \n", - "Italy 12.000000 43.000000 0 0 \n", - "Iran (Islamic Republic of) 53.000000 32.000000 0 0 \n", - "Republic of Korea 128.000000 36.000000 3 4 \n", - "France 2.000000 47.000000 3 3 \n", + " 2020-01-28 2020-01-29 2020-01-30 \\\n", + "Country/Region Long Lat \n", + "China 111.649082 32.828385 5509 6087 8141 \n", + "Italy 12.000000 43.000000 0 0 0 \n", + "Iran 53.000000 32.000000 0 0 0 \n", + "Korea, South 128.000000 36.000000 4 4 4 \n", + "France -41.223233 27.399467 4 5 5 \n", "\n", - " 2020-01-28 2020-01-29 \\\n", - "Country/Region Long Lat \n", - "Mainland China 111.542903 33.406936 5494 6070 \n", - "Italy 12.000000 43.000000 0 0 \n", - "Iran (Islamic Republic of) 53.000000 32.000000 0 0 \n", - "Republic of Korea 128.000000 36.000000 4 4 \n", - "France 2.000000 47.000000 4 5 \n", + " 2020-01-31 ... 2020-03-03 2020-03-04 \\\n", + "Country/Region Long Lat ... \n", + "China 111.649082 32.828385 9802 ... 80261 80386 \n", + "Italy 12.000000 43.000000 2 ... 2502 3089 \n", + "Iran 53.000000 32.000000 0 ... 2336 2922 \n", + "Korea, South 128.000000 36.000000 11 ... 5186 5621 \n", + "France -41.223233 27.399467 5 ... 204 288 \n", "\n", - " 2020-01-30 2020-01-31 ... \\\n", - "Country/Region Long Lat ... \n", - "Mainland China 111.542903 33.406936 8124 9783 ... \n", - "Italy 12.000000 43.000000 0 2 ... \n", - "Iran (Islamic Republic of) 53.000000 32.000000 0 0 ... \n", - "Republic of Korea 128.000000 36.000000 4 11 ... \n", - "France 2.000000 47.000000 5 5 ... \n", + " 2020-03-05 2020-03-06 2020-03-07 \\\n", + "Country/Region Long Lat \n", + "China 111.649082 32.828385 80537 80690 80770 \n", + "Italy 12.000000 43.000000 3858 4636 5883 \n", + "Iran 53.000000 32.000000 3513 4747 5823 \n", + "Korea, South 128.000000 36.000000 6088 6593 7041 \n", + "France -41.223233 27.399467 380 656 952 \n", "\n", - " 2020-03-01 2020-03-02 \\\n", - "Country/Region Long Lat \n", - "Mainland China 111.542903 33.406936 79826 80026 \n", - "Italy 12.000000 43.000000 1694 2036 \n", - "Iran (Islamic Republic of) 53.000000 32.000000 978 1501 \n", - "Republic of Korea 128.000000 36.000000 3736 4335 \n", - "France 2.000000 47.000000 130 191 \n", + " 2020-03-08 2020-03-09 2020-03-10 \\\n", + "Country/Region Long Lat \n", + "China 111.649082 32.828385 80823 80860 80887 \n", + "Italy 12.000000 43.000000 7375 9172 10149 \n", + "Iran 53.000000 32.000000 6566 7161 8042 \n", + "Korea, South 128.000000 36.000000 7314 7478 7513 \n", + "France -41.223233 27.399467 1129 1212 1787 \n", "\n", - " 2020-03-03 2020-03-04 \\\n", - "Country/Region Long Lat \n", - "Mainland China 111.542903 33.406936 80151 80271 \n", - "Italy 12.000000 43.000000 2502 3089 \n", - "Iran (Islamic Republic of) 53.000000 32.000000 2336 2922 \n", - "Republic of Korea 128.000000 36.000000 5186 5621 \n", - "France 2.000000 47.000000 204 285 \n", + " 2020-03-11 2020-03-12 \n", + "Country/Region Long Lat \n", + "China 111.649082 32.828385 80921 80932 \n", + "Italy 12.000000 43.000000 12462 12462 \n", + "Iran 53.000000 32.000000 9000 10075 \n", + "Korea, South 128.000000 36.000000 7755 7869 \n", + "France -41.223233 27.399467 2284 2284 \n", "\n", - " 2020-03-05 2020-03-06 \\\n", - "Country/Region Long Lat \n", - "Mainland China 111.542903 33.406936 80422 80573 \n", - "Italy 12.000000 43.000000 3858 4636 \n", - "Iran (Islamic Republic of) 53.000000 32.000000 3513 4747 \n", - "Republic of Korea 128.000000 36.000000 6088 6593 \n", - "France 2.000000 47.000000 377 653 \n", - "\n", - " 2020-03-07 2020-03-08 \\\n", - "Country/Region Long Lat \n", - "Mainland China 111.542903 33.406936 80652 80699 \n", - "Italy 12.000000 43.000000 5883 7375 \n", - "Iran (Islamic Republic of) 53.000000 32.000000 5823 6566 \n", - "Republic of Korea 128.000000 36.000000 7041 7314 \n", - "France 2.000000 47.000000 949 1126 \n", - "\n", - " 2020-03-09 2020-03-10 \n", - "Country/Region Long Lat \n", - "Mainland China 111.542903 33.406936 80735 80757 \n", - "Italy 12.000000 43.000000 9172 10149 \n", - "Iran (Islamic Republic of) 53.000000 32.000000 7161 8042 \n", - "Republic of Korea 128.000000 36.000000 7478 7513 \n", - "France 2.000000 47.000000 1209 1784 \n", - "\n", - "[5 rows x 49 columns]" + "[5 rows x 51 columns]" ] }, "execution_count": 6, @@ -469,10 +445,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.011038, - "end_time": "2020-03-13T14:54:49.012475", + "duration": 0.012028, + "end_time": "2020-03-13T17:58:04.932580", "exception": false, - "start_time": "2020-03-13T14:54:49.001437", + "start_time": "2020-03-13T17:58:04.920552", "status": "completed" }, "tags": [] @@ -486,10 +462,10 @@ "execution_count": 7, "metadata": { "papermill": { - "duration": 0.043639, - "end_time": "2020-03-13T14:54:49.064213", + "duration": 0.044223, + "end_time": "2020-03-13T17:58:04.984764", "exception": false, - "start_time": "2020-03-13T14:54:49.020574", + "start_time": "2020-03-13T17:58:04.940541", "status": "completed" }, "tags": [] @@ -505,10 +481,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.010307, - "end_time": "2020-03-13T14:54:49.091394", + "duration": 0.010228, + "end_time": "2020-03-13T17:58:05.011248", "exception": false, - "start_time": "2020-03-13T14:54:49.081087", + "start_time": "2020-03-13T17:58:05.001020", "status": "completed" }, "tags": [] @@ -522,10 +498,10 @@ "execution_count": 8, "metadata": { "papermill": { - "duration": 0.055137, - "end_time": "2020-03-13T14:54:49.154951", + "duration": 0.052242, + "end_time": "2020-03-13T17:58:05.071551", "exception": false, - "start_time": "2020-03-13T14:54:49.099814", + "start_time": "2020-03-13T17:58:05.019309", "status": "completed" }, "tags": [] @@ -658,10 +634,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.009197, - "end_time": "2020-03-13T14:54:49.179422", + "duration": 0.009568, + "end_time": "2020-03-13T17:58:05.097349", "exception": false, - "start_time": "2020-03-13T14:54:49.170225", + "start_time": "2020-03-13T17:58:05.087781", "status": "completed" }, "tags": [] @@ -675,10 +651,10 @@ "execution_count": 9, "metadata": { "papermill": { - "duration": 0.048983, - "end_time": "2020-03-13T14:54:49.237289", + "duration": 0.038944, + "end_time": "2020-03-13T17:58:05.144958", "exception": false, - "start_time": "2020-03-13T14:54:49.188306", + "start_time": "2020-03-13T17:58:05.106014", "status": "completed" }, "tags": [] @@ -708,10 +684,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.010552, - "end_time": "2020-03-13T14:54:49.263442", + "duration": 0.010532, + "end_time": "2020-03-13T17:58:05.172203", "exception": false, - "start_time": "2020-03-13T14:54:49.252890", + "start_time": "2020-03-13T17:58:05.161671", "status": "completed" }, "tags": [] @@ -724,10 +700,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.008224, - "end_time": "2020-03-13T14:54:49.280239", + "duration": 0.008912, + "end_time": "2020-03-13T17:58:05.189883", "exception": false, - "start_time": "2020-03-13T14:54:49.272015", + "start_time": "2020-03-13T17:58:05.180971", "status": "completed" }, "tags": [] @@ -741,10 +717,10 @@ "execution_count": 10, "metadata": { "papermill": { - "duration": 0.081057, - "end_time": "2020-03-13T14:54:49.370031", + "duration": 0.076031, + "end_time": "2020-03-13T17:58:05.275002", "exception": false, - "start_time": "2020-03-13T14:54:49.288974", + "start_time": "2020-03-13T17:58:05.198971", "status": "completed" }, "tags": [] @@ -769,10 +745,10 @@ "execution_count": 11, "metadata": { "papermill": { - "duration": 0.065887, - "end_time": "2020-03-13T14:54:49.458887", + "duration": 0.062766, + "end_time": "2020-03-13T17:58:05.356294", "exception": false, - "start_time": "2020-03-13T14:54:49.393000", + "start_time": "2020-03-13T17:58:05.293528", "status": "completed" }, "tags": [] @@ -805,20 +781,20 @@ "version": "3.7.6" }, "papermill": { - "duration": 2.37776, - "end_time": "2020-03-13T14:54:49.786899", + "duration": 2.356374, + "end_time": "2020-03-13T17:58:05.683344", "environment_variables": {}, "exception": null, - "input_path": "notebooks/ToRates.ipynb", + "input_path": "/tmp/hmyw2rom/notebooks/ToRates.ipynb", "output_path": "runs/ToRates.run.ipynb", "parameters": { - "PAPERMILL_INPUT_PATH": "notebooks/ToRates.ipynb", + "PAPERMILL_INPUT_PATH": "/tmp/hmyw2rom/notebooks/ToRates.ipynb", "PAPERMILL_OUTPUT_PATH": "runs/ToRates.run.ipynb", - "out_folder": "./data/covid-19_rates/", - "ts_folder": "./data/covid-19_jhu-csse/", - "wb_path": "./data/worldbank/SP.POP.TOTL.zip" + "out_folder": "data/covid-19_rates", + "ts_folder": "/tmp/hmyw2rom/data/covid-19_jhu-csse", + "wb_path": "/tmp/hmyw2rom/data/worldbank/SP.POP.TOTL.zip" }, - "start_time": "2020-03-13T14:54:47.409139", + "start_time": "2020-03-13T17:58:03.326970", "version": "1.1.0" } }, -- GitLab