Commit b3e1bb34 authored by Grelot Frederic's avatar Grelot Frederic :swimmer_tone5:
Browse files

Aide map_so_ii

Showing with 27 additions and 12 deletions
+27 -12
#' @title Plot a thematic map of so-ii #' @title Plot a thematic map of so-ii
#' #'
#' @details #' @details
#' For theme "collectivity" detail must be chosen in c("none", "syble", "symbo", #' \subsection{detail specification}{
#' "epci", "syndicate"). #' For the specification of detail, it depends on the theme chosen.
#' For theme "catnat", detail must be chosen in c("inondation", "submersion", #' \itemize{
#' "nappe"). #' \item{\strong{catnat}: detail must be chosen in "inondation", "submersion", or
#' For theme "hydro" detail must be chosen in "0", "1", "2", "3" or "canal". #' "nappe". If missing all type will be chosen.}
#' \item{\strong{collectivity}: detail must be chosen in "none", "syble", "symbo",
#' "epci" or "syndicate". If missing "none" will be chosen.}
#' \item{\strong{hydro}: detail must be chosen in "0", "1", "2", "3" or "canal".
#' If missing "0" will be chosen.}
#' }
#' }
#' #'
#' @param dataset sf objectf, data to be plotted #' @param dataset sf objectf, data to be plotted
#' @param dataset_legend list of parameters to be passed to legend #' @param dataset_legend list of parameters to be passed to legend
...@@ -14,7 +20,7 @@ ...@@ -14,7 +20,7 @@
#' @param path character, the name of the file to save the plot #' @param path character, the name of the file to save the plot
#' @param legend_theme logical, should a legend be plotted for the theme #' @param legend_theme logical, should a legend be plotted for the theme
#' @param year character, the year chosen for some themes (catnat, population) #' @param year character, the year chosen for some themes (catnat, population)
#' @param detail character, detail for theme, depends on theme #' @param detail character, detail for theme, depends on theme. See details.
#' @param ... some parameters that will be used by plot (from sf) #' @param ... some parameters that will be used by plot (from sf)
#' #'
#' @return Nothing useful. #' @return Nothing useful.
...@@ -23,6 +29,7 @@ ...@@ -23,6 +29,7 @@
#' #'
#' @encoding UTF-8 #' @encoding UTF-8
#' @author Frédéric Grelot #' @author Frédéric Grelot
#' @author David Nortes Martinez
#' #'
#' @examples #' @examples
#' #'
......
...@@ -32,7 +32,7 @@ map_so_ii( ...@@ -32,7 +32,7 @@ map_so_ii(
\item{year}{character, the year chosen for some themes (catnat, population)} \item{year}{character, the year chosen for some themes (catnat, population)}
\item{detail}{character, detail for theme, depends on theme} \item{detail}{character, detail for theme, depends on theme. See details.}
\item{...}{some parameters that will be used by plot (from sf)} \item{...}{some parameters that will be used by plot (from sf)}
} }
...@@ -43,11 +43,17 @@ Nothing useful. ...@@ -43,11 +43,17 @@ Nothing useful.
Plot a thematic map of so-ii Plot a thematic map of so-ii
} }
\details{ \details{
For theme "collectivity" detail must be chosen in c("none", "syble", "symbo", \subsection{detail specification}{
"epci", "syndicate"). For the specification of detail, it depends on the theme chosen.
For theme "catnat", detail must be chosen in c("inondation", "submersion", \itemize{
"nappe"). \item{\strong{catnat}: detail must be chosen in "inondation", "submersion", or
For theme "hydro" detail must be chosen in "0", "1", "2", "3" or "canal". "nappe". If missing all type will be chosen.}
\item{\strong{collectivity}: detail must be chosen in "none", "syble", "symbo",
"epci" or "syndicate". If missing "none" will be chosen.}
\item{\strong{hydro}: detail must be chosen in "0", "1", "2", "3" or "canal".
If missing "0" will be chosen.}
}
}
} }
\examples{ \examples{
...@@ -57,4 +63,6 @@ For theme "hydro" detail must be chosen in "0", "1", "2", "3" or "canal". ...@@ -57,4 +63,6 @@ For theme "hydro" detail must be chosen in "0", "1", "2", "3" or "canal".
} }
\author{ \author{
Frédéric Grelot Frédéric Grelot
David Nortes Martinez
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment