An error occurred while loading the file. Please try again.
-
unknown authored86994e53
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/map_so_ii.r
\encoding{UTF-8}
\name{map_so_ii}
\alias{map_so_ii}
\title{Plot a thematic map of so-ii}
\usage{
map_so_ii(
dataset,
dataset_legend = NULL,
theme = c("none", "collectivity", "catchment", "catnat", "clc", "hydro", "onrn",
"population"),
bar = TRUE,
path = NULL,
legend_theme = FALSE,
year,
detail,
...
)
}
\arguments{
\item{dataset}{sf objectf, data to be plotted}
\item{dataset_legend}{list of parameters to be passed to legend}
\item{theme}{character, choice for the theme (if any)}
\item{bar}{logical, should a bar be plotted for the dataset}
\item{path}{character, the name of the file to save the plot}
\item{legend_theme}{logical, should a legend be plotted for the theme}
\item{year}{character, the year chosen for some themes (catnat, population)}
\item{detail}{character, detail for theme, depends on theme. See details.}
\item{...}{some parameters that will be used by plot (from sf)}
}
\value{
Nothing useful.
}
\description{
Plot a thematic map of so-ii
}
\details{
\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 and
aggregated before plotting.}
\item{\strong{catchment}: detail must be chosen in "none", "1", "2", "3"
for levels of detail. If missing, "1" will be chosen.}
\item{\strong{collectivity}: detail must be chosen in "none", "syble",
"symbo", "epci" or "syndicate". If missing, "none" will be chosen,
and only the boundaries of collectivities are plotted.}
\item{\strong{hydro}: detail must be chosen in "none", "1", "2", "3" for
levels of detail or "canal", "river", "waterbody" for types of
hydrographic elements. If missing, "none" will be chosen, and
everything is plotted.}
\item{\strong{onrn}: detail must be chosen in "n_catnat", "freq_sin",
"cost", "cost_hab", "cost_mean", "ratio", "balance", "ppri_year".}
}
}
\subsection{year specification}{
For the specification of year, it depends on the theme chosen.
\itemize{
\item{\strong{catnat}: year corresponds to the year of data. If missing,
nothing is plotted.}
7172737475767778798081828384858687
\item{\strong{population}: year corresponds to the year of data. If
missing, last available year is plotted.}
}
}
}
\examples{
\dontrun{
# To be added (soon)
}
}
\author{
Frédéric Grelot
David Nortes Martinez
}