Skip to contents

Return the flat metadata tibble attached to a survey column by the step_set_*() family (see set_var_metadata() for the schema). When the column carries no metadata, a single all-NA row with the full schema is returned, so the result always has the same columns.

Usage

get_var_metadata(x)

Arguments

x

A vector (a survey column).

Value

A one-row tibble of the column's metadata (type, alias, alias_name, description, ...).