Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ea4f5ba1b97cd5a14653d4641234245a
mooc-rr
Commits
43bd9847
Commit
43bd9847
authored
May 24, 2021
by
Paul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Solution finale proposées
parent
4380af2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
analyse-syndrome-grippal.Rmd
module3/exo1/analyse-syndrome-grippal.Rmd
+6
-1
No files found.
module3/exo1/analyse-syndrome-grippal.Rmd
View file @
43bd9847
...
...
@@ -44,13 +44,18 @@ 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}
# Je charge le package contenant la fonction d'importation
library(readr)
# Je pointe le document source
setwd("C:/Users/Paul Faye/Desktop/MOOC-RR/module3/exo1/")
# Je demande de télécharger le fichier "incidence_PAY_3.csv" s'il n'existe pas dans le répertoire courant
donnees = "incidence_PAY_3.csv"
if (!file.exists(donnees)) {
download.file(data_url, donnees, method="auto")
}
# j'import enfin les données
data = read_csv(donnees, skip = 1)
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment