diff --git a/module3/exo1/influenza-like-illness-analysis.Rmd b/module3/exo1/influenza-like-illness-analysis.Rmd index 8047fa03d3d3cc003416749dd44be6adbb072d04..0b894a6eaaaf3be7b46f40fb5dd0d04f41a4fcdc 100644 --- a/module3/exo1/influenza-like-illness-analysis.Rmd +++ b/module3/exo1/influenza-like-illness-analysis.Rmd @@ -22,9 +22,7 @@ knitr::opts_chunk$set(echo = TRUE) ## Data preprocessing The data on the incidence of influenza-like illness are available from the Web site of the [Réseau Sentinelles](http://www.sentiweb.fr/). We download them as a file in CSV format, in which each line corresponds to a week in the observation period. Only the complete dataset, starting in 1984 and ending with a recent week, is available for download. The URL is: -```{r} -data_url = "http://www.sentiweb.fr/datasets/incidence-PAY-3.csv" -``` + This is the documentation of the data from [the download site](https://ns.sentiweb.fr/incidence/csv-schema-v1.json): @@ -45,7 +43,7 @@ This is the documentation of the data from [the download site](https://ns.sentiw The first line of the CSV file is a comment, which we ignore with `skip=1`. ```{r} -data = read.csv(data_url, skip=1) +data = read.csv("incidence-PAY-3.csv", skip=1,na.strings = "-") ``` Let's have a look at what we got: