View source: R/flat_table_join.R
get_pk_attribute_names | R Documentation |
Obtain the names of the attributes that form the primary key of a flat table, if defined.
get_pk_attribute_names(ft, as_definition)
## S3 method for class 'flat_table'
get_pk_attribute_names(ft, as_definition = FALSE)
ft |
A |
as_definition |
A boolean, as the definition of the vector in R. |
A vector of strings or a tibble
, attribute names.
flat_table
Other flat table join functions:
check_lookup_table()
,
join_lookup_table()
,
lookup_table()
ft <- flat_table('iris', iris) |>
lookup_table(
measures = c("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width"),
measure_agg = c('MAX', 'MIN', 'SUM', 'MEAN')
)
names <- ft |>
get_pk_attribute_names()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.