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

Aide map_so_ii

parent 898879c0
1 merge request!7Aide map_so_ii
Showing with 27 additions and 12 deletions
+27 -12
#' @title Plot a thematic map of so-ii
#'
#' @details
#' For theme "collectivity" detail must be chosen in c("none", "syble", "symbo",
#' "epci", "syndicate").
#' For theme "catnat", detail must be chosen in c("inondation", "submersion",
#' "nappe").
#' For theme "hydro" detail must be chosen in "0", "1", "2", "3" or "canal".
#' \subsection{detail specification}{
#' For the specification of detail, it depends on the theme chosen.
#' \itemize{
#' \item{\strong{catnat}: detail must be chosen in "inondation", "submersion", or
#' "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_legend list of parameters to be passed to legend
......@@ -14,7 +20,7 @@
#' @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 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)
#'
#' @return Nothing useful.
......@@ -23,6 +29,7 @@
#'
#' @encoding UTF-8
#' @author Frédéric Grelot
#' @author David Nortes Martinez
#'
#' @examples
#'
......
......@@ -32,7 +32,7 @@ map_so_ii(
\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)}
}
......@@ -43,11 +43,17 @@ Nothing useful.
Plot a thematic map of so-ii
}
\details{
For theme "collectivity" detail must be chosen in c("none", "syble", "symbo",
"epci", "syndicate").
For theme "catnat", detail must be chosen in c("inondation", "submersion",
"nappe").
For theme "hydro" detail must be chosen in "0", "1", "2", "3" or "canal".
\subsection{detail specification}{
For the specification of detail, it depends on the theme chosen.
\itemize{
\item{\strong{catnat}: detail must be chosen in "inondation", "submersion", or
"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{
......@@ -57,4 +63,6 @@ For theme "hydro" detail must be chosen in "0", "1", "2", "3" or "canal".
}
\author{
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