diff --git a/module3/exo1/analyse-syndrome-grippal.ipynb b/module3/exo1/analyse-syndrome-grippal.ipynb index c11cb7460c20cec58b83a70e551eaab159bdb64a..84dc5a90714e41a7e85a0fdeee9b9127eda30ffb 100644 --- a/module3/exo1/analyse-syndrome-grippal.ipynb +++ b/module3/exo1/analyse-syndrome-grippal.ipynb @@ -28,7 +28,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 1, "metadata": {}, "outputs": [ { @@ -37,7 +37,7 @@ "'https://app-learninglab.inria.fr/moocrr/gitlab/8d8f65243a3005308e219351e328782f/mooc-rr/raw/master/module3/exo1/incidence-PAY-3.csv?inline=false'" ] }, - "execution_count": 2, + "execution_count": 1, "metadata": {}, "output_type": "execute_result" } @@ -47,6 +47,20 @@ "data_url" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "data_file = \"incidence-PAY-3.csv\"\n", + "\n", + "import os\n", + "import urllib.request\n", + "if not os.path.exists(data_file):\n", + " urllib.request.urlretrieve(data_url, data_file)" + ] + }, { "cell_type": "markdown", "metadata": {},