From e4868f72f7e06dfb9c466dc993a1939f9d655e80 Mon Sep 17 00:00:00 2001 From: 7f9d4a2f9f536fc2da1beb7df3382bb3 <7f9d4a2f9f536fc2da1beb7df3382bb3@app-learninglab.inria.fr> Date: Fri, 19 Dec 2025 17:01:14 +0000 Subject: [PATCH] Update analyse-syndrome-grippal.Rmd --- module3/exo1/analyse-syndrome-grippal.Rmd | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/module3/exo1/analyse-syndrome-grippal.Rmd b/module3/exo1/analyse-syndrome-grippal.Rmd index 771e78f..984367d 100644 --- a/module3/exo1/analyse-syndrome-grippal.Rmd +++ b/module3/exo1/analyse-syndrome-grippal.Rmd @@ -43,8 +43,13 @@ Voici l'explication des colonnes donnée sur le [sur le site d'origine](https:// La première ligne du fichier CSV est un commentaire, que nous ignorons en précisant `skip=1`. ### Téléchargement +```r ```{r} -data = read.csv(data_url, skip=1) +local_file <- "incidence-PAY-3.csv" +if (!file.exists(local_file)) { + download.file(data_url, destfile = local_file, mode = "wb") +} +data <- read.csv(local_file, skip = 1) ``` Regardons ce que nous avons obtenu: -- 2.18.1