QueryFile: Retrieval of file names according to their codings.
Description
To retrieve file names according to their codings and the relationship of codings.
Usage
QueryFile(or, and = NULL, not = NULL, names = TRUE)
Arguments
or
code id.
and
code id.
not
code id.
names
logical, returns file names when TRUE.
Value
A vector of file names, with the side effect of updating files widget
with these file names.
Details
This function is experimental, and may be changed in future.
For arguments of 'or', 'and' and 'not', all of them have the same form of input. Examples are 'fid1 or fid2 or fid3' or "fid1, fid2, fid3", where fid1,fid2 and fid3 are file IDs.
QueryFile(or="1,2") ## files coded to code 1 or 2.QueryFile(or="1", and="2") ## files coded to code 1 and 2.QueryFile(or="1", not="2,3") ## files coded to code 1 but not either 2 or 2.