View source: R/makeme_helpers.R
| process_global_indep_categories | R Documentation |
Internal helper function that applies global hiding logic to independent variable categories based on the hide_for_all_crowds_if_hidden_for_crowd setting.
process_global_indep_categories(
kept_indep_cats_list,
hide_for_all_crowds_if_hidden_for_crowd
)
kept_indep_cats_list |
Named list of kept independent categories for each crowd |
|
Character vector of crowd identifiers that determine global category exclusions |
Modified kept_indep_cats_list with global hiding logic applied:
For crowds not in hide_for_all_crowds_if_hidden_for_crowd: only categories that were kept in the priority crowds are retained
For priority crowds: original category lists are preserved
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.