From 7cd10e076f6caa39f90d28bd12c96ca3909fcf7b Mon Sep 17 00:00:00 2001 From: 4fca29d42687043eaa4d6014ad8dd57f <4fca29d42687043eaa4d6014ad8dd57f@app-learninglab.inria.fr> Date: Mon, 7 Jul 2025 09:31:58 +0000 Subject: [PATCH] Update analyse-syndrome-grippal.Rmd --- module3/exo1/analyse-syndrome-grippal.Rmd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/module3/exo1/analyse-syndrome-grippal.Rmd b/module3/exo1/analyse-syndrome-grippal.Rmd index 0c340df..7265c47 100644 --- a/module3/exo1/analyse-syndrome-grippal.Rmd +++ b/module3/exo1/analyse-syndrome-grippal.Rmd @@ -46,9 +46,13 @@ La première ligne du fichier CSV est un commentaire, que nous ignorons en préc ```{r} data = read.csv(data_url, skip=1) ``` -Sauvons une copie localement +Sauvons une copie localement pour préserver les données en cas de modifications du site du réseau sentinelles ```{r} write.csv(data, "copie_data.csv") + +if (!file.exists(data_file)) { + download.file(data_url, data_file, method="auto") +} ``` Ré-importons la copie -- 2.18.1