From fe98b4a3ecdd4bbda9b8185cba1a76a545dc57d0 Mon Sep 17 00:00:00 2001 From: Corentin Dupont Date: Tue, 15 Jun 2021 14:36:04 +0200 Subject: [PATCH] exo1 --- 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..d8fef49 100644 --- a/module3/exo1/analyse-syndrome-grippal.Rmd +++ b/module3/exo1/analyse-syndrome-grippal.Rmd @@ -43,8 +43,17 @@ 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} +if (file.exists("D:/Mes Donnees/MyPhd/Reproductibilite/mooc-rr/module3/exo1/incidence-PAY-3.csv")==F){ +local = read.csv(data_url) +write.csv(local,"D:/Mes Donnees/MyPhd/Reproductibilite/mooc-rr/module3/exo1/incidence-PAY-3.csv") +} + +``` + ```{r} data = read.csv(data_url, skip=1) +data ``` Regardons ce que nous avons obtenu: -- 2.18.1