filterQuo: Generate filter expression for filter inputs

View source: R/filterPanel.R

filterQuoR Documentation

Generate filter expression for filter inputs

Description

Return a quosure of the appropriate filter expression for the given input component type to use later on

Usage

filterQuo(col, values, type)

Arguments

col

Filter column in dt.

values

The filter value(s) in 'col'.

type

Type of input filter; only "range" is special and requires 'values' to be a 2-element vector.

Details

Most input components serve user selection/filter purposes; sideFilterUI creates these input ui while this function formulates the selection/filter expression from the input values. In order to compose the appropriate expression, we still need some info about the input component given by the parameter type, e.g. whether it is "range" for a range sliderInput or something else.


avucoh/DIVE documentation built on Aug. 29, 2023, 6:02 p.m.