Update analyse-syndrome-grippal.Rmd

parent ffa6172b
......@@ -47,6 +47,22 @@ La première ligne du fichier CSV est un commentaire, que nous ignorons en préc
data = read.csv(data_url, skip=1)
```
Copier les données téléchargées dans un fichier local
```{r}
write.table(data, "C:/Users/cc270930/Desktop/MOOC recherche reproductible/Module 3 - La main à la pâte, une analyse réplicable/dataGrippe.csv",
row.names = FALSE, sep = ";", dec=",", na = "-")
```
Lire le fichier CSV sauvegardé en local
```{r}
data = read.csv("C:/Users/cc270930/Desktop/MOOC recherche reproductible/Module 3 - La main à la pâte, une analyse réplicable/dataGrippe.csv",
sep = ";", header = TRUE, na = "-")
```
Regardons ce que nous avons obtenu:
```{r}
head(data)
......
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