From f1c24d5d32066ef8b3d230cfd0b404effd10c9d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Grelot?= <frederic.grelot@irstea.fr>
Date: Wed, 27 Apr 2022 09:00:02 +0200
Subject: [PATCH] MAJ site

---
 docs/articles/download-data.html |  2 +-
 docs/articles/gaspar_fr.html     | 10 +++++-----
 docs/pkgdown.yml                 |  2 +-
 docs/reference/add_journal.html  | 24 ++++++++++++------------
 docs/reference/get.archive.html  | 27 +++++++++++++++++++++++++++
 docs/reference/to.logical.html   |  4 ++--
 docs/reference/treat.na.html     |  6 +++---
 7 files changed, 51 insertions(+), 24 deletions(-)

diff --git a/docs/articles/download-data.html b/docs/articles/download-data.html
index 2e98135..eb557c1 100644
--- a/docs/articles/download-data.html
+++ b/docs/articles/download-data.html
@@ -87,7 +87,7 @@
       <h1 data-toc-skip>How to use floodam.data for downloads</h1>
                         <h4 data-toc-skip class="author">Frédéric Grelot</h4>
             
-            <h4 data-toc-skip class="date">2022-04-25</h4>
+            <h4 data-toc-skip class="date">2022-04-26</h4>
       
       
       <div class="hidden name"><code>download-data.Rmd</code></div>
diff --git a/docs/articles/gaspar_fr.html b/docs/articles/gaspar_fr.html
index 185f6b7..95d6f3b 100644
--- a/docs/articles/gaspar_fr.html
+++ b/docs/articles/gaspar_fr.html
@@ -172,8 +172,8 @@
 </tbody>
 </table>
 <p>Le type de risque (“num_risque_jo” dans la nomemclature d’oririgine et ‘catnat’ dans la nomenclature après traitement) est codifié selon les deux premières colonnes du tableau @ref(tab:catnat-classification). La variable ‘catnat’ correspond à la codification du type de risque utilisé lors de la publication dans le journal officiel.</p>
-<div id="htmlwidget-c296626808d0ac4faca1" style="width:100%;height:auto;" class="datatables html-widget"></div>
-<script type="application/json" data-for="htmlwidget-c296626808d0ac4faca1">{"x":{"filter":"none","vertical":false,"caption":"<caption>Classification des événements pour le thème catnat<\/caption>","data":[["ALS","AVA","CMV","COB","DIV","ECB","EFA","VOL","GLT","GER","GET","GRL","ICB","IRN","LVT","MVT","PDN","RAZ","SEC","SEI","TMP","VCY"],["Algues Sargasses","Avalanche","Chocs Mécaniques liés à l'action des Vagues","Coulée de Boue","Divers","Eboulement et/ou Chute de Blocs","Effondrement et/ou Affaisement","Eruption Volcanique","Glissement de Terrain","Glissement et Eboulement Rocheux","Glissement et Effondrement de Terrain","Grêle","Inondations et/ou Coulées de Boue","Inondations Remontée Nappe","Lave Torrentielle","Mouvement de Terrain","Poids de la Neige","Raz de Marée","Sécheresse","Secousse Sismique","Tempête","Vents Cycloniques"],[false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,false,false,false,false,false,false,false],[false,false,false,true,false,false,false,false,false,false,false,false,true,false,false,false,false,false,false,false,false,false],[false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,false,false,false,false,false,false],[false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,false,false,false,false,false],[false,false,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,false,false],[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false]],"container":"<table class=\"display\">\n  <thead>\n    <tr>\n      <th>catnat<\/th>\n      <th>catnat_label_fr<\/th>\n      <th>flooding<\/th>\n      <th>mudslide<\/th>\n      <th>water_table<\/th>\n      <th>torrential<\/th>\n      <th>submersion<\/th>\n      <th>hurricane<\/th>\n    <\/tr>\n  <\/thead>\n<\/table>","options":{"dom":"tip","columnDefs":[],"order":[],"autoWidth":false,"orderClasses":false}},"evals":[],"jsHooks":[]}</script>
+<div id="htmlwidget-cc07199431614dd5e465" style="width:100%;height:auto;" class="datatables html-widget"></div>
+<script type="application/json" data-for="htmlwidget-cc07199431614dd5e465">{"x":{"filter":"none","vertical":false,"caption":"<caption>Classification des événements pour le thème catnat<\/caption>","data":[["ALS","AVA","CMV","COB","DIV","ECB","EFA","VOL","GLT","GER","GET","GRL","ICB","IRN","LVT","MVT","PDN","RAZ","SEC","SEI","TMP","VCY"],["Algues Sargasses","Avalanche","Chocs Mécaniques liés à l'action des Vagues","Coulée de Boue","Divers","Eboulement et/ou Chute de Blocs","Effondrement et/ou Affaisement","Eruption Volcanique","Glissement de Terrain","Glissement et Eboulement Rocheux","Glissement et Effondrement de Terrain","Grêle","Inondations et/ou Coulées de Boue","Inondations Remontée Nappe","Lave Torrentielle","Mouvement de Terrain","Poids de la Neige","Raz de Marée","Sécheresse","Secousse Sismique","Tempête","Vents Cycloniques"],[false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,false,false,false,false,false,false,false],[false,false,false,true,false,false,false,false,false,false,false,false,true,false,false,false,false,false,false,false,false,false],[false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,false,false,false,false,false,false],[false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,false,false,false,false,false],[false,false,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,false,false],[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false]],"container":"<table class=\"display\">\n  <thead>\n    <tr>\n      <th>catnat<\/th>\n      <th>catnat_label_fr<\/th>\n      <th>flooding<\/th>\n      <th>mudslide<\/th>\n      <th>water_table<\/th>\n      <th>torrential<\/th>\n      <th>submersion<\/th>\n      <th>hurricane<\/th>\n    <\/tr>\n  <\/thead>\n<\/table>","options":{"dom":"tip","columnDefs":[],"order":[],"autoWidth":false,"orderClasses":false}},"evals":[],"jsHooks":[]}</script>
 </div>
 <div class="section level2">
 <h2 id="thème-pprn">Thème “pprn”<a class="anchor" aria-label="anchor" href="#th%C3%A8me-pprn"></a>
@@ -365,8 +365,8 @@
 </tbody>
 </table>
 <p>Le type de risque (“num_risque” dans la nomemclature d’oririgine et “hazard” dans la nomenclature après traitement) est codifié selon les deux premières colonnes du tableau @ref(tab:pprn-classification).</p>
-<div id="htmlwidget-6904b2f96753ed07d77a" style="width:100%;height:auto;" class="datatables html-widget"></div>
-<script type="application/json" data-for="htmlwidget-6904b2f96753ed07d77a">{"x":{"filter":"none","vertical":false,"caption":"<caption>Classification des événements pour le thème pprn<\/caption>","data":[["180","140","134","143","183","147","130","285","135","157","158","159","166","131","286","152","153","194","195","288","252","129","160","168","167"],["Par une crue à débordement lent de cours d'eau","Inondation","Mouvement de terrain","Eboulement ou chutes de pierres et de blocs","Par une crue torrentielle ou à montée rapide de cours d'eau","Glissement de terrain","Par ruissellement et coulée de boue","Par remontées de nappes naturelles","Affaissements et effondrements (cavités souterraines hors mines)","Tassements différentiels","Séisme","Avalanche","Feu de forêt","Par lave torrentielle (torrent et talweg)","Par submersion marine","Avancée dunaire","Recul du trait de côte et de falaises","Zones marécageuses","Suffosion","Glissements ou mouvements de pente","Effondrements généralisés","Risques naturels","Eruption volcanique","Cyclone/ouragan (vent)","Phénomène lié à l'atmosphère"],[true,true,false,false,false,false,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,false],[false,false,false,false,false,false,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,false],[false,false,false,false,false,false,false,true,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,false],[false,false,false,false,true,false,false,false,false,false,false,false,false,true,false,false,false,false,false,false,false,true,false,false,false],[false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,false,false,false,false,true,false,false,false],[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,true,false]],"container":"<table class=\"display\">\n  <thead>\n    <tr>\n      <th>hazard<\/th>\n      <th>hazard_label_fr<\/th>\n      <th>flooding<\/th>\n      <th>mudslide<\/th>\n      <th>water_table<\/th>\n      <th>torrential<\/th>\n      <th>submersion<\/th>\n      <th>hurricane<\/th>\n    <\/tr>\n  <\/thead>\n<\/table>","options":{"dom":"tip","columnDefs":[],"order":[],"autoWidth":false,"orderClasses":false}},"evals":[],"jsHooks":[]}</script>
+<div id="htmlwidget-a5c6b22be486bb2146f4" style="width:100%;height:auto;" class="datatables html-widget"></div>
+<script type="application/json" data-for="htmlwidget-a5c6b22be486bb2146f4">{"x":{"filter":"none","vertical":false,"caption":"<caption>Classification des événements pour le thème pprn<\/caption>","data":[["180","140","134","143","183","147","130","285","135","157","158","159","166","131","286","152","153","194","195","288","252","129","160","168","167"],["Par une crue à débordement lent de cours d'eau","Inondation","Mouvement de terrain","Eboulement ou chutes de pierres et de blocs","Par une crue torrentielle ou à montée rapide de cours d'eau","Glissement de terrain","Par ruissellement et coulée de boue","Par remontées de nappes naturelles","Affaissements et effondrements (cavités souterraines hors mines)","Tassements différentiels","Séisme","Avalanche","Feu de forêt","Par lave torrentielle (torrent et talweg)","Par submersion marine","Avancée dunaire","Recul du trait de côte et de falaises","Zones marécageuses","Suffosion","Glissements ou mouvements de pente","Effondrements généralisés","Risques naturels","Eruption volcanique","Cyclone/ouragan (vent)","Phénomène lié à l'atmosphère"],[true,true,false,false,false,false,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,false],[false,false,false,false,false,false,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,false],[false,false,false,false,false,false,false,true,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,false],[false,false,false,false,true,false,false,false,false,false,false,false,false,true,false,false,false,false,false,false,false,true,false,false,false],[false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,false,false,false,false,true,false,false,false],[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,true,false]],"container":"<table class=\"display\">\n  <thead>\n    <tr>\n      <th>hazard<\/th>\n      <th>hazard_label_fr<\/th>\n      <th>flooding<\/th>\n      <th>mudslide<\/th>\n      <th>water_table<\/th>\n      <th>torrential<\/th>\n      <th>submersion<\/th>\n      <th>hurricane<\/th>\n    <\/tr>\n  <\/thead>\n<\/table>","options":{"dom":"tip","columnDefs":[],"order":[],"autoWidth":false,"orderClasses":false}},"evals":[],"jsHooks":[]}</script>
 </div>
 </div>
 <div class="section level1">
@@ -408,7 +408,7 @@
 <span class="fu"><a href="../reference/download_gaspar.html">download_gaspar</a></span><span class="op">(</span><span class="va">destination</span><span class="op">)</span>
 <span class="fu"><a href="../reference/download_gaspar.html">download_gaspar</a></span><span class="op">(</span><span class="va">destination</span>, origin <span class="op">=</span> <span class="st">"cquest"</span><span class="op">)</span>
 <span class="fu"><a href="../reference/download_gaspar.html">download_gaspar</a></span><span class="op">(</span><span class="va">destination</span>, origin <span class="op">=</span> <span class="st">"opendatarchives"</span><span class="op">)</span></code></pre></div>
-<p>Comme il n’y aucune indication de la version de la base de donnée téléchargée, le téléchargement se fait dans un sous-dossier du chemin indiqué dans le paramètre “destination” indiquant le jour du téléchargement. Les téléchargements du chunk précédent auraient par exemple été réalisés dans le dossier gaspar/download/2022-04-25.</p>
+<p>Comme il n’y aucune indication de la version de la base de donnée téléchargée, le téléchargement se fait dans un sous-dossier du chemin indiqué dans le paramètre “destination” indiquant le jour du téléchargement. Les téléchargements du chunk précédent auraient par exemple été réalisés dans le dossier gaspar/download/2022-04-26.</p>
 </div>
 <div class="section level2">
 <h2 id="adaptation-des-données">Adaptation des données<a class="anchor" aria-label="anchor" href="#adaptation-des-donn%C3%A9es"></a>
diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml
index 6acb255..f65c414 100644
--- a/docs/pkgdown.yml
+++ b/docs/pkgdown.yml
@@ -6,5 +6,5 @@ articles:
   bdtopo_fr: bdtopo_fr.html
   download-data: download-data.html
   gaspar_fr: gaspar_fr.html
-last_built: 2022-04-25T08:36Z
+last_built: 2022-04-26T14:41Z
 
diff --git a/docs/reference/add_journal.html b/docs/reference/add_journal.html
index d19d672..c0e150f 100644
--- a/docs/reference/add_journal.html
+++ b/docs/reference/add_journal.html
@@ -139,23 +139,23 @@ sent with the whole information (start, task, status, elapsed).</p>
 <span class="r-in"><span class="va">journal</span> <span class="op">=</span> <span class="fu">add_journal</span><span class="op">(</span><span class="va">journal</span>, status <span class="op">=</span> <span class="st">"Done"</span>, id <span class="op">=</span> <span class="fl">1</span><span class="op">)</span></span>
 <span class="r-in"><span class="va">journal</span></span>
 <span class="r-in"><span class="op">}</span></span>
-<span class="r-msg co"><span class="r-pr">#&gt;</span> 2022-04-25 10:36:40: [1] maintain gaspar with floodam.data (0.9.24.0)...</span>
+<span class="r-msg co"><span class="r-pr">#&gt;</span> 2022-04-26 16:41:59: [1] maintain gaspar with floodam.data (0.9.24.0)...</span>
 <span class="r-msg co"><span class="r-pr">#&gt;</span> </span>
-<span class="r-msg co"><span class="r-pr">#&gt;</span> 2022-04-25 10:36:50: [2] download_gaspar...</span>
+<span class="r-msg co"><span class="r-pr">#&gt;</span> 2022-04-26 16:42:09: [2] download_gaspar...</span>
 <span class="r-msg co"><span class="r-pr">#&gt;</span> </span>
-<span class="r-msg co"><span class="r-pr">#&gt;</span> 2022-04-25 10:36:50: [3] adapt_gaspar...</span>
+<span class="r-msg co"><span class="r-pr">#&gt;</span> 2022-04-26 16:42:09: [3] adapt_gaspar...</span>
 <span class="r-msg co"><span class="r-pr">#&gt;</span> </span>
-<span class="r-msg co"><span class="r-pr">#&gt;</span> 2022-04-25 10:37:00: [4] alert_gaspar...</span>
+<span class="r-msg co"><span class="r-pr">#&gt;</span> 2022-04-26 16:42:19: [4] alert_gaspar...</span>
 <span class="r-msg co"><span class="r-pr">#&gt;</span> </span>
-<span class="r-msg co"><span class="r-pr">#&gt;</span> 2022-04-25 10:36:50: [2] download_gaspar... Done (00:00:00:10.01)</span>
-<span class="r-msg co"><span class="r-pr">#&gt;</span> 2022-04-25 10:36:50: [3] adapt_gaspar... Done (00:00:00:20.02)</span>
-<span class="r-msg co"><span class="r-pr">#&gt;</span> 2022-04-25 10:37:00: [4] alert_gaspar... Done (00:00:00:10.01)</span>
-<span class="r-msg co"><span class="r-pr">#&gt;</span> 2022-04-25 10:36:40: [1] maintain gaspar with floodam.data (0.9.24.0)... Done (00:00:00:30.04)</span>
+<span class="r-msg co"><span class="r-pr">#&gt;</span> 2022-04-26 16:42:09: [2] download_gaspar... Done (00:00:00:10.01)</span>
+<span class="r-msg co"><span class="r-pr">#&gt;</span> 2022-04-26 16:42:09: [3] adapt_gaspar... Done (00:00:00:20.02)</span>
+<span class="r-msg co"><span class="r-pr">#&gt;</span> 2022-04-26 16:42:19: [4] alert_gaspar... Done (00:00:00:10.01)</span>
+<span class="r-msg co"><span class="r-pr">#&gt;</span> 2022-04-26 16:41:59: [1] maintain gaspar with floodam.data (0.9.24.0)... Done (00:00:00:30.04)</span>
 <span class="r-out co"><span class="r-pr">#&gt;</span>                 start                 end</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 1 2022-04-25 10:36:40 2022-04-25 10:37:10</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 2 2022-04-25 10:36:50 2022-04-25 10:37:00</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 3 2022-04-25 10:36:50 2022-04-25 10:37:10</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 4 2022-04-25 10:37:00 2022-04-25 10:37:10</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 1 2022-04-26 16:41:59 2022-04-26 16:42:29</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 2 2022-04-26 16:42:09 2022-04-26 16:42:19</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 3 2022-04-26 16:42:09 2022-04-26 16:42:29</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 4 2022-04-26 16:42:19 2022-04-26 16:42:29</span>
 <span class="r-out co"><span class="r-pr">#&gt;</span>                                           task status        elapsed</span>
 <span class="r-out co"><span class="r-pr">#&gt;</span> 1 maintain gaspar with floodam.data (0.9.24.0)   Done 00:00:00:30.04</span>
 <span class="r-out co"><span class="r-pr">#&gt;</span> 2                              download_gaspar   Done 00:00:00:10.01</span>
diff --git a/docs/reference/get.archive.html b/docs/reference/get.archive.html
index 5706538..a6ee70c 100644
--- a/docs/reference/get.archive.html
+++ b/docs/reference/get.archive.html
@@ -113,8 +113,35 @@ names whose date pertain to <code>create.date(date)</code> are kept, possibly no
     <div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span class="va">index</span> <span class="op">=</span> <span class="fu"><a href="read.url.html">read.url</a></span><span class="op">(</span><span class="st">"http://data.cquest.org/registre_parcellaire_graphique/2010"</span><span class="op">)</span></span>
 <span class="r-in"><span class="va">file_list</span> <span class="op">=</span> <span class="fu">get.archive</span><span class="op">(</span><span class="va">index</span><span class="op">)</span></span>
 <span class="r-in"><span class="fu">get.archive</span><span class="op">(</span><span class="va">index</span>, date <span class="op">=</span> <span class="st">"2010"</span><span class="op">)</span></span>
+<span class="r-out co"><span class="r-pr">#&gt;</span>  [1] "RPG_2010_001.zip" "RPG_2010_002.zip" "RPG_2010_003.zip" "RPG_2010_004.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span>  [5] "RPG_2010_005.zip" "RPG_2010_006.zip" "RPG_2010_007.zip" "RPG_2010_008.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span>  [9] "RPG_2010_009.zip" "RPG_2010_010.zip" "RPG_2010_011.zip" "RPG_2010_012.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [13] "RPG_2010_013.zip" "RPG_2010_014.zip" "RPG_2010_015.zip" "RPG_2010_016.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [17] "RPG_2010_017.zip" "RPG_2010_018.zip" "RPG_2010_019.zip" "RPG_2010_021.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [21] "RPG_2010_022.zip" "RPG_2010_023.zip" "RPG_2010_024.zip" "RPG_2010_025.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [25] "RPG_2010_026.zip" "RPG_2010_027.zip" "RPG_2010_028.zip" "RPG_2010_029.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [29] "RPG_2010_02A.zip" "RPG_2010_02B.zip" "RPG_2010_030.zip" "RPG_2010_031.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [33] "RPG_2010_032.zip" "RPG_2010_033.zip" "RPG_2010_034.zip" "RPG_2010_035.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [37] "RPG_2010_036.zip" "RPG_2010_037.zip" "RPG_2010_038.zip" "RPG_2010_039.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [41] "RPG_2010_040.zip" "RPG_2010_041.zip" "RPG_2010_042.zip" "RPG_2010_043.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [45] "RPG_2010_044.zip" "RPG_2010_045.zip" "RPG_2010_046.zip" "RPG_2010_047.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [49] "RPG_2010_048.zip" "RPG_2010_049.zip" "RPG_2010_050.zip" "RPG_2010_051.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [53] "RPG_2010_052.zip" "RPG_2010_053.zip" "RPG_2010_054.zip" "RPG_2010_055.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [57] "RPG_2010_056.zip" "RPG_2010_057.zip" "RPG_2010_058.zip" "RPG_2010_059.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [61] "RPG_2010_060.zip" "RPG_2010_061.zip" "RPG_2010_062.zip" "RPG_2010_063.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [65] "RPG_2010_064.zip" "RPG_2010_065.zip" "RPG_2010_066.zip" "RPG_2010_067.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [69] "RPG_2010_068.zip" "RPG_2010_069.zip" "RPG_2010_070.zip" "RPG_2010_071.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [73] "RPG_2010_072.zip" "RPG_2010_073.zip" "RPG_2010_074.zip" "RPG_2010_076.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [77] "RPG_2010_077.zip" "RPG_2010_078.zip" "RPG_2010_079.zip" "RPG_2010_080.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [81] "RPG_2010_081.zip" "RPG_2010_082.zip" "RPG_2010_083.zip" "RPG_2010_084.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [85] "RPG_2010_085.zip" "RPG_2010_086.zip" "RPG_2010_087.zip" "RPG_2010_088.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [89] "RPG_2010_089.zip" "RPG_2010_090.zip" "RPG_2010_091.zip" "RPG_2010_093.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [93] "RPG_2010_094.zip" "RPG_2010_095.zip"</span>
 <span class="r-in"><span class="fu">get.archive</span><span class="op">(</span><span class="va">index</span>, version <span class="op">=</span> <span class="st">"34"</span>, date <span class="op">=</span> <span class="st">"2010"</span><span class="op">)</span></span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [1] "RPG_2010_034.zip"</span>
 <span class="r-in"><span class="fu">get.archive</span><span class="op">(</span><span class="va">index</span>, version <span class="op">=</span> <span class="fl">30</span><span class="op">:</span><span class="fl">35</span><span class="op">)</span></span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [1] "RPG_2010_030.zip" "RPG_2010_031.zip" "RPG_2010_032.zip" "RPG_2010_033.zip"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> [5] "RPG_2010_034.zip" "RPG_2010_035.zip"</span>
 <span class="r-in"></span>
 <span class="r-in"><span class="va">index</span> <span class="op">=</span> <span class="fu"><a href="read.url.html">read.url</a></span><span class="op">(</span><span class="st">"http://data.cquest.org/geo_sirene/v2019/last/dep"</span><span class="op">)</span></span>
 <span class="r-in"><span class="va">file_list</span> <span class="op">=</span> <span class="fu">get.archive</span><span class="op">(</span><span class="va">index</span>, <span class="st">"gz"</span>, <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"geo_siret_34"</span>, <span class="st">"geo_siret_83"</span><span class="op">)</span><span class="op">)</span></span>
diff --git a/docs/reference/to.logical.html b/docs/reference/to.logical.html
index 57ff690..faeb903 100644
--- a/docs/reference/to.logical.html
+++ b/docs/reference/to.logical.html
@@ -96,9 +96,9 @@ Use a modality for TRUE and onther for FALSE</h1>
     <h2>Examples</h2>
     <div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span class="va">x</span> <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"red"</span>, <span class="st">"blue"</span><span class="op">)</span>, <span class="fl">10</span>, replace <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span>
 <span class="r-in"><span class="fu">floodam.data</span><span class="fu">:::</span><span class="fu">to.logical</span><span class="op">(</span><span class="va">x</span>, <span class="st">"red"</span>, <span class="st">"blue"</span><span class="op">)</span></span>
-<span class="r-out co"><span class="r-pr">#&gt;</span>  [1]  TRUE FALSE FALSE  TRUE  TRUE FALSE  TRUE FALSE  TRUE FALSE</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span>  [1] FALSE FALSE FALSE  TRUE  TRUE  TRUE  TRUE  TRUE FALSE FALSE</span>
 <span class="r-in"><span class="fu">floodam.data</span><span class="fu">:::</span><span class="fu">to.logical</span><span class="op">(</span><span class="va">x</span>, <span class="st">"red"</span>, <span class="st">"green"</span><span class="op">)</span></span>
-<span class="r-out co"><span class="r-pr">#&gt;</span>  [1] TRUE   NA   NA TRUE TRUE   NA TRUE   NA TRUE   NA</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span>  [1]   NA   NA   NA TRUE TRUE TRUE TRUE TRUE   NA   NA</span>
 </code></pre></div>
     </div>
   </div>
diff --git a/docs/reference/treat.na.html b/docs/reference/treat.na.html
index 21766ee..821d2a3 100644
--- a/docs/reference/treat.na.html
+++ b/docs/reference/treat.na.html
@@ -86,11 +86,11 @@
     <h2>Examples</h2>
     <div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span class="va">x</span> <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"red"</span>, <span class="st">"blue"</span><span class="op">)</span>, <span class="fl">10</span>, replace <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span>
 <span class="r-in"><span class="fu">floodam.data</span><span class="fu">:::</span><span class="fu">treat.na</span><span class="op">(</span><span class="va">x</span>, <span class="st">"red"</span><span class="op">)</span></span>
-<span class="r-out co"><span class="r-pr">#&gt;</span>  [1] "blue" NA     NA     "blue" NA     "blue" "blue" "blue" "blue" "blue"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span>  [1] "blue" NA     NA     "blue" "blue" NA     NA     "blue" "blue" NA    </span>
 <span class="r-in"><span class="fu">floodam.data</span><span class="fu">:::</span><span class="fu">treat.na</span><span class="op">(</span><span class="va">x</span>, <span class="st">"blue"</span><span class="op">)</span></span>
-<span class="r-out co"><span class="r-pr">#&gt;</span>  [1] NA    "red" "red" NA    "red" NA    NA    NA    NA    NA   </span>
+<span class="r-out co"><span class="r-pr">#&gt;</span>  [1] NA    "red" "red" NA    NA    "red" "red" NA    NA    "red"</span>
 <span class="r-in"><span class="fu">floodam.data</span><span class="fu">:::</span><span class="fu">treat.na</span><span class="op">(</span><span class="va">x</span>, <span class="st">"green"</span><span class="op">)</span></span>
-<span class="r-out co"><span class="r-pr">#&gt;</span>  [1] "blue" "red"  "red"  "blue" "red"  "blue" "blue" "blue" "blue" "blue"</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span>  [1] "blue" "red"  "red"  "blue" "blue" "red"  "red"  "blue" "blue" "red" </span>
 </code></pre></div>
     </div>
   </div>
-- 
GitLab