Learn R Programming

RQDA (version 0.1-8)

Query: Retrieval of file names according to their codings.

Description

To retrieve file names according to their codings and the relationship of codings.

Usage

Query(or, and = NULL, not = NULL)

Arguments

or
code id.
and
code id.
not
code id.

Value

  • A vector.

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.

Examples

Run this code
Query(or=(1,2)) ## files coded to code 1 or 2.

Query(or=(1), and=(2)) ## files coded to code 1 and 2.

Query(or=(1), not=(2,3)) ## files coded to code 1 but not either 2 or 2.

Run the code above in your browser using DataLab