powered by
Get cases coded by specific codes, by specifying the code IDs.
casesCodedByAnd(cid)casesCodedByOr(cid)casesCodedByNot(cid)
casesCodedByOr(cid)
casesCodedByNot(cid)
an integer vector of code IDs.
a vector of file IDs, with class of "RQDA.vector" and "caseId".
casesCodedByAnd returns case IDs which are coded by all codes from cid.
casesCodedByAnd
casesCodedByOr returns case IDs which are coded by any code from cid.
casesCodedByOr
casesCodedByNot returns case IDs which are not coded by any code from cid.
casesCodedByNot
getCaseNames
# 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