Learn R Programming

RQDA (version 0.3-0)

filesCodedBy: Get files coded by specific codes, by specifying the code IDs.

Description

Files coded by a specific set of codes.

Usage

filesCodedByAnd(cid,codingTable=c("coding","coding2"))

filesCodedByOr(cid,codingTable=c("coding","coding2"))

filesCodedByNot(cid,codingTable=c("coding","coding2"))

Arguments

cid

an integer vector of code IDs.

codingTable

name of coding table.

Value

a vector of file IDs, with class of "RQDA.vector" and "fileId".

Details

filesCodedByAnd returns file IDs which are coded by all codes from cid.

filesCodedByOr returns file IDs which are coded by any code from cid.

filesCodedByNot returns file IDs which are not coded by any code from cid.

See Also

getFileNames

Examples

Run this code
# NOT RUN {
filesCodedByAnd(1:2) ## coded by code 1 and 2

filesCodedByOr(1:2) ## coded by code 1 or 2

filesCodedByNot(1:2) ## coded by codes other than 1 and 2
# }

Run the code above in your browser using DataLab