View source: R/Standardization.R
check_key | R Documentation |
Check Key
check_key(x, key)
x |
the data frame to be checked |
key |
list of one or more column names that are suspected to be the key |
This function is uesed to check if a provided set of columns act as unique identifiers. This is often particularly valuable before merging two sets of tables, though it has a variety of other uses.
True if the columns are unique identifiers, false with warning otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.