filter_prepare_variables: Prepare a list of variables for filters

View source: R/filter_prepare_variables.R

filter_prepare_variablesR Documentation

Prepare a list of variables for filters

Description

Function creating the variable list serving as input to the function making filters.

Usage

filter_prepare_variables(preselection, filter_family, tags)

Arguments

preselection

Tibble. List of remaining documents after some prior selection.

filter_family

Character. Whether the filtering step is for "common_tags" "custom_tags", "ratings", "views", or "results".

tags

Tittle. Tags definitions.

Value

A tibble indicating the variables for which filters should be created, the associated input id, and the format of the filter. Used as input for filter_make_ui.

Author(s)

Nicolas Mangin

See Also

filter_make_ui

filter_tibble


NicolasJBM/teachR documentation built on April 12, 2025, 5:27 a.m.