IDEAFilter_item {IDEAFilter}R Documentation

The server function for the IDEA filter item module

Description

Serves as a wrapper for shiny_data_filter_item and utilizes moduleSever() for a more modern implementation of the data item filter.

Usage

IDEAFilter_item(
  id,
  data,
  column_name = NULL,
  filters = list(),
  ...,
  col_subset = NULL,
  preselection = NULL,
  verbose = FALSE
)

Arguments

id

a module id name

data

a reactive expression returning a data.frame to use as the input to the filter item module

column_name

a value indicating the name of the column to be filtered

filters

a reactive expression containing the a list of filters passed as language types

...

placeholder for inclusion of additional parameters in future development

col_subset

a vector containing the list of allowable columns to filter on

preselection

a list that can be used to pre-populate the filter

verbose

a logical value indicating whether or not to print log statements out to the console

Value

a reactiveValues list of four reactive elements; (1) the code to filter a vector with the name of the specified data column, (2) a flag indicating when to remove this filter, (3) the append list of combining the 'filters' argument with (1), and (4) the column name of the 'data' used to create the item.


[Package IDEAFilter version 0.2.0 Index]