GetCaseId {RQDA} | R Documentation |
GetCaseId
returns the case IDs which a file belongs to given
the file IDs. GetCaseName
returns the case Names given the case
IDs.
GetCaseId(fid = GetFileId(), nFiles = FALSE) GetCaseName(caseId = GetCaseId(nFiles = FALSE))
fid |
numeric vector, the file IDs. |
nFiles |
logical, return the number of files that belong to a case. |
caseId |
numeric vector, the case IDs. |
GetCaseId
returns a data frame of two columns when nFiles is
TRUE, and a numeric vector when FALSE.
GetCaseName
returns a character vector or NULL if no cases are
associated with the file IDs.
HUANG Ronggui
See Also GetFileId
## Not run: GetCaseName(GetCaseId(GetFileId("filecategory"))) ## End(Not run)