Generate a default name for a naryn filter
emr_filter.name(
src,
keepref = FALSE,
time.shift = NULL,
val = NULL,
expiration = NULL,
operator = "="
)
a default name for the filter
Given filter parameters, generate a name with the following format: "f_(src).kr(keepref).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"