Learn R Programming

xpose (version 0.4.19)

xp_var: Access xpdb index information for a given variable or variable type

Description

Access xpdb index information for a given variable or variable type

Usage

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

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)

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.