Learn R Programming

dplyr (version 1.0.10)

explain: Explain details of a tbl

Description

This is a generic function which gives more details about an object than print(), and is more focused on human readable output than str().

Usage

explain(x, ...)

show_query(x, ...)

Value

The first argument, invisibly.

Arguments

x

An object to explain

...

Other parameters possibly used by generic

Databases

Explaining a tbl_sql will run the SQL EXPLAIN command which will describe the query plan. This requires a little bit of knowledge about how EXPLAIN works for your database, but is very useful for diagnosing performance problems.