View source: R/harmonisation_geo.R
| rapport_harmonisation | R Documentation |
Genere un rapport complet sur l'harmonisation geographique : zones appariees, non appariees, ambigues. Format institutionnel conforme aux standards IHSN/PARIS21.
rapport_harmonisation(
donnees,
var_zone,
reference,
var_ref = "nom_local",
pays = "Pays",
annee = as.integer(format(Sys.Date(), "%Y"))
)
donnees |
data.frame – Donnees source |
var_zone |
character – Variable zone |
reference |
data.frame ou saf_concordance – Reference geographique |
var_ref |
character – Variable zone de reference. Defaut : "nom_local" |
pays |
character – Nom du pays. Defaut : "Pays" |
annee |
integer – Annee. Defaut : annee courante |
Un tibble de rapport d'harmonisation
donnees <- data.frame(
region = c("Bangui","Ombella-Mpoko","Kemo","Zone inconnue"),
stringsAsFactors = FALSE
)
ref <- data.frame(
nom_local = c("Bangui","Ombella-M'Poko","Kemo","Bamingui-Bangoran"),
stringsAsFactors = FALSE
)
rapport_harmonisation(donnees, "region", ref, pays="RCA", annee=2026L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.