glimpse.dm: Get a glimpse of your 'dm' object

View source: R/dm.R

glimpse.dmR Documentation

Get a glimpse of your dm object

Description

glimpse() provides an overview (dimensions, column data types, primary keys, etc.) of all tables included in the dm object. It will additionally print details about outgoing foreign keys for the child table.

glimpse() is provided by the pillar package, and re-exported by dm. See pillar::glimpse() for more details.

Usage

## S3 method for class 'dm'
glimpse(x, width = NULL, ...)

## S3 method for class 'dm_zoomed'
glimpse(x, width = NULL, ...)

Arguments

x

A dm object.

width

Controls the maximum number of columns on a line used in printing. If NULL, getOption("width") will be consulted.

...

Passed to pillar::glimpse().

Examples


dm_nycflights13() %>% glimpse()

dm_nycflights13() %>%
  dm_zoom_to(flights) %>%
  glimpse()


dm documentation built on Nov. 2, 2023, 6:07 p.m.