diff --git a/module3/exo1/analyse-syndrome-grippal.Rmd b/module3/exo1/analyse-syndrome-grippal.Rmd index 53a3470df2a6cf1e92716fb709e3cf37a004981a..47d9b111c8ea505840b3a5bb5a1a6c2cdbadf39a 100644 --- a/module3/exo1/analyse-syndrome-grippal.Rmd +++ b/module3/exo1/analyse-syndrome-grippal.Rmd @@ -44,7 +44,10 @@ Voici l'explication des colonnes donnée sur le [sur le site d'origine](https:// | `geo_name` | Libellé de la zone géographique (ce libellé peut être modifié sans préavis) | La première ligne du fichier CSV est un commentaire, que nous ignorons en précisant `skip=1`. + ### Téléchargement + +Pour eviter les problèmes de changement d'url ou de format on télécharge le fichier de données en local. Pour ça on commence pas verifier si le fichier à déjà été téléchargé, si il ne l'a pas été on le téléchage avec `read.csv` et on le stocke en local avec `write.csv2`, cette dernière fonction permet de stocker un tableau de données au format csv à l'emplacement indiqué. ```{r} if (file.exists(path)==T){ @@ -52,6 +55,7 @@ if (file.exists(path)==T){ }else { data = read.csv(data_url, skip=1, header = T, sep = ",") write.csv2(data,path) + print("Le fichier a bien été importé") } ``` diff --git a/module3/exo1/analyse-syndrome-grippal.log b/module3/exo1/analyse-syndrome-grippal.log index ca04f2ad0682ca1e077efb3e8ec1075b8b8d183a..52cbdb47203fd6f2f135b22427e9691cd67262c6 100644 --- a/module3/exo1/analyse-syndrome-grippal.log +++ b/module3/exo1/analyse-syndrome-grippal.log @@ -1,4 +1,4 @@ -This is pdfTeX, Version 3.141592653-2.6-1.40.23 (TeX Live 2021/W32TeX) (preloaded format=pdflatex 2021.12.13) 13 DEC 2021 14:52 +This is pdfTeX, Version 3.141592653-2.6-1.40.23 (TeX Live 2021/W32TeX) (preloaded format=pdflatex 2021.12.13) 13 DEC 2021 15:01 entering extended mode restricted \write18 enabled. %&-line parsing enabled. @@ -674,137 +674,136 @@ Overfull \hbox (7.49777pt too wide) in paragraph at lines 208--209 {c:/Users/adminlocal/AppData/Roaming/TinyTeX/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] LaTeX Font Info: Font shape `T1/lmtt/bx/n' in size <10> not available -(Font) Font shape `T1/lmtt/b/n' tried instead on input line 221. +(Font) Font shape `T1/lmtt/b/n' tried instead on input line 231. -Overfull \hbox (74.99878pt too wide) in paragraph at lines 253--253 +Overfull \hbox (74.99878pt too wide) in paragraph at lines 264--264 []\T1/lmtt/m/n/10 ## week indicator inc inc_low inc_up inc100 inc100_low inc100_up geo_insee[] [] -Overfull \hbox (74.99878pt too wide) in paragraph at lines 253--253 +Overfull \hbox (74.99878pt too wide) in paragraph at lines 264--264 []\T1/lmtt/m/n/10 ## 1 202147 3 37236 31834 42638 56 48 64 FR[] [] -Overfull \hbox (74.99878pt too wide) in paragraph at lines 253--253 +Overfull \hbox (74.99878pt too wide) in paragraph at lines 264--264 []\T1/lmtt/m/n/10 ## 2 202146 3 30063 25306 34820 46 39 53 FR[] [] -Overfull \hbox (74.99878pt too wide) in paragraph at lines 253--253 +Overfull \hbox (74.99878pt too wide) in paragraph at lines 264--264 []\T1/lmtt/m/n/10 ## 3 202145 3 20364 16564 24164 31 25 37 FR[] [] -Overfull \hbox (74.99878pt too wide) in paragraph at lines 253--253 +Overfull \hbox (74.99878pt too wide) in paragraph at lines 264--264 []\T1/lmtt/m/n/10 ## 4 202144 3 18999 15042 22956 29 23 35 FR[] [] -Overfull \hbox (74.99878pt too wide) in paragraph at lines 253--253 +Overfull \hbox (74.99878pt too wide) in paragraph at lines 264--264 []\T1/lmtt/m/n/10 ## 5 202143 3 27040 21935 32145 41 33 49 FR[] [] -Overfull \hbox (74.99878pt too wide) in paragraph at lines 253--253 +Overfull \hbox (74.99878pt too wide) in paragraph at lines 264--264 []\T1/lmtt/m/n/10 ## 6 202142 3 28343 23382 33304 43 35 51 FR[] [] -Overfull \hbox (43.49887pt too wide) in paragraph at lines 276--276 +Overfull \hbox (43.49887pt too wide) in paragraph at lines 287--287 []\T1/lmtt/m/n/10 ## week indicator inc inc_low inc_up inc100 inc100_low inc100_up[] [] -Overfull \hbox (43.49887pt too wide) in paragraph at lines 276--276 +Overfull \hbox (43.49887pt too wide) in paragraph at lines 287--287 []\T1/lmtt/m/n/10 ## 1930 198449 3 101073 81684 120462 184 149 219[] [] -Overfull \hbox (43.49887pt too wide) in paragraph at lines 276--276 +Overfull \hbox (43.49887pt too wide) in paragraph at lines 287--287 []\T1/lmtt/m/n/10 ## 1931 198448 3 78620 60634 96606 143 110 176[] [] -Overfull \hbox (43.49887pt too wide) in paragraph at lines 276--276 +Overfull \hbox (43.49887pt too wide) in paragraph at lines 287--287 []\T1/lmtt/m/n/10 ## 1932 198447 3 72029 54274 89784 131 99 163[] [] -Overfull \hbox (43.49887pt too wide) in paragraph at lines 276--276 +Overfull \hbox (43.49887pt too wide) in paragraph at lines 287--287 []\T1/lmtt/m/n/10 ## 1933 198446 3 87330 67686 106974 159 123 195[] [] - -Overfull \hbox (43.49887pt too wide) in paragraph at lines 276--276 +[2] +Overfull \hbox (43.49887pt too wide) in paragraph at lines 287--287 []\T1/lmtt/m/n/10 ## 1934 198445 3 135223 101414 169032 246 184 308[] [] -Overfull \hbox (43.49887pt too wide) in paragraph at lines 276--276 +Overfull \hbox (43.49887pt too wide) in paragraph at lines 287--287 []\T1/lmtt/m/n/10 ## 1935 198444 3 68422 20056 116788 125 37 213[] [] -[2] -Overfull \hbox (80.24876pt too wide) in paragraph at lines 292--292 + +Overfull \hbox (80.24876pt too wide) in paragraph at lines 303--303 []\T1/lmtt/m/n/10 ## week indicator inc inc_low inc_up inc100 inc100_low inc100_up geo_insee[] [] -Overfull \hbox (80.24876pt too wide) in paragraph at lines 292--292 +Overfull \hbox (80.24876pt too wide) in paragraph at lines 303--303 []\T1/lmtt/m/n/10 ## 1699 198919 3 0 NA NA 0 NA NA FR[] [] -Overfull \hbox (32.9989pt too wide) in paragraph at lines 339--339 +Overfull \hbox (32.9989pt too wide) in paragraph at lines 350--350 []\T1/lmtt/m/n/10 ## Warning: le package 'parsedate' a été compilé avec la version R 4.1.2[] [] [3] -Underfull \hbox (badness 1521) in paragraph at lines 385--387 +Underfull \hbox (badness 1521) in paragraph at lines 396--398 []\T1/futs/m/n/10 C'est l'occasion pour faire une vérification : nos dates doivent être séparées [] - + File: analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-12-1.pdf Graphic file (type pdf) -Package pdftex.def Info: analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-12-1.pdf used on input line 409. +Package pdftex.def Info: analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-12-1.pdf used on input line 420. (pdftex.def) Requested size: 344.997pt x 238.84406pt. -[4 <./analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-12-1.pdf>] - +[4] + File: analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-13-1.pdf Graphic file (type pdf) -Package pdftex.def Info: analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-13-1.pdf used on input line 420. +Package pdftex.def Info: analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-13-1.pdf used on input line 431. (pdftex.def) Requested size: 344.997pt x 238.84406pt. -[5 <./analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-13-1.pdf>] - +[5 <./analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-12-1.pdf> <./analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-13-1.pdf>] [6] + File: analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-17-1.pdf Graphic file (type pdf) -Package pdftex.def Info: analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-17-1.pdf used on input line 495. +Package pdftex.def Info: analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-17-1.pdf used on input line 506. (pdftex.def) Requested size: 344.997pt x 238.84406pt. -[6 <./analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-17-1.pdf>] - + File: analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-19-1.pdf Graphic file (type pdf) -Package pdftex.def Info: analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-19-1.pdf used on input line 530. +Package pdftex.def Info: analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-19-1.pdf used on input line 541. (pdftex.def) Requested size: 344.997pt x 238.84406pt. -[7 <./analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-19-1.pdf>] (./analyse-syndrome-grippal.aux) +[7 <./analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-17-1.pdf>] [8 <./analyse-syndrome-grippal_files/figure-latex/unnamed-chunk-19-1.pdf>] (./analyse-syndrome-grippal.aux) Package rerunfilecheck Info: File `analyse-syndrome-grippal.out' has not changed. -(rerunfilecheck) Checksum: 000913143D32BA2AC65B8C0CAF293A2C;318. +(rerunfilecheck) Checksum: B338B7DF6CA0D73C52A4012F46A2B6CB;318. ) Here is how much of TeX's memory you used: - 13174 strings out of 480313 - 211408 string characters out of 5895359 - 521229 words of memory out of 5000000 - 30788 multiletter control sequences out of 15000+600000 + 13178 strings out of 480313 + 211466 string characters out of 5895359 + 518268 words of memory out of 5000000 + 30789 multiletter control sequences out of 15000+600000 477201 words of font info for 99 fonts, out of 8000000 for 9000 14 hyphenation exceptions out of 8191 60i,6n,63p,387b,476s stack positions out of 5000i,500n,10000p,200000b,80000s {c:/Users/adminlocal/AppData/Roaming/TinyTeX/texmf-dist/fonts/enc/dvips/lm/lm-ec.enc}{c:/Users/adminlocal/AppData/Roaming/TinyTeX/texmf-dist/fonts/enc/dvips/base/8r.enc} -Output written on analyse-syndrome-grippal.pdf (7 pages, 138721 bytes). +Output written on analyse-syndrome-grippal.pdf (8 pages, 139964 bytes). PDF statistics: - 124 PDF objects out of 1000 (max. 8388607) - 96 compressed objects within 1 object stream - 24 named destinations out of 1000 (max. 500000) + 132 PDF objects out of 1000 (max. 8388607) + 102 compressed objects within 2 object streams + 27 named destinations out of 1000 (max. 500000) 37 words of extra memory for PDF output out of 10000 (max. 10000000) diff --git a/module3/exo1/analyse-syndrome-grippal.pdf b/module3/exo1/analyse-syndrome-grippal.pdf index 4b78ed50d0e7c57c7a6fe4972e47926823db8be8..19774f3b4f212c39626553f2ebc452d3218b7c8a 100644 Binary files a/module3/exo1/analyse-syndrome-grippal.pdf and b/module3/exo1/analyse-syndrome-grippal.pdf differ