filter_variables: Get the variables a filter operates on

View source: R/filter.R

filter_variablesR Documentation

Get the variables a filter operates on

Description

Returns the column name(s) a filter is bound to, regardless of whether the filter stores them in a single-variable property ('variable') or a multi-variable property ('variables').

Usage

filter_variables(filter)

Arguments

filter

S7 filter object.

Value

Character vector of variable (column) names. Empty when the filter declares no variables.


cohortBuilder documentation built on July 3, 2026, 9:07 a.m.