From 560d88bdc41aa9bb67b7e63dfe740aa62e58685a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9mie=20Kuenzi?= Date: Thu, 3 Jul 2025 18:24:01 +0200 Subject: [PATCH] add data_file local downloaded --- module3/exo1/analyse-syndrome-grippal.Rmd | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/module3/exo1/analyse-syndrome-grippal.Rmd b/module3/exo1/analyse-syndrome-grippal.Rmd index 771e78f..743de84 100644 --- a/module3/exo1/analyse-syndrome-grippal.Rmd +++ b/module3/exo1/analyse-syndrome-grippal.Rmd @@ -26,6 +26,14 @@ Les données de l'incidence du syndrome grippal sont disponibles du site Web du data_url = "http://www.sentiweb.fr/datasets/incidence-PAY-3.csv" ``` + +```{r} +data_file = "syndrome-grippal.csv" +if (!file.exists(data_file)) { + download.file(data_url, data_file, method="auto") +} +``` + Voici l'explication des colonnes donnée sur le [sur le site d'origine](https://ns.sentiweb.fr/incidence/csv-schema-v1.json): | Nom de colonne | Libellé de colonne | -- 2.18.1