Description Usage Arguments Value Examples
SyDBgetIDforKey
documentation in progress ...
1 | SyDBgetIDforKey(val, att, tbl, db, all = FALSE)
|
val |
(character) IDs matching value(s) "val" ... |
att |
(character) ... in any attribute column "att" ... |
tbl |
(character) ... of the table "tbl" ... |
db |
(character) in database "db". |
all |
(logical) if TRUE, then NA will be added to the returned vector, one for each element in "val" that was not found in "att". If FALSE (default), only matching IDs will be returned, i.e. the length of the input is not preserved. |
(character) a vector of QQIDs, or NA where none were found
1 2 3 4 5 | ## Not run:
# get the IDs for the systems with code "PHALY" and "nosuch". Element 2 is NA.
SyDBgetIDforKey(c("PHALY", "nosuch"), "code","system", mySDB, all = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.