diff --git a/module3/exo1/analyse-syndrome-grippal.Rmd b/module3/exo1/analyse-syndrome-grippal.Rmd index 771e78faac371f23c921f7f7aecc87f2100e9059..f98e21dac0bcd9371d88c029f3390ceb094e862e 100644 --- a/module3/exo1/analyse-syndrome-grippal.Rmd +++ b/module3/exo1/analyse-syndrome-grippal.Rmd @@ -44,7 +44,11 @@ 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} -data = read.csv(data_url, skip=1) +if (!file.exists("data_grippe.csv")) +{data = read.csv(data_url, skip=1) +write.csv(data,file="data_grippe.csv")} + +data = read.csv("data_grippe.csv", skip=1) ``` Regardons ce que nous avons obtenu: