key_colnames | R Documentation |
This is entirely based on metadata and arguments passed; there are no explicit checks that the key actually is unique in any associated data structures.
key_colnames(x, ..., exclude = character())
## S3 method for class 'data.frame'
key_colnames(x, ..., geo_keys, other_keys, time_keys, exclude = character())
## S3 method for class 'epi_df'
key_colnames(
x,
...,
geo_keys = "geo_value",
other_keys = attr(x, "metadata")$other_keys,
time_keys = "time_value",
exclude = character()
)
## S3 method for class 'tbl_ts'
key_colnames(x, ..., exclude = character())
## S3 method for class 'epi_archive'
key_colnames(x, ..., exclude = character())
x |
an object, often a data frame or something similar. |
... |
additional arguments passed on to methods |
exclude |
an optional character vector of key column names to exclude from the result |
geo_keys , other_keys , time_keys |
character vectors, sometimes optional;
which variables (if any) should be considered as part of a unique
key/identifier for data in Mandatory if |
character vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.