From 579f38056bc0b718e87b63788e32da2624270adc Mon Sep 17 00:00:00 2001 From: d7227cde42eb97d8aac791d907b6bbae Date: Wed, 21 Aug 2024 13:21:59 +0000 Subject: [PATCH] Update analyse-syndrome-grippal.Rmd --- module3/exo1/analyse-syndrome-grippal.Rmd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module3/exo1/analyse-syndrome-grippal.Rmd b/module3/exo1/analyse-syndrome-grippal.Rmd index 6342d80..de66279 100644 --- a/module3/exo1/analyse-syndrome-grippal.Rmd +++ b/module3/exo1/analyse-syndrome-grippal.Rmd @@ -25,8 +25,7 @@ Les données de l'incidence du syndrome grippal sont disponibles du site Web du ```{r} if(!file.exists("./incidence-PAY-3.csv")){ data_url = "http://www.sentiweb.fr/datasets/incidence-PAY-3.csv" - data_dwnld = read.csv(data_url) - write.csv(data_dwnld, "./incidence-PAY-3.csv", row.names = FALSE) + download.file(data_url, "./incidence-PAY-3.csv") } ``` -- 2.18.1