Get file id from sets.

Share:

Description

Get the file id from file-sets given the type of relation between sets. File-set is defined by the case or filecategory.

Usage

1
getFileIdSets(set = c("case", "filecategory"), relation = c("union", "intersect"))

Arguments

set

type of set, either "case" or "filecategory".

relation

relation between sets. either "union" or "interset".

Details

File-set is deined by case or file category. files belonging to a case/filecategory are in a set. This function get file id from the selected sets. When multiple sets are selected, the relation between them can be define. When relation is union, file ids from either selected set are returned. When reltion is intersect, only file ids appear in all the selected sets are returned.

Value

A numeric vector or NULL if no file id is well-defined.

Author(s)

HUANG Ronggui

See Also

retrieval, getFileIds