Planche synthèse IPR (notes, effectifs, métriques)

make_ipr_planche(
  yaml_path,
  station,
  annee_debut = 1950,
  annee_fin = as.numeric(format(Sys.Date(), "%Y")),
  indicateurs = c("DII", "DIO", "DIT", "DTI", "NEL", "NER", "NTE"),
  schema = "qe",
  titre = NULL,
  sous_titre = NULL,
  file_out = NULL,
  width = 29.7/2.54,
  height = 21/2.54,
  dpi = 300,
  n_last = 12
)

Arguments

yaml_path

Chemin du YAML de connexion

station

Code Sandre

annee_debut

Année de début (défaut 1950)

annee_fin

Année de fin (défaut = année courante)

indicateurs

Vecteur d'indicateurs pour les métriques

schema

Schéma SQL (défaut "qe")

titre

Titre principal (défaut: " — Synthèse IPR")

sous_titre

Sous-titre

file_out

Fichier PNG en sortie

width, height, dpi

Format du PNG

n_last

Nombre d'opérations (dates distinctes)

Value

Un ggplot/cowplot ou NULL