R/plot_ipr_histogram.R
plot_ipr_histogram.RdHistogramme IPR par date d'opération (sécurisé)
plot_ipr_histogram(
yaml_path,
station,
annee_debut,
annee_fin = as.numeric(format(Sys.Date(), "%Y")),
schema = "qe",
title = "Notes IPR",
bar_width = 0.9,
n_last = 12
)Chemin du YAML de connexion Postgres
Code Sandre de la station (ex. "04199200")
Année de début
Année de fin (défaut = année courante)
Schéma SQL (défaut "qe")
Titre du graphique
Largeur des barres
Nombre maximum de campagnes (dates distinctes)
Un objet ggplot2