no commit message

parent 80ae9472
...@@ -30,13 +30,25 @@ ...@@ -30,13 +30,25 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 4,
"metadata": { "metadata": {},
"collapsed": true
},
"outputs": [], "outputs": [],
"source": [ "source": [
"data_url = \"http://www.sentiweb.fr/datasets/incidence-PAY-3.csv\"" "data_url = \"http://www.sentiweb.fr/datasets/incidence-PAY-3.csv\"\n",
"\n",
"data_file = \"syndrome-grippal.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": {},
"source": [
"In the analysis of the incidence of influenza-like illness, the data are downloaded from the server every time the analysis code is executed, but there is no guarantee that the download URL remains valid, nor that the returned data will always remain the same. So it is preferable to first make a copy of the data, and then use that copy in the computational document. To ensure traceability of the data, the computational document must nevertheless contain the URL from which the data was obtained."
] ]
}, },
{ {
...@@ -365,7 +377,7 @@ ...@@ -365,7 +377,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.6.1" "version": "3.6.4"
} }
}, },
"nbformat": 4, "nbformat": 4,
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment