From eb05614d9272bc1b4e335ce1b53af4d5f4b37d14 Mon Sep 17 00:00:00 2001 From: Anne Wojtanowski Date: Wed, 18 Dec 2024 15:46:46 +0100 Subject: [PATCH] Ajout de BDD en local --- module3/exo1/analyse-syndrome-grippal.Rmd | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/module3/exo1/analyse-syndrome-grippal.Rmd b/module3/exo1/analyse-syndrome-grippal.Rmd index 771e78f..2a3f6fe 100644 --- a/module3/exo1/analyse-syndrome-grippal.Rmd +++ b/module3/exo1/analyse-syndrome-grippal.Rmd @@ -26,6 +26,15 @@ 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