Learn R Programming

Tplyr (version 1.2.1)

get_metadata: Get the metadata dataframe from a tplyr_table

Description

Pull out the metadata dataframe from a tplyr_table to work with it directly

Usage

get_metadata(t)

Value

Tplyr metadata dataframe

Arguments

t

A Tplyr table with metadata built

Examples

Run this code
t <- tplyr_table(mtcars, gear) %>%
  add_layer(
    group_desc(wt)
  )

t %>%
  build(metadata=TRUE)

get_metadata(t)

Run the code above in your browser using DataLab