fitting comment to recommended solution instead

parent 4df17953
...@@ -7,45 +7,6 @@ ...@@ -7,45 +7,6 @@
"# Incidence of influenza-like illness in France" "# Incidence of influenza-like illness in France"
] ]
}, },
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'/home/jovyan/work/module3/exo1'"
]
},
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"%pwd"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"analyse-syndrome-grippal.ipynb influenza-like-illness-analysis.ipynb\r\n",
"analyse-syndrome-grippal.org influenza-like-illness-analysis.org\r\n",
"analyse-syndrome-grippal.Rmd influenza-like-illness-analysis.Rmd\r\n"
]
}
],
"source": [
"%ls\n"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 3,
...@@ -65,6 +26,13 @@ ...@@ -65,6 +26,13 @@
"The data on the incidence of influenza-like illness are available from the Web site of the [Réseau Sentinelles](http://www.sentiweb.fr/). We download them as a file in CSV format, in which each line corresponds to a week in the observation period. Only the complete dataset, starting in 1984 and ending with a recent week, is available for download." "The data on the incidence of influenza-like illness are available from the Web site of the [Réseau Sentinelles](http://www.sentiweb.fr/). We download them as a file in CSV format, in which each line corresponds to a week in the observation period. Only the complete dataset, starting in 1984 and ending with a recent week, is available for download."
] ]
}, },
{
"cell_type": "markdown",
"metadata": {},
"source": [
"In order to protect us in case the Réseau Sentinelles Web server disappears or is modified, we make a local copy of this dataset that we store together with our analysis. It is unnecessary and even risky to download the data at each execution, because in case of a malfunction we might be replacing our file by a corrupted version. Therefore we download the data only if no local copy exists."
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 6, "execution_count": 6,
...@@ -94,13 +62,6 @@ ...@@ -94,13 +62,6 @@
"os.path.exists(data_file)" "os.path.exists(data_file)"
] ]
}, },
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Seeks data from dowloaded file instead of seeking to download the data from theSentinelles site everytime. Robust to site being down, data being updated..."
]
},
{ {
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
......
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