Learn R Programming

skimr (version 1.0)

show_skimmers: Working with summary functions currently used, by data type

Description

show_skimmers accesses the names of the summary functions for a class, and get_skimmers pulls lists of summary functions for a class.

Usage

show_skimmers(which = NULL)

get_skimmers(which = NULL)

Arguments

which

A character vector. One or more of the classes whose summary functions you wish to display.

Value

A list. The names of the list match the classes that have assigned summary functions. When showing the skimmers, each entry in the list is a character vector of function names. When getting the skimmers, each entry in the list is itself a list of named functions.

Details

All summary functions are stored within a single nested list. The top level list is named by class, where the inner lists are pairs of function name (for the skim output) and the functions themselves.

Examples

Run this code
# NOT RUN {
# What are the names of the numeric skimmers?
show_skimmers("numeric")

# I want to create a set of skimmers for the hms class, using the date
# skimmers currently available.
funs <- get_skimmers()
skim_with(hms = funs$date)
# }

Run the code above in your browser using DataLab