Get cases coded by specific codes, by specifying the code IDs.

Description

Get cases coded by specific codes, by specifying the code IDs.

Usage

1
2
3
4
5

Arguments

cid

an integer vector of code IDs.

Details

casesCodedByAnd returns case IDs which are coded by all codes from cid.

casesCodedByOr returns case IDs which are coded by any code from cid.

casesCodedByNot returns case IDs which are not coded by any code from cid.

Value

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

Author(s)

Ronggui HUANG

See Also

getCaseNames

Examples

1
2
3
4
5
6
7
8
## 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

## End(Not run)