Filter data based on condition
only if an input var is not NULL
filterIfNotNull(data, var, condition)
Arguments
data |
:: tibble. data |
var |
:: character vector | NULL |
condition |
:: an expression to evaluate in
the context of the data |
Value
tibble. filtered data