| tableau_sante | R Documentation |
Synthetise tous les indicateurs de sante disponibles en un seul tableau institutionnel. Produit un rapport comparable aux tableaux de bord DHS/MICS.
tableau_sante(
indicateurs,
pays = "Pays",
annee = as.integer(format(Sys.Date(), "%Y")),
source = NULL
)
indicateurs |
list – Liste nommee d'objets saf_anthropo ou saf_mortalite, ou tibbles de vaccination/accouchements |
pays |
character – Nom du pays. Defaut : "Pays" |
annee |
integer – Annee. Defaut : annee courante |
source |
character ou NULL – Source des donnees. Defaut : NULL |
Un tibble institutionnel
set.seed(42)
n <- 400
enfants <- data.frame(
haz = rnorm(n,-1.2,1.3), waz = rnorm(n,-1.0,1.2),
poids = runif(n,0.8,1.3)
)
r1 <- suppressMessages(
retard_croissance(enfants, var_taille_age_z="haz", poids="poids"))
r2 <- suppressMessages(
insuffisance_ponderale(enfants, var_poids_age_z="waz", poids="poids"))
tableau_sante(list(stunting=r1, underweight=r2),
pays="Centrafrique", annee=2026L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.