• Grelot Frederic's avatar
    catnat, population, clc · 9dbbbaeb
    Grelot Frederic authored
    - catnat dataset remplace gaspar dataset
    	- passage en array pour garder les types d'aléa
    - estimate_catnat_freq incluse dans la librairie
    - population dataset pour la population
    - clc_color dataset pour les couleurs et label de clc
    - map_so_ii inclus population, gère les légendes pour les thèmes
    - dossier script hors librairie por garder la trace des mises à jour des données (doit aller dand floodam.data)
    
    0 errors :heavy_check_mark: | 0 warnings :heavy_check_mark: | 1 note :heavy_multiplication_x:
    Mais la note concerne le temps...
    9dbbbaeb
map_so_ii.Rd 1.12 KiB
% 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 = "clc",
  bar = TRUE,
  path = NULL,
  legend_theme = FALSE,
  year,
  hazard,
  ...
\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{hazard}{character, type of hazard chosen (if any). 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{
hazard must be chosen in c("inondation", "submersion", "nappe").
\examples{
\dontrun{
# To be added (soon)
\author{
Frédéric Grelot