diff --git a/.renku/workflow/37da798c3cba4284a2eebeb2ce0d4faa.cwl b/.renku/workflow/37da798c3cba4284a2eebeb2ce0d4faa.cwl new file mode 100644 index 0000000000000000000000000000000000000000..9b82e33cc69b30a69024870b0228dc2b3d7719ca --- /dev/null +++ b/.renku/workflow/37da798c3cba4284a2eebeb2ce0d4faa.cwl @@ -0,0 +1,66 @@ +class: Workflow +cwlVersion: v1.0 +hints: [] +inputs: + input_1: + default: ts_folder + 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: Directory + listing: [] + path: ../../data/covid-19_rates + streamable: false + type: Directory + input_5: + default: geodata_path + streamable: false + type: string + input_6: + default: + class: File + path: ../../data/geodata/geo_data.csv + streamable: false + type: File + input_7: + default: + class: File + path: ../../notebooks/Dashboard.ipynb + streamable: false + type: File + input_8: + default: runs/Dashboard.run.ipynb + streamable: false + type: string +outputs: + output_0: + outputSource: step_1/output_0 + streamable: false + type: File +requirements: [] +steps: + step_1: + in: + input_1: input_1 + input_2: input_2 + input_3: input_3 + input_4: input_4 + input_5: input_5 + input_6: input_6 + input_7: input_7 + input_8: input_8 + out: + - output_0 + run: 4cc7ffe9d5a045efb048ef2222a40ffa_papermill.cwl diff --git a/runs/Dashboard.run.ipynb b/runs/Dashboard.run.ipynb index 1da6b73896c8e6dadff3a8da4c6ff0c862f4d64f..5396142555f9a3f9a5a9275e64f6602c431d5b0a 100644 --- a/runs/Dashboard.run.ipynb +++ b/runs/Dashboard.run.ipynb @@ -5,10 +5,10 @@ "execution_count": 1, "metadata": { "papermill": { - "duration": 0.458218, - "end_time": "2020-03-17T10:11:00.168855", + "duration": 0.559346, + "end_time": "2020-03-17T12:00:52.940236", "exception": false, - "start_time": "2020-03-17T10:10:59.710637", + "start_time": "2020-03-17T12:00:52.380890", "status": "completed" }, "tags": [] @@ -27,10 +27,10 @@ "execution_count": 2, "metadata": { "papermill": { - "duration": 0.02119, - "end_time": "2020-03-17T10:11:00.211155", + "duration": 0.022653, + "end_time": "2020-03-17T12:00:52.985525", "exception": false, - "start_time": "2020-03-17T10:11:00.189965", + "start_time": "2020-03-17T12:00:52.962872", "status": "completed" }, "tags": [ @@ -51,10 +51,10 @@ "execution_count": 3, "metadata": { "papermill": { - "duration": 0.021467, - "end_time": "2020-03-17T10:11:00.242752", + "duration": 0.024154, + "end_time": "2020-03-17T12:00:53.020192", "exception": false, - "start_time": "2020-03-17T10:11:00.221285", + "start_time": "2020-03-17T12:00:52.996038", "status": "completed" }, "tags": [ @@ -64,11 +64,11 @@ "outputs": [], "source": [ "# Parameters\n", - "PAPERMILL_INPUT_PATH = \"/tmp/1zkv10my/notebooks/Dashboard.ipynb\"\n", + "PAPERMILL_INPUT_PATH = \"/tmp/qyugxmy3/notebooks/Dashboard.ipynb\"\n", "PAPERMILL_OUTPUT_PATH = \"runs/Dashboard.run.ipynb\"\n", - "ts_folder = \"/tmp/1zkv10my/data/covid-19_jhu-csse\"\n", - "rates_folder = \"/tmp/1zkv10my/data/covid-19_rates\"\n", - "geodata_path = \"/tmp/1zkv10my/data/geodata/geo_data.csv\"\n" + "ts_folder = \"/tmp/qyugxmy3/data/covid-19_jhu-csse\"\n", + "rates_folder = \"/tmp/qyugxmy3/data/covid-19_rates\"\n", + "geodata_path = \"/tmp/qyugxmy3/data/geodata/geo_data.csv\"\n" ] }, { @@ -76,10 +76,10 @@ "execution_count": 4, "metadata": { "papermill": { - "duration": 0.020872, - "end_time": "2020-03-17T10:11:00.274917", + "duration": 0.022976, + "end_time": "2020-03-17T12:00:53.056744", "exception": false, - "start_time": "2020-03-17T10:11:00.254045", + "start_time": "2020-03-17T12:00:53.033768", "status": "completed" }, "tags": [] @@ -94,10 +94,10 @@ "execution_count": 5, "metadata": { "papermill": { - "duration": 0.118944, - "end_time": "2020-03-17T10:11:00.403357", + "duration": 0.136941, + "end_time": "2020-03-17T12:00:53.207218", "exception": false, - "start_time": "2020-03-17T10:11:00.284413", + "start_time": "2020-03-17T12:00:53.070277", "status": "completed" }, "tags": [] @@ -110,7 +110,7 @@ "\n", "# Identify countries with 100 or more cases\n", "countries_over_thresh = helper.countries_with_number_of_cases(jhu_frames_map, 'confirmed', 100)\n", - "# Filter out some very small countries\n", + "# Filter out some countries with very high case/population ratio\n", "countries_over_thresh = [c for c in countries_over_thresh if c not in set(['San Marino', 'Iceland'])]" ] }, @@ -118,10 +118,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.010293, - "end_time": "2020-03-17T10:11:00.431297", + "duration": 0.010498, + "end_time": "2020-03-17T12:00:53.236945", "exception": false, - "start_time": "2020-03-17T10:11:00.421004", + "start_time": "2020-03-17T12:00:53.226447", "status": "completed" }, "tags": [] @@ -139,10 +139,10 @@ "execution_count": 6, "metadata": { "papermill": { - "duration": 0.04488, - "end_time": "2020-03-17T10:11:00.485301", + "duration": 0.041136, + "end_time": "2020-03-17T12:00:53.286385", "exception": false, - "start_time": "2020-03-17T10:11:00.440421", + "start_time": "2020-03-17T12:00:53.245249", "status": "completed" }, "tags": [] @@ -170,10 +170,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.010852, - "end_time": "2020-03-17T10:11:00.514434", + "duration": 0.009629, + "end_time": "2020-03-17T12:00:53.313176", "exception": false, - "start_time": "2020-03-17T10:11:00.503582", + "start_time": "2020-03-17T12:00:53.303547", "status": "completed" }, "tags": [] @@ -187,10 +187,10 @@ "execution_count": 7, "metadata": { "papermill": { - "duration": 0.023074, - "end_time": "2020-03-17T10:11:00.548715", + "duration": 0.020816, + "end_time": "2020-03-17T12:00:53.344155", "exception": false, - "start_time": "2020-03-17T10:11:00.525641", + "start_time": "2020-03-17T12:00:53.323339", "status": "completed" }, "tags": [] @@ -205,10 +205,10 @@ "execution_count": 8, "metadata": { "papermill": { - "duration": 0.051489, - "end_time": "2020-03-17T10:11:00.612355", + "duration": 0.057811, + "end_time": "2020-03-17T12:00:53.413580", "exception": false, - "start_time": "2020-03-17T10:11:00.560866", + "start_time": "2020-03-17T12:00:53.355769", "status": "completed" }, "tags": [] @@ -223,10 +223,10 @@ "execution_count": 9, "metadata": { "papermill": { - "duration": 0.122006, - "end_time": "2020-03-17T10:11:00.754759", + "duration": 0.117311, + "end_time": "2020-03-17T12:00:53.552622", "exception": false, - "start_time": "2020-03-17T10:11:00.632753", + "start_time": "2020-03-17T12:00:53.435311", "status": "completed" }, "tags": [] @@ -236,10 +236,10 @@ "data": { "text/html": [ "\n", - "<div id=\"altair-viz-e493d8fa8058495a83bddaf8d39e1814\"></div>\n", + "<div id=\"altair-viz-c25217e800b84ec1859c5799f1466916\"></div>\n", "<script type=\"text/javascript\">\n", " (function(spec, embedOpt){\n", - " const outputDiv = document.getElementById(\"altair-viz-e493d8fa8058495a83bddaf8d39e1814\");\n", + " const outputDiv = document.getElementById(\"altair-viz-c25217e800b84ec1859c5799f1466916\");\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", @@ -323,10 +323,10 @@ "execution_count": 10, "metadata": { "papermill": { - "duration": 0.097497, - "end_time": "2020-03-17T10:11:00.874615", + "duration": 0.089611, + "end_time": "2020-03-17T12:00:53.662219", "exception": false, - "start_time": "2020-03-17T10:11:00.777118", + "start_time": "2020-03-17T12:00:53.572608", "status": "completed" }, "tags": [] @@ -336,10 +336,10 @@ "data": { "text/html": [ "\n", - "<div id=\"altair-viz-c6740e839acf4403b40ed0387ec1177f\"></div>\n", + "<div id=\"altair-viz-3314eb7234cc49d68075d1deb328a5ac\"></div>\n", "<script type=\"text/javascript\">\n", " (function(spec, embedOpt){\n", - " const outputDiv = document.getElementById(\"altair-viz-c6740e839acf4403b40ed0387ec1177f\");\n", + " const outputDiv = document.getElementById(\"altair-viz-3314eb7234cc49d68075d1deb328a5ac\");\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", @@ -439,10 +439,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.011954, - "end_time": "2020-03-17T10:11:00.909056", + "duration": 0.011561, + "end_time": "2020-03-17T12:00:53.691969", "exception": false, - "start_time": "2020-03-17T10:11:00.897102", + "start_time": "2020-03-17T12:00:53.680408", "status": "completed" }, "tags": [] @@ -456,10 +456,10 @@ "execution_count": 11, "metadata": { "papermill": { - "duration": 0.060066, - "end_time": "2020-03-17T10:11:00.979454", + "duration": 0.071097, + "end_time": "2020-03-17T12:00:53.774538", "exception": false, - "start_time": "2020-03-17T10:11:00.919388", + "start_time": "2020-03-17T12:00:53.703441", "status": "completed" }, "tags": [] @@ -478,10 +478,10 @@ "execution_count": 12, "metadata": { "papermill": { - "duration": 0.132528, - "end_time": "2020-03-17T10:11:01.137763", + "duration": 0.147114, + "end_time": "2020-03-17T12:00:53.944454", "exception": false, - "start_time": "2020-03-17T10:11:01.005235", + "start_time": "2020-03-17T12:00:53.797340", "status": "completed" }, "tags": [] @@ -491,10 +491,10 @@ "data": { "text/html": [ "\n", - "<div id=\"altair-viz-4be5bf2aed384e65b0b603529c959e62\"></div>\n", + "<div id=\"altair-viz-c192bad7f48f4e3cb77036c6230391fe\"></div>\n", "<script type=\"text/javascript\">\n", " (function(spec, embedOpt){\n", - " const outputDiv = document.getElementById(\"altair-viz-4be5bf2aed384e65b0b603529c959e62\");\n", + " const outputDiv = document.getElementById(\"altair-viz-c192bad7f48f4e3cb77036c6230391fe\");\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", @@ -588,10 +588,10 @@ "execution_count": 13, "metadata": { "papermill": { - "duration": 0.229241, - "end_time": "2020-03-17T10:11:01.385083", + "duration": 0.23177, + "end_time": "2020-03-17T12:00:54.196438", "exception": false, - "start_time": "2020-03-17T10:11:01.155842", + "start_time": "2020-03-17T12:00:53.964668", "status": "completed" }, "tags": [] @@ -622,10 +622,10 @@ "execution_count": 14, "metadata": { "papermill": { - "duration": 0.041152, - "end_time": "2020-03-17T10:11:01.458520", + "duration": 0.045296, + "end_time": "2020-03-17T12:00:54.269707", "exception": false, - "start_time": "2020-03-17T10:11:01.417368", + "start_time": "2020-03-17T12:00:54.224411", "status": "completed" }, "tags": [] @@ -677,10 +677,10 @@ "execution_count": 15, "metadata": { "papermill": { - "duration": 0.278153, - "end_time": "2020-03-17T10:11:01.759851", + "duration": 0.249041, + "end_time": "2020-03-17T12:00:54.546156", "exception": false, - "start_time": "2020-03-17T10:11:01.481698", + "start_time": "2020-03-17T12:00:54.297115", "status": "completed" }, "tags": [] @@ -690,10 +690,10 @@ "data": { "text/html": [ "\n", - "<div id=\"altair-viz-6dc91cf4c57e43f9a48d8b3dfa8ce099\"></div>\n", + "<div id=\"altair-viz-5f070b1daaec4d76bb56158d3cc8a9db\"></div>\n", "<script type=\"text/javascript\">\n", " (function(spec, embedOpt){\n", - " const outputDiv = document.getElementById(\"altair-viz-6dc91cf4c57e43f9a48d8b3dfa8ce099\");\n", + " const outputDiv = document.getElementById(\"altair-viz-5f070b1daaec4d76bb56158d3cc8a9db\");\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", @@ -789,10 +789,10 @@ "execution_count": 16, "metadata": { "papermill": { - "duration": 0.268107, - "end_time": "2020-03-17T10:11:02.053729", + "duration": 0.257212, + "end_time": "2020-03-17T12:00:54.830709", "exception": false, - "start_time": "2020-03-17T10:11:01.785622", + "start_time": "2020-03-17T12:00:54.573497", "status": "completed" }, "tags": [] @@ -802,10 +802,10 @@ "data": { "text/html": [ "\n", - "<div id=\"altair-viz-1d15b1a2fa0e492a85459c8ed2773078\"></div>\n", + "<div id=\"altair-viz-ad2d06feeb31416ba5563e36e6471ec7\"></div>\n", "<script type=\"text/javascript\">\n", " (function(spec, embedOpt){\n", - " const outputDiv = document.getElementById(\"altair-viz-1d15b1a2fa0e492a85459c8ed2773078\");\n", + " const outputDiv = document.getElementById(\"altair-viz-ad2d06feeb31416ba5563e36e6471ec7\");\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", @@ -912,20 +912,20 @@ "version": "3.7.6" }, "papermill": { - "duration": 3.525527, - "end_time": "2020-03-17T10:11:02.396887", + "duration": 3.876895, + "end_time": "2020-03-17T12:00:55.177234", "environment_variables": {}, "exception": null, - "input_path": "/tmp/1zkv10my/notebooks/Dashboard.ipynb", + "input_path": "/tmp/qyugxmy3/notebooks/Dashboard.ipynb", "output_path": "runs/Dashboard.run.ipynb", "parameters": { - "PAPERMILL_INPUT_PATH": "/tmp/1zkv10my/notebooks/Dashboard.ipynb", + "PAPERMILL_INPUT_PATH": "/tmp/qyugxmy3/notebooks/Dashboard.ipynb", "PAPERMILL_OUTPUT_PATH": "runs/Dashboard.run.ipynb", - "geodata_path": "/tmp/1zkv10my/data/geodata/geo_data.csv", - "rates_folder": "/tmp/1zkv10my/data/covid-19_rates", - "ts_folder": "/tmp/1zkv10my/data/covid-19_jhu-csse" + "geodata_path": "/tmp/qyugxmy3/data/geodata/geo_data.csv", + "rates_folder": "/tmp/qyugxmy3/data/covid-19_rates", + "ts_folder": "/tmp/qyugxmy3/data/covid-19_jhu-csse" }, - "start_time": "2020-03-17T10:10:58.871360", + "start_time": "2020-03-17T12:00:51.300339", "version": "1.1.0" } },