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
70e69c47b2b381042ccc48e49e7fc9b5
mooc-rr
Commits
3490b92f
Commit
3490b92f
authored
May 15, 2020
by
Ana Sodan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exo 1
parent
da3eb0a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
AnalyseSyndrome_AS.Rmd
module3/exo1/AnalyseSyndrome_AS.Rmd
+5
-1
No files found.
module3/exo1/AnalyseSyndrome_AS.Rmd
View file @
3490b92f
...
@@ -15,14 +15,18 @@ knitr::opts_chunk$set(echo = TRUE)
...
@@ -15,14 +15,18 @@ knitr::opts_chunk$set(echo = TRUE)
data_url="https://www.sentiweb.fr/datasets/incidence-PAY-3.csv"
data_url="https://www.sentiweb.fr/datasets/incidence-PAY-3.csv"
```
```
J'appelle mon fichier comme je veux dans data_file. Ensuite je le télécharge selon l'url donné précédemment s'il n'exite pas avec le nom donné dans data_file
```{r}
```{r}
data_file="syndrome-grippal.csv"
data_file="syndrome-grippal.csv"
if(!file.exists(data_file)){download.file(data_url,data_file,method="auto")}
if(!file.exists(data_file)){download.file(data_url,data_file,method="auto")}
```
```
```{r}
```{r}
data=read.csv(data_
url
,skip=1)
data=read.csv(data_
file
,skip=1)
head (data)
head (data)
```
```
...
...
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