R/tsibble-meta.R
key.Rd
key() returns a list of symbols; key_vars() gives a character vector.
key()
key_vars()
key(x) key_vars(x)
A tsibble.
key(pedestrian) #> [[1]] #> Sensor #> key_vars(pedestrian) #> [1] "Sensor" key(tourism) #> [[1]] #> Region #> #> [[2]] #> State #> #> [[3]] #> Purpose #> key_vars(tourism) #> [1] "Region" "State" "Purpose"