Generate a default name for a naryn filter
emr_filter.name(
src,
keepref = FALSE,
time.shift = NULL,
val = NULL,
expiration = NULL,
operator = "="
)
source (track name, virtual track name or id-time table). Can be a vector of track names.
'TRUE' or 'FALSE'
time shift and expansion for iterator time
selected values
expiration period
operator for filtering. Accepts one of: "=", "<", "<=", ">", ">="
a default name for the filter
Given filter parameters, generate a name with the following format: "f_src.krkeepref.vals_val.ts_time.shift.exp_expiration.op_operator" Where for 'val' and 'time.shift' the values are separated by an underscore.
If time.shift
, val
or expiration
are
NULL
- their section would not appear in the generated name.
emr_db.init_examples()
#> NULL
emr_filter.name("dense_track", time.shift = c(2, 4))
#> [1] "f_dense_track.krF.ts_2_4"