diff --git a/.renku/workflow/9c0f49623aa94b0d85c3de74aae5f32a.cwl b/.renku/workflow/9c0f49623aa94b0d85c3de74aae5f32a.cwl new file mode 100644 index 0000000000000000000000000000000000000000..15c2ba919a29726f040c2393ca4409fb2bad35a5 --- /dev/null +++ b/.renku/workflow/9c0f49623aa94b0d85c3de74aae5f32a.cwl @@ -0,0 +1,148 @@ +class: Workflow +cwlVersion: v1.0 +hints: [] +inputs: + input_1: + default: states-daily.json + streamable: false + type: string + input_10: + default: states-metadata.json + streamable: false + type: string + input_2: + default: out_folder + streamable: false + type: string + input_3: + default: data/covidtracking + streamable: false + type: string + input_4: + default: + class: File + path: ../../notebooks/process/download-covidtracking-data.ipynb + streamable: false + type: File + input_5: + default: runs/download-covidtracking-data.runs.ipynb + streamable: false + type: string + input_6: + default: out_folder + streamable: false + type: string + input_7: + default: data/covidtracking + streamable: false + type: string + input_8: + default: + class: File + path: ../../notebooks/process/download-covidtracking-data.ipynb + streamable: false + type: File + input_9: + default: runs/download-covidtracking-data.runs.ipynb + streamable: false + type: string +outputs: + output_1: + outputSource: step_2/output_1 + streamable: false + type: Directory + output_2: + outputSource: step_2/output_0 + streamable: false + type: File +requirements: [] +steps: + step_1: + in: + filename: input_1 + input_directory: step_2/output_1 + out: + - output_file + run: + arguments: [] + baseCommand: + - 'true' + class: CommandLineTool + cwlVersion: v1.0 + hints: [] + inputs: + filename: + default: states-daily.json + streamable: false + type: string + input_directory: + streamable: false + type: Directory + outputs: + output_file: + outputBinding: + glob: $(inputs.filename) + streamable: false + type: File + permanentFailCodes: [] + requirements: + - &id001 + class: InlineJavascriptRequirement + - &id002 + class: InitialWorkDirRequirement + listing: $(inputs.input_directory.listing) + successCodes: [] + temporaryFailCodes: [] + step_2: + in: + input_1: input_2 + input_2: input_3 + input_3: input_4 + input_4: input_5 + out: + - output_1 + - output_0 + run: a17d560c41a54f5aa307ce5f3c5effe5_papermill.cwl + step_3: + in: + input_1: input_6 + input_2: input_7 + input_3: input_8 + input_4: input_9 + out: + - output_1 + - output_0 + run: a17d560c41a54f5aa307ce5f3c5effe5_papermill.cwl + step_4: + in: + filename: input_10 + input_directory: step_3/output_1 + out: + - output_file + run: + arguments: [] + baseCommand: + - 'true' + class: CommandLineTool + cwlVersion: v1.0 + hints: [] + inputs: + filename: + default: states-metadata.json + streamable: false + type: string + input_directory: + streamable: false + type: Directory + outputs: + output_file: + outputBinding: + glob: $(inputs.filename) + streamable: false + type: File + permanentFailCodes: [] + requirements: + - *id001 + - *id002 + successCodes: [] + temporaryFailCodes: [] diff --git a/data/covidtracking/states-daily.json b/data/covidtracking/states-daily.json index 6ab3ababae886822407a11fc6b1e8e5ff6d0f55d..2115c114cab590659a3b30f7c37c8dc891567397 100644 --- a/data/covidtracking/states-daily.json +++ b/data/covidtracking/states-daily.json @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7afd46c40a8cb9186f35c22fab12ad9a699a6b20848be8758202bf642f6290d4 -size 731537 +oid sha256:de95fd7f92bde71c7aff203436902114592de6eff7cbe563ec11d974573199c0 +size 731539 diff --git a/data/covidtracking/states-metadata.json b/data/covidtracking/states-metadata.json index 5428d6b949d4dc05ddd8e2c5f71b6d8359a1a960..f294193a5dc43517afb7081ddadf4e1b0e23e239 100644 --- a/data/covidtracking/states-metadata.json +++ b/data/covidtracking/states-metadata.json @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:02551eb87d66d8eddd8d967130018327a21038defb9808493fb08125fec683e1 -size 25560 +oid sha256:4981574f48b790334619e0df26388a174d70d3985fd126dde0eb9d2a1d3f0ff5 +size 25627 diff --git a/runs/download-covidtracking-data.runs.ipynb b/runs/download-covidtracking-data.runs.ipynb index 1bdccb88f1fbfe585695515ca83ad318adb047f2..f7a968cd3112aa01e0e53d27624a9c871fde1c6c 100644 --- a/runs/download-covidtracking-data.runs.ipynb +++ b/runs/download-covidtracking-data.runs.ipynb @@ -5,10 +5,10 @@ "execution_count": 1, "metadata": { "papermill": { - "duration": 0.483354, - "end_time": "2020-04-04T07:25:10.355198", + "duration": 4.118811, + "end_time": "2020-04-04T21:04:50.001206", "exception": false, - "start_time": "2020-04-04T07:25:09.871844", + "start_time": "2020-04-04T21:04:45.882395", "status": "completed" }, "tags": [] @@ -25,10 +25,10 @@ "execution_count": 2, "metadata": { "papermill": { - "duration": 0.015684, - "end_time": "2020-04-04T07:25:10.380598", + "duration": 0.017727, + "end_time": "2020-04-04T21:04:50.032092", "exception": false, - "start_time": "2020-04-04T07:25:10.364914", + "start_time": "2020-04-04T21:04:50.014365", "status": "completed" }, "tags": [ @@ -46,10 +46,10 @@ "execution_count": 3, "metadata": { "papermill": { - "duration": 0.015223, - "end_time": "2020-04-04T07:25:10.402953", + "duration": 0.021211, + "end_time": "2020-04-04T21:04:50.062863", "exception": false, - "start_time": "2020-04-04T07:25:10.387730", + "start_time": "2020-04-04T21:04:50.041652", "status": "completed" }, "tags": [ @@ -59,7 +59,7 @@ "outputs": [], "source": [ "# Parameters\n", - "PAPERMILL_INPUT_PATH = \"/tmp/lou3ghqx/notebooks/process/download-covidtracking-data.ipynb\"\n", + "PAPERMILL_INPUT_PATH = \"/tmp/cqky7dsw/notebooks/process/download-covidtracking-data.ipynb\"\n", "PAPERMILL_OUTPUT_PATH = \"runs/download-covidtracking-data.runs.ipynb\"\n", "out_folder = \"data/covidtracking\"\n" ] @@ -68,10 +68,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.006883, - "end_time": "2020-04-04T07:25:10.417247", + "duration": 0.008752, + "end_time": "2020-04-04T21:04:50.085061", "exception": false, - "start_time": "2020-04-04T07:25:10.410364", + "start_time": "2020-04-04T21:04:50.076309", "status": "completed" }, "tags": [] @@ -87,10 +87,10 @@ "execution_count": 4, "metadata": { "papermill": { - "duration": 0.237124, - "end_time": "2020-04-04T07:25:10.660579", + "duration": 1.082816, + "end_time": "2020-04-04T21:04:51.175359", "exception": false, - "start_time": "2020-04-04T07:25:10.423455", + "start_time": "2020-04-04T21:04:50.092543", "status": "completed" }, "tags": [] @@ -107,10 +107,10 @@ "execution_count": 5, "metadata": { "papermill": { - "duration": 0.022094, - "end_time": "2020-04-04T07:25:10.694146", + "duration": 0.021503, + "end_time": "2020-04-04T21:04:51.208251", "exception": false, - "start_time": "2020-04-04T07:25:10.672052", + "start_time": "2020-04-04T21:04:51.186748", "status": "completed" }, "tags": [] @@ -129,10 +129,10 @@ "execution_count": 6, "metadata": { "papermill": { - "duration": 0.065719, - "end_time": "2020-04-04T07:25:10.768853", + "duration": 0.069639, + "end_time": "2020-04-04T21:04:51.286125", "exception": false, - "start_time": "2020-04-04T07:25:10.703134", + "start_time": "2020-04-04T21:04:51.216486", "status": "completed" }, "tags": [] @@ -246,10 +246,10 @@ "cell_type": "markdown", "metadata": { "papermill": { - "duration": 0.007831, - "end_time": "2020-04-04T07:25:10.786260", + "duration": 0.008089, + "end_time": "2020-04-04T21:04:51.303421", "exception": false, - "start_time": "2020-04-04T07:25:10.778429", + "start_time": "2020-04-04T21:04:51.295332", "status": "completed" }, "tags": [] @@ -263,10 +263,10 @@ "execution_count": 7, "metadata": { "papermill": { - "duration": 0.215185, - "end_time": "2020-04-04T07:25:11.009344", + "duration": 0.235648, + "end_time": "2020-04-04T21:04:51.547279", "exception": false, - "start_time": "2020-04-04T07:25:10.794159", + "start_time": "2020-04-04T21:04:51.311631", "status": "completed" }, "tags": [] @@ -283,10 +283,10 @@ "execution_count": 8, "metadata": { "papermill": { - "duration": 0.025212, - "end_time": "2020-04-04T07:25:11.045222", + "duration": 0.023705, + "end_time": "2020-04-04T21:04:51.585035", "exception": false, - "start_time": "2020-04-04T07:25:11.020010", + "start_time": "2020-04-04T21:04:51.561330", "status": "completed" }, "tags": [] @@ -305,10 +305,10 @@ "execution_count": 9, "metadata": { "papermill": { - "duration": 0.093239, - "end_time": "2020-04-04T07:25:11.151043", + "duration": 0.093556, + "end_time": "2020-04-04T21:04:51.689668", "exception": false, - "start_time": "2020-04-04T07:25:11.057804", + "start_time": "2020-04-04T21:04:51.596112", "status": "completed" }, "tags": [] @@ -474,18 +474,18 @@ "version": "3.7.3" }, "papermill": { - "duration": 2.432226, - "end_time": "2020-04-04T07:25:11.472698", + "duration": 7.617778, + "end_time": "2020-04-04T21:04:52.010906", "environment_variables": {}, "exception": null, - "input_path": "/tmp/lou3ghqx/notebooks/process/download-covidtracking-data.ipynb", + "input_path": "/tmp/cqky7dsw/notebooks/process/download-covidtracking-data.ipynb", "output_path": "runs/download-covidtracking-data.runs.ipynb", "parameters": { - "PAPERMILL_INPUT_PATH": "/tmp/lou3ghqx/notebooks/process/download-covidtracking-data.ipynb", + "PAPERMILL_INPUT_PATH": "/tmp/cqky7dsw/notebooks/process/download-covidtracking-data.ipynb", "PAPERMILL_OUTPUT_PATH": "runs/download-covidtracking-data.runs.ipynb", "out_folder": "data/covidtracking" }, - "start_time": "2020-04-04T07:25:09.040472", + "start_time": "2020-04-04T21:04:44.393128", "version": "1.1.0" } },