Access xpdb index information for a given variable or variable type

xp_var(xpdb, .problem, col = NULL, type = NULL, silent = FALSE)

Arguments

xpdb

An xpose database object.

.problem

The $problem number to be used.

col

The column name to be searched in the index. Alternative to arg `type`.

type

The type of column to searched in the index. Alternative to `col`.

silent

Should the function be silent or return errors.

Value

A subset of the xpdb index as tibble with columns: col (column name), type (column type in the index), label (label associated with the column) and units (units associated with the column)