- x
A named list of vectors to use as input for NASIS Choice List lookup
- colnames
vector of values of the column specified by what. E.g. colnames="texcl" for what="ColumnPhysicalName". Default: names(x) (if x is named)
- what
passed to get_NASIS_column_metadata(); Column to match x against. Default "ColumnPhysicalName"; alternate options include "DomainID", "DomainName", "DomainRanked", "DisplayLabel", "ChoiceSequence", "ChoiceValue", "ChoiceName", "ChoiceLabel", "ChoiceObsolete", "ChoiceDescription", "ColumnLogicalName"
- choice
one of: "ChoiceName", "ChoiceValue", or "ChoiceLabel"
- obsolete
Include "obsolete" choices? Default: FALSE
- factor
Convert result to factor? Default: TRUE
- droplevels
Drop unused factor levels? Default: TRUE (used only when factor=TRUE)
- ordered
Should the result be an ordered factor? Default: TRUE (use only if DomainRanked is true for all choices)
- simplify
Should list result with length 1 be reduced to a single vector? Default: TRUE
- dsn
Optional: path or DBIConnection to local database containing NASIS table structure; default: NULL