Update analyse-syndrome-grippal.Rmd

parent 2f96aa3d
......@@ -44,7 +44,12 @@ 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("incidence-PAY-3.csv"){
data = read.csv("incidence-PAY-3.csv", skip=1) }
else {
data = read.csv(data_url, skip=1)
write.csv(data, file = "incidence-PAY-3.csv")
}
```
Regardons ce que nous avons obtenu:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment