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
15900e6525d86148f1e934934f31b393
mooc-rr
Commits
c4491f9a
Commit
c4491f9a
authored
Sep 20, 2021
by
15900e6525d86148f1e934934f31b393
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update influenza-like-illness-analysis.Rmd
parent
8b4c3eeb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
influenza-like-illness-analysis.Rmd
module3/exo1/influenza-like-illness-analysis.Rmd
+3
-1
No files found.
module3/exo1/influenza-like-illness-analysis.Rmd
View file @
c4491f9a
...
@@ -27,7 +27,6 @@ data_url = "http://www.sentiweb.fr/datasets/incidence-PAY-3.csv"
...
@@ -27,7 +27,6 @@ data_url = "http://www.sentiweb.fr/datasets/incidence-PAY-3.csv"
```
```
### Download
### Download
The first line of the CSV file is a comment, which we ignore with `skip=1`.
```{r}
```{r}
data_file = "syndrome-grippal.csv"
data_file = "syndrome-grippal.csv"
if (!file.exists(data_file)) {
if (!file.exists(data_file)) {
...
@@ -52,6 +51,9 @@ This is the documentation of the data from [the download site](https://ns.sentiw
...
@@ -52,6 +51,9 @@ This is the documentation of the data from [the download site](https://ns.sentiw
### Lecture
### Lecture
The first line of the CSV file is a comment, which we ignore with `skip=1`.
```{r}
```{r}
data = read.csv(data_file, skip=1)
data = read.csv(data_file, 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