GetFileId {RQDA}R Documentation

Get the id of files list

Description

Get the id of files list.

Usage

GetFileId(condition = c("unconditional", "case", "filecategory"), type = c("all", "coded", "uncoded"))

Arguments

condition Any one of "unconditional", "case" or "filecategory".
type Any one of "all", "coded" or "uncoded".

Details

The imported files are stored in a data base table (called source) in the *.rqda file. Every file in the source table has a unique id. Besides, a: every file can be assigned to a case or file category. b: they may be either coded or uncoded. GetFileId return the id of files which fit the combined criterion of a and b. The argument "condition" describe the criterion of a, and "type" describes that of b. When "condition" is "case" or "filecategory", GetFileId returns the id of files associated with the selected case or file category, which means you have to select a case or file category; otherwise the result is NULL.

Value

Normally, it is a numeric vector of file id. If condition is "case" or "filecategory" but no case or file category is selected, it retuns NULL.

Author(s)

HUANG Ronggui

Examples

## Not run: 
GetFileId() ## Id of all files
GetFileId("unconditional","coded") ## id of all coded files.
GetFileId("case","uncoded") ## id of uncoded files for the selected case.
GetFileId("filecategory","all") ## id of all files in the selected file category.
## End(Not run)

[Package RQDA version 0.1-6 Index]