tsibble (version 0.6.2)

key: Return key variables

Description

key() returns a list of symbols; key_vars() gives a character vector.

Usage

key(x)

key_vars(x)

Arguments

x

A data frame.

Examples

Run this code
# NOT RUN {
key(pedestrian)
key_vars(pedestrian)

key(tourism)
key_vars(tourism)
# }

Run the code above in your browser using DataLab