GetCaseId {RQDA}R Documentation

Get the Case ID and Case Name.

Description

GetCaseId returns the case IDs which a file belongs to given the file IDs. GetCaseName returns the case Names given the case IDs.

Usage

GetCaseId(fid = GetFileId(), nFiles = FALSE)

GetCaseName(caseId = GetCaseId(nFiles = FALSE))

Arguments

fid numeric vector, the file IDs.
nFiles logical, return the number of files that belong to a case.
caseId numeric vector, the case IDs.

Value

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.

Author(s)

HUANG Ronggui

See Also

See Also GetFileId

Examples

## Not run: 
GetCaseName(GetCaseId(GetFileId("filecategory")))
## End(Not run)

[Package RQDA version 0.1-8 Index]