Skip to contents

Summarize a data frame using one of three methods.

Usage

summarize_data(
  data,
  method = c("skimr", "skimr_lite", "column_types", "summary")
)

Arguments

data

A data frame

method

A character vector specifying the method to use for summarizing the data. Must be one of "skimr", "skimr_lite", "column_types", or "summary". Default is "skimr".

Value

Summarized data according to specified method