Skip to contents

Enriches DHS sf data with country names and domain metadata for Tableau-ready exports.

Usage

enrich_dhs_for_tableau(sf_data, var_col = "var", value_col = "value")

Arguments

sf_data

sf object from build_dhs_display_sf() or build_dhs_multi_var_sf().

var_col

Name of the variable column (default: "var").

value_col

Name of the value column (default: "value").

Value

Enriched sf object with country names and performance tags.

Examples

if (FALSE) { # \dontrun{
sf_enriched <- enrich_dhs_for_tableau(sf_multi)
} # }