embed_cat_text_html {saros} | R Documentation |
Creates a structured list with text interpretations for a set of variables.
Description
Creates a structured list with text interpretations for a set of variables.
Usage
embed_cat_text_html(
data,
dep = NULL,
indep = NULL,
...,
mesos_group = NULL,
call = rlang::caller_env()
)
Arguments
data |
Survey data
A data frame (or a srvyr-object) with the columns specified in the chapter_overview 'dep_cat', etc columns. |
dep , indep |
Variable selections < Columns in |
... |
Dynamic dots Arguments forwarded to the corresponding functions that create the elements. |
mesos_group |
Specific group to compare with
Both the absolute and relative folderpaths are required, as strings. |
call |
Internal call
Both the absolute and relative folderpaths are required, as strings. |
Value
List
Examples
embed_cat_text_html(ex_survey,
dep = tidyselect::matches("e_"),
contents = c("intro", "mode_max", "value_max",
"value_min", "not_used_category", "mean_max", "mean_min"),
label_separator = " - ",
require_common_categories = FALSE,
n_top_bottom = 1,
showNA = "never",
descend = TRUE,
return_raw = TRUE,
hide_label_if_prop_below=0,
data_label = "count",
data_label_decimal_symbol = ",",
digits = 1)