Skip to contents

Generate a concise summary of a column showing relevant information for classification and understanding, safely escaping any special braces in values.

Usage

column_card(x, name = NULL, max_unique = 10, max_sample = 5)

Arguments

x

A vector (a column from a data frame)

name

The name of the column (optional)

max_unique

Integer indicating maximum number of unique values to display

max_sample

Integer indicating maximum number of sample values to show when there are too many unique values

Value

Prints a formatted card to the console (invisibly returns NULL)