emr_filter.name {naryn}R Documentation

Generate a default name for a naryn filter

Description

Generate a default name for a naryn filter

Usage

emr_filter.name(
  src,
  keepref = FALSE,
  time.shift = NULL,
  val = NULL,
  expiration = NULL,
  operator = "="
)

Arguments

src

source (track name, virtual track name or id-time table). Can be a vector of track names.

keepref

'TRUE' or 'FALSE'

time.shift

time shift and expansion for iterator time

val

selected values

expiration

expiration period

operator

operator for filtering. Accepts one of: "=", "<", "<=", ">", ">="

Details

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.

Value

a default name for the filter

See Also

emr_filter.create

Examples


emr_db.init_examples()
emr_filter.name("dense_track", time.shift = c(2, 4))

[Package naryn version 2.6.26 Index]