Histogramme des faciès (Courant / Plat / Profond)

plot_facies_importance(
  yaml_path,
  code_station = NULL,
  code_point_prelevement_aspe = NULL,
  annee_debut = NULL,
  annee_fin = lubridate::year(Sys.Date()),
  n_last = 12
)

Arguments

yaml_path

Chemin YAML

code_station

Code Sandre de la station (ou NULL si code_point_prelevement_aspe fourni)

code_point_prelevement_aspe

Code du point ASPE (ou NULL si code_station fourni)

annee_debut

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

annee_fin

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

n_last

Nombre d'opérations (dates distinctes) à afficher

Value

Un ggplot2 (ou NULL si aucune donnée)

Examples

if (FALSE) { # \dontrun{
plot_facies_importance(".../config.yml", code_station = "04207400", annee_debut = 1950, n_last = 12)
} # }