unfold_mapping {teal}R Documentation

Explicitly enumerate global filters.

Description

Transform module mapping such that global filters are explicitly specified for every module.

Usage

unfold_mapping(mapping, module_names)

Arguments

mapping

(named list) as stored in mapping parameter of teal_slices

module_names

(character) vector containing names of all modules in the app

Value

A named_list with one element per module, each element containing all filters applied to that module.


[Package teal version 0.15.2 Index]