Returns a list of named filters.

emr_filter.ls(
  pattern = "",
  ignore.case = FALSE,
  perl = FALSE,
  fixed = FALSE,
  useBytes = FALSE
)

Arguments

pattern, ignore.case, perl, fixed, useBytes

see 'grep'

Value

An array that contains the names of filters. If no filter was found, character(0) would be returned.

Details

This function returns a list of named filters that exist in current R environment that match the pattern (see 'grep'). If called without any arguments all named filters are returned.

Examples


emr_db.init_examples()
#> NULL
emr_filter.create("f1", "dense_track", time.shift = c(2, 4))
emr_filter.create("f2", "dense_track", keepref = TRUE)
emr_filter.ls()
#> [1] "f1"                       "f2"                      
#> [3] "f_dense_track.krF.ts_2_4"
emr_filter.ls("*2")
#> [1] "f2"                       "f_dense_track.krF.ts_2_4"